notifications for a passive Nagios check
wadud.miah at stfc.ac.uk
wadud.miah at stfc.ac.uk
Wed Mar 3 12:58:56 CET 2010
I've found the "fault". It was the max_check_attempts, which I should
have set to unity!
-----Original Message-----
From: wadud.miah at stfc.ac.uk [mailto:wadud.miah at stfc.ac.uk]
Sent: 03 March 2010 10:44
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] notifications for a passive Nagios check
I have a Nagios passive check which doesn't send out any alerts when
it's in a critical status:
define service{
name hpcsg-service
register 0
max_check_attempts 3
normal_check_interval 30
retry_check_interval 1
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7
check_freshness 0
obsess_over_service 0
notification_interval 0
notification_period 24x7
notification_options w,u,c,r
notifications_enabled 1
contact_groups hpcsg
}
define service{
use hpcsg-service
name r89-service
register 0
contact_groups r89
check_freshness 0
active_checks_enabled 0
passive_checks_enabled 1
notifications_enabled 1
}
define service{
use r89-service
host_name r89-trap.esc.rl.ac.uk
service_description hpd-crac-07
check_command none
}
define command{
command_name none
command_line /bin/true
}
The GCI shows that the hpd-crac-07 check has notifications enabled, but
when I "view notifications for this service", it hasn't sent any. We
have similar checks in place that do send notifications, but the key
difference here is that the above check is a purely passive one, i.e. it
only receives check results.
Thanks in advance.
------------
Wadud Miah
Scientific Computing Systems Support, eScience
Rutherford Appleton Laboratory, STFC
------------
--
Scanned by iCritical.
------------------------------------------------------------------------
------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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
--
Scanned by iCritical.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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