Nagios check_load command depends on uptime command.
Looks like it requires coreutils provided "/opt/freeware/bin/uptime".
Please check whether you have coreutils installed or not.
------------------------------
Ayappan P
------------------------------
Original Message:
Sent: Mon October 19, 2020 09:30 PM
From: Dennis Mathews
Subject: nagios check_load plugin fails with could not parse load from uptime
I understand this is a nagios plugin related issue and not an RPM specific issue, but wondering if anyone else has come across this on AIX6.1 or 7.x ?
The nagios check_load plugin version - 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 same plugin works.
# /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
------------------------------
Dennis Mathews
------------------------------