Page 2 of 2

Re: check_nrpe with check_cpu_stats always returns OK on Lin

Posted: Tue Jul 19, 2016 8:44 am
by eloyd
Is there a reason why check_load won't do what you want?

Code: Select all

# ./check_load -h
check_load v1991 (nagios-plugins 1.4.13)
Copyright (c) 1999 Felipe Gustavo de Almeida <[email protected]>
Copyright (c) 1999-2007 Nagios Plugin Development Team
        <[email protected]>

This plugin tests the current system load average.

Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15

Options:
 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
 -w, --warning=WLOAD1,WLOAD5,WLOAD15
    Exit with WARNING status if load average exceeds WLOADn
 -c, --critical=CLOAD1,CLOAD5,CLOAD15
    Exit with CRITICAL status if load average exceed CLOADn
    the load average format is the same used by "uptime" and "w"
 -r, --percpu
    Divide the load averages by the number of CPUs (when possible)

Send email to [email protected] if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to [email protected]

Re: check_nrpe with check_cpu_stats always returns OK on Lin

Posted: Tue Jul 19, 2016 12:42 pm
by tgriep
Thanks for the suggestion eloyd.

srikgali, that plugin should be installed on your system so there isn't anything else that needs to be installed. Take a look at it and see if this plugin would work for you.