nagios check time exclusions

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
happy
Posts: 20
Joined: Wed Nov 28, 2012 4:37 pm

nagios check time exclusions

Post by happy »

Hi

I have a Windows host that runs some tasks every day between say 3:00AM and 4:00AM causing high CPU usage. I get alerts for it every night. I have tweaked a bit to avoid getting these specific alerts. However, I am now wondering if there is a way to do time exclusions for services. So say, I can define that no alerts should be sent out for this particular service checks if it occurs between 3:00AM and 4:00AM?

Thanks :)
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: nagios check time exclusions

Post by jsmurphy »

You can configure time-periods (http://nagios.sourceforge.net/docs/3_0/timeperiods.html) for the service or for the contact that will prevent it checking or notifying. There used to be a plugin for Core to do recurring scheduled downtime as well... but I haven't seen that in a while.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: nagios check time exclusions

Post by abrist »

There are quite a number of plugins on the exchange for recurring/scheduled downtime.

http://exchange.nagios.org/directory/Ad ... d-Downtime
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
happy
Posts: 20
Joined: Wed Nov 28, 2012 4:37 pm

Re: nagios check time exclusions

Post by happy »

Great! Thanks .... I will play with it.
Locked