check_nrpe with check_cpu_stats always returns OK on Linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: check_nrpe with check_cpu_stats always returns OK on Lin

Post 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]
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: check_nrpe with check_cpu_stats always returns OK on Lin

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked