BUG: "notification_interval" from the "serviceescalation"s is ignored/is not parsed
Ethan Galstad
nagios at nagios.org
Tue Sep 11 19:06:16 CEST 2007
Ilya Ruprecht wrote:
> Hi all!
>
>
> <testbed description>
>
> Following situation: Debian 4.0 + Nagios 3.0b1.
>
[snip]
>
> And at last i defined two service-escalations for SSH
>
> (i've set the intervals so short only for testing purposes)
> ########################################################
> define serviceescalation{
> hostgroup_name vpn-server
> service_description SSH
> first_notification 1
> last_notification 5
> notification_interval 3
> contact_groups linux-admins
> }
>
> define serviceescalation{
> hostgroup_name vpn-server
> service_description SSH
> first_notification 5
> last_notification 0
> notification_interval 10
> contact_groups linux-admins
> }
> ########################################################
>
> "interval_length" is set to 60 seconds in nagios.cfg.
> </testbed description>
>
>
> <main>
> "notification_interval" is ignored if i enter a value another then
> "0"(zero). If i enter a zero - or even nothing - then i see in the
> webgui - "Notify Only Once (No Re-notification)" in the "Notification
> Interval"-column for these hosts.
> Even if I enter an clearly nonsense, like "jsdfjfsdakjl" - the value is
> ignored and the "pre-flight-check" dont brings an error.
> </main>
>
>
> Addendum:
>
> I installed Nagios 3.0b2 and tested the serviceescalations with it - with the same result.
>
>
> Ilya.
Thanks for the note Ilya. I found the bug in the config CGI and fixed
it. The bug only affected the display of the interval in the CGIs - not
how it was processed and used by the Nagios daemon. Patch will be in
CVS momentarily.
FYI, just to keep things from getting confused... OP5 is not the
developer of Nagios - they use it in their products, but I'm the main
bug fixer/coder for the daemon/CGIs. Cheers.
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
More information about the Developers
mailing list