service notifications
Fred Reinthaler
kex604 at gmail.com
Tue Jun 7 22:31:10 CEST 2005
Yes I was talking about notifications only.
So can Nagios be expected to read information from the state
retetntion file at some point even though the state retention option
is enabled? I was able to force it by stopping Nagios and deleting
the state file but I'm guessing that's probably not a good thing to
do. It just seems like alot of work to have to do this through the
web interfaces if let's say you have hundreds of hosts.
I'm still not sure I fully understand how useful state retention
really is within Nagios.
thanks,
fred
p.s. I am reading the PDF for documentation but I think it differs
from the html docs because I couldn't find the same retention notes in
it.
On 6/7/05, Marc Powell <marc at ena.com> wrote:
>
> I am presuming that when you say they are 'disabled' that you do not
> mean that active_checks_enabled is set to 0 and are truly talking about
> notifications only. If you have retention enabled --
>
> http://nagios.sourceforge.net/docs/1_0/xodtemplate.html
>
> "Retention Notes
>
> It is important to point out that several directives in host and service
> definitions may not be picked up by Nagios when you change them. Host
> and service directives that can exhibit this behavior are marked with an
> asterisk (*). The reason for this behavior is due to the fact that
> Nagios chooses to honor values stored in the state retention file over
> values found in the config files, assuming you have state retention
> enabled on a program-wide basis.
>
> One way to get around this problem is to disable the retention of
> non-status information using the retain_nonstatus_information directive
> in the host and service definitions. Disabling this directive will cause
> Nagios to take the initial values for these directives from your config
> files, rather than from the state retention file when it (re)starts.
> Using this option is not recommended, as it may result in some
> unexpected (from your point of view) results.
>
> Alternatively, you can issue the appropriate external command or change
> the value of the host or service directive via the web interface, so
> that it matches what you've changed it to in the config files. This is
> usually done by using the extended information CGI. This option takes a
> bit more work, but is preferable to disabling the retention of
> non-status information (mentioned above)."
>
> http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service
>
> "notifications_enabled *: This directive is used to determine
> whether or not notifications for this service are enabled. Values: 0 =
> disable service notifications, 1 = enable service notifications."
>
> --
> Marc
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
> _______________________________________________
> 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: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
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