The script /usr/bin/check_cvmfs_repos installed by the CVMFS monitoring role hxr.monitor-cvmfs takes longer than 2 minutes to run (the Telegraf timeout for this script) due to misbehaving CVMFS servers and serial execution. This results in no measurements being registered.
Jul 25 13:52:00 cvmfs1-ufr0.internal.galaxyproject.eu telegraf[2616631]: 2024-07-25T11:52:00Z E! [inputs.exec] Error in plugin: exec: command timed out for command "/usr/bin/check_cvmfs_repos": /usr/bin/check_cvmfs_repos: line 9: [: : integer expression expected...
Add timeout to curl calls in check_cvmfs_repos script from CVMFS monitoring role hxr.monitor-cvmfs and parallelize all check_repo calls so that the script is guaranteed to exit before it times out.
The script
/usr/bin/check_cvmfs_repos
installed by the CVMFS monitoring rolehxr.monitor-cvmfs
takes longer than 2 minutes to run (the Telegraf timeout for this script) due to misbehaving CVMFS servers and serial execution. This results in no measurements being registered.Add timeout to
curl
calls incheck_cvmfs_repos
script from CVMFS monitoring rolehxr.monitor-cvmfs
and parallelize allcheck_repo
calls so that the script is guaranteed to exit before it times out.