On AIX systems the check_load plugin v2.2.1 fails with the error:
# /opt/freeware/lib/nagios/plugins/check_load -V
check_load v2.2.1 (nagios-plugins 2.2.1)
# /opt/freeware/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
Could not parse load from uptime:
Whereas v2.1.1 of the plugin works without a problem.
# /tmp/check_load -V
check_load v2.1.1 (nagios-plugins 2.1.1)
# /tmp/check_load -w 15,10,5 -c 30,25,20
OK - load average: 0.65, 0.99, 0.98|load1=0.650;15.000;30.000;0; load5=0.990;10.000;25.000;0; load15=0.980;5.000;20.000;0;
Is anyone aware of any issues or workarounds for this ?
Thanks
check_load fails with could not parse load from uptime
Re: check_load fails with could not parse load from uptime
Problem solved. This version (from the nagios-plugins rpm provided by AIX toolbox for linux) was looking for uptime in /opt/freeware/bin/uptime and not the native OS uptime. Installing coreutils and therefore /opt/freeware/bin/uptime fixed it.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: check_load fails with could not parse load from uptime
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!