change the status of a given service

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

change the status of a given service

Postby elior.s » Wed Jul 27, 2011 7:59 am

Hello,

My question is how i can change the status of a given service ?
I working with Nagios several years, at the past year we start to work without NSCA, so all out monitors are active and not passive.
The problem become after we start work with time periods which is not 24X7, and the services stay critical\Waring when is out of time period.

Regards
elior.s
 
Posts: 1
Joined: Wed Jul 27, 2011 7:31 am

Re: change the status of a given service

Postby agriffin » Tue Aug 02, 2011 3:00 pm

It's not usually a good idea to change the status of a service. Instead, I would recommend scheduling downtime or acknowledging hosts and services that are down. This will tell Nagios not to worry about it and stop sending notifications for a while. If the downtime happens at regular intervals, you can schedule recurring downtime in Nagios XI. You'll need to buy a license to use XI with large installations, but it makes configuration much simpler. Otherwise, you can achieve something similar in Nagios Core using cron jobs & shell scripts. This page of the Nagios Core documentation will be very helpful if you choose to go that route.
agriffin
 
Posts: 876
Joined: Mon May 09, 2011 9:36 am


Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 36 guests