Passive checks, freshness and notification.
Jim Mozley
jim.mozley at exponential-e.com
Wed Oct 1 16:42:41 CEST 2003
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
More information about the Users
mailing list