AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  nagios check_load plugin fails with could not parse load from uptime

    Posted Mon October 19, 2020 09:31 PM
    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
    ------------------------------


  • 2.  RE: nagios check_load plugin fails with could not parse load from uptime

    Posted Tue October 20, 2020 02:54 AM
    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
    ------------------------------



  • 3.  RE: nagios check_load plugin fails with could not parse load from uptime

    Posted Tue October 20, 2020 03:53 AM
    coreutils wasn't installed and wasn't needed for the old version of the plugin. But you're right, installing coreutils fixed it!
    Thanks

    ------------------------------
    Dennis Mathews
    ------------------------------