Passive checks, freshness and notification.
Alexis Chauvin
Alexis.chauvin at courtsplc.com
Thu Oct 2 10:11:04 CEST 2003
-----Original Message-----
From: Jim Mozley [mailto:jim.mozley at exponential-e.com]
Sent: 01 October 2003 16:50
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Passive checks, freshness and notification.
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
I had check_period as none because I only wanted to use passive checks.
Is
this wrong?
I had "register 0" in the template, is this the same as "register no".
>>> Hoops, sorry, I didn't see
Using 0 seemed to follow the examples, in fact I had
"active_check_enabled 0" rather than using "no" but changed this when I
googled and found an example.
Jim
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
}
>>>>>> try to check in a working period, it might work.
-------------------------------------------------------
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