Nagios ignoring notification interval with passive checks

Andreas Wassatsch andreas at wassatsch.de
Mon Jun 13 15:32:41 CEST 2005


Hello list,

I've setup a passive check which submits its return value every minute
to Nagios.

The Problem is: When the passive_check submits a critical or warning
result to Nagios every minute, Nagios is ignoring the
notification_interval and sends out a notification every minute.

Is there a way to get Nagios honoring notification_interval with
passive_checks ?

Regards,
Andreas


Nagios: 2.0b3

define service {
        use                             active-service
        name                            passive-service
        is_volatile                     1
        passive_checks_enabled          1
        max_check_attempts              1
        normal_check_interval           1
        retry_check_interval            1
        notification_interval           120     ; 2h
        active_checks_enabled           0
        check_command                   none
        check_period                    none
        check_freshness         1
        register                        0
}

define service {
        use                     passive-service
        name                    passive-service-frasw-core1
        host_name               frasw-core1
        contact_groups          network-admins
        register                0
}

define service {
        use                     passive-service-frasw-core1
        service_description     if-gig1.13
        contact_groups          network-admins-test
}

# tail -f var/nagios.log
[1118669106] EXTERNAL COMMAND:
PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface
gig1.13 (Link to frasw-dist-giga idx=13) is down
[1118669116] SERVICE ALERT:
frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link
to frasw-dist-giga idx=13) is down
[1118669116] SERVICE NOTIFICATION:
andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL:
Interface gig1.13 (Link to frasw-dist-giga idx=13) is down
[1118669168] EXTERNAL COMMAND:
PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface
gig1.13 (Link to frasw-dist-giga idx=13) is down
[1118669176] SERVICE ALERT:
frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link
to frasw-dist-giga idx=13) is down
[1118669176] SERVICE NOTIFICATION:
andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL:
Interface gig1.13 (Link to frasw-dist-giga idx=13) is down
[1118669226] EXTERNAL COMMAND:
PROCESS_SERVICE_CHECK_RESULT;frasw-core1;if-gig1.13;2;CRITICAL: Interface
gig1.13 (Link to frasw-dist-giga idx=13) is down
[1118669236] SERVICE ALERT:
frasw-core1;if-gig1.13;CRITICAL;HARD;1;CRITICAL: Interface gig1.13 (Link
to frasw-dist-giga idx=13) is down
[1118669236] SERVICE NOTIFICATION:
andreas.wassatsch-test;frasw-core1;if-gig1.13;CRITICAL;notify-by-email;CRITICAL:
Interface gig1.13 (Link to frasw-dist-giga idx=13) is down

-- 
Andreas Wassatsch             Kirchwaldstr. 13
dipl.-ing.                    63533 Mainhausen
                              tel: 06182-828 604
LPIC-2                        mobil: 0177-6510 446
using Linux since 0.99pl10    gpg-id: 0x5AC8EA6C


-------------------------------------------------------
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