switching a service to passive

Will Lowe harpo at thebackrow.net
Tue Nov 4 05:20:05 CET 2003


Nevermind.  I've since solved this problem by setting
retain_nonstatus_information to 0 on the services in question,
restarting nagios, and then setting it back to 1.

Ima go read the docs again, again.

On Mon, Nov 03, 2003 at 06:00:20PM -0800, Will Lowe wrote:
> I've got a bunch of services that until today were set up as active
> checks.  This afternoon I set them to passive (now they're being
> dumped out of a database someplace) but nagios still insists on
> scheduling the active checks.
> 
> I'm fairly sure this is because the check state has been saved via
> state retention ... anybody know an easy fix?  Can I edit the
> status.sav file and mark them as passive?
> 
> Solutions involving "remove the status.sav file and restart" or
> "disabled retention for a while" are bad, because that means all the
> stuff that's been acknowledged or whatever will repage.  With > 600
> machines and 2000 services, that's a lot of bogus pages.
> 
> -- 
> 					thanks,
> 		
> 					Will
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null

-- 
					thanks,
		
					Will


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list