Check CPU Average Load

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gilfalko
Posts: 10
Joined: Sat Oct 26, 2013 8:00 am

Check CPU Average Load

Post by gilfalko »

Hey guys,

I'm relatively new to Nagios and I need to check one of my server's CPU Average Load for the past 5 hours.
I wasnt able to find anything helpful in the Nagios Exchange.

Can anyone help out?

Thanks!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Check CPU Average Load

Post by slansing »

Is this a windows or linux server? Sounds like a good job for NRPE!
User avatar
mickem
Posts: 16
Joined: Tue Oct 08, 2013 2:17 am
Location: Stockholm, SWEDEN
Contact:

Re: Check CPU Average Load

Post by mickem »

NSClient++ supports this on Windows in all version and version 0.4.2 (will once it is released) support this on Linux as well.

// Michael Medin
// Michael Medin @mickem, blog.medin.name

Author of NSClient++ - http://nsclient.org
NSClient++ 0.4.2 Documentation: http://docs.nsclient.org
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Check CPU Average Load

Post by tmcdonald »

In addition to what Michael posted, linux will generally report a 1-minute, 5-minute, and 15-minute average when it reports CPU load. And as slansing said, this is a good candidate for NRPE. Basically NRPE (Nagios Remote Plugin Executor) is a daemon that runs on your remote server, allowing you to tell it what you want it to run and then report back.
Former Nagios employee
Locked