Monitoring for low CPU Usage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
NagiosIMCS
Posts: 20
Joined: Mon Mar 19, 2018 2:55 pm

Monitoring for low CPU Usage

Post by NagiosIMCS »

Good morning,

I am looking for a monitor that checks for low CPU usage.

We have a number of servers that should be powered down once they have finished their batch processing sadly this doesn't also work so it means we are getting very high bills with the Cloud providers.

We have a mixture of NSClient++ and NCPA agents running on Windows.

I want to create an alarm which triggers if the CPU has been below 10 for 6 hours.

Any ideas please? If you need more information please let me know.

Many thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring for low CPU Usage

Post by benjaminsmith »

Hi,
We have a number of servers that should be powered down once they have finished their batch processing sadly this doesn't also work so it means we are getting very high bills with the Cloud providers.
I would recommend trying to set up a check on a required process. Would it be possible to monitor the batch process, and if that's not running, then execute an event handler to power down the system. Let us know if that would work.

Introduction to Event Handlers

Another approach would be to monitor the CPU usage, but increase retry interval and max check attempts so it would have to be critical for a period of 6 hours before going HARD non-ok, and then execute the event handler.

NCPA has a built-in module for checking CPU,
https://www.nagios.org/ncpa/help.php#api-modules-cpu
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked