notification_interval check vs. check_period interval check - config.c

Marcel webknowledge at gmail.com
Fri Sep 12 22:56:56 CEST 2008


Oops,

On Fri, Sep 12, 2008 at 5:35 PM, Marcel <webknowledge at gmail.com> wrote:

> Yes,
>
> On Fri, Sep 12, 2008 at 6:13 AM, Hendrik BŠäcker <andurin at process-zero.de>wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi,
>>
>> Marcel schrieb:
>> > I think i've found a bug.
>> >
>> > in config.c:
>> >
>> > At line #1878, temp_service->check_interval is incorrectly assuming
>> > interval_lenght=60, but if one would use an interval_length directive
>> > equals to 1, then the Warnings like: "[1220575781] Warning: Service
>> > 'Current Load' on host 'faeroes'  has a notification interval less than
>> > its check interval!  Notifications are only re-sent after checks are
>> > made, so the effective notification interval will be that of the check
>> > interval." will incorrectly shows up, because the conditional below
>> > assumes interval_lenght = 60.
>> >
>> Do have a configuration example to rebuild your mentioned problem?
>> I am using interval_length=1 and doesn't recognize any of your warning
>> messages cause of mismatching check/notification interval.
>
>
>
> If you have a service that would be checked every 10 seconds, and
> notification interval = 60, then you should get the warning message.
>

I think a bit and that would not be the case, but instead, not 10 seconds,
but like 300 (or five minutes if interval_length=1). Then the warning is
issued.

>
>
> And yes, it is against 3.0.3 cvs code.
>
> Cheers
> Marcel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080912/7948182f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list