disabled service checks don't stay disabled

Tedman Eng teng at dataway.com
Thu Aug 28 08:48:06 CEST 2003


Make sure you've got state retention turned on:
http://nagios.sourceforge.net/docs/1_0/configmain.html#retain_state_information
http://nagios.sourceforge.net/docs/1_0/configmain.html#use_retained_program_state

You will have to put into your definitions the following as well:
retain_status_information        1
retain_nonstatus_information        1
http://nagios.sourceforge.net/docs/1_0/xodtemplate.html

Everything (except flapping status) should thereafter be retained between
restarts.


"Skip Montanaro" <skip at pobox.com> wrote in message
news:16203.47676.611477.286768 at montanaro.dyndns.org...
>
> I must be missing something fundamental.  If I disable a single service
> check, then reload or restart nagios I find it's enabled again.  What's
the
> purpose of disabling checks if they don't stay disabled?  In a large
> environment there is always going to be some churn (new machines arrive,
old
> machines die, new services are started) which will require frequent
reloads
> or restarts.  Is there some way to make them really disabled until they
are
> explicitly reenabled?
>
> I'm running 1.1 on Solaris, in case that makes any difference.
>
> Thanks,
>
> -- 
> Skip Montanaro
> Got gigs? http://www.musi-cal.com/
> Got spam? http://spambayes.sf.net/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> at the same time. Free trial click
here:http://www.vmware.com/wl/offer/358/0
> _______________________________________________
> 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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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