switching a service to passive
Anurag Gupta
agupta at yahoo-inc.com
Tue Nov 4 03:19:03 CET 2003
You may have already tried this. Still,
1)
Check if you have multiple nagios procs running.
2)
Try putting the following *explicitly* in the config file in the "define
service" directives:
define service {
...
active_checks_enabled 0
passive_checks_enabeld 1
...
}
Your settings are being overridden in a derived config directive somewhere.
thanks
-anurag
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Will Lowe
Sent: Monday, November 03, 2003 6:00 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] switching a service to passive
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
-------------------------------------------------------
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