Passive checks, freshness and notification.

Alexis Chauvin Alexis.chauvin at courtsplc.com
Wed Oct 1 17:44:00 CEST 2003


Hey,

It seems like you never check this service,
Cause check_period is set to "none".
Plus, you should add this line to my-service :
Register no, because it's a template.

Alexis

-----Original Message-----
From: Jim Mozley [mailto:jim.mozley at exponential-e.com] 
Sent: 01 October 2003 15:43
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Passive checks, freshness and notification.

Hi all,

I have a problem getting passive check notification working after I had
set
it up for the first time. I could see the SERVICE ALERT in nagios.log
from
the passive check but no SERVICE NOTIFICATIONS. The only way I could get
it
working was to enable check_freshness. Then the notifications started.
So my
configuration looked as below:

define service{
        name                            my-service
        active_checks_enabled           no
        passive_checks_enabled          1
        parallelize_check               1
        obsess_over_service             1
        check_freshness                 1
        freshness_threshold             86400
        notifications_enabled           1
        event_handler_enabled           1
        flap_detection_enabled          1
        process_perf_data               1
        retain_status_information       1
        retain_nonstatus_information    1
        register                        0
        is_volatile                     0
        check_period                    none
        max_check_attempts              1
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  some-group
        notification_interval           120
        notification_period             24x7
        notification_options            w,c,r
        }

define service{
        use             my-service         ; template
        host_name       myhost
        service_description             interface1
        check_command   check_ifoperstatus!35
        }

Today just over 24 hours after I got it working (note the
freshness_threshold) it has stopped working. If I turn check_freshness
off
it now works, when it originally wouldn't work with check_freshness off.

So, I need to understand what I am doing wrong in configuring passive
checks. Any ideas what's wrong with the configuration?

Thanks,

Jim



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


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