passive checks
Mariano Cunietti
mcunietti at enter.it
Fri Jul 1 15:22:22 CEST 2005
Hi list,
I'm trying to configure a passive check on Nagios for an ATM router with
MPLS VPN VRFs ( to be monitored.
I configured a service like this:
define service{
host_name atm1-mi
service_description MPLS-VRF
is_volatile 1
active_checks_enabled 0
passive_checks_enabled 1
max_check_attempts 1
normal_check_interval 5
retry_check_interval 2
contact_groups admins-SMS
notification_interval 60
notification_period 24x7
notification_options w,u,c,r
check_command check_none
}
I configured snmptrapd to handle Cisco traps and pass them to a perl
script, which calls submit_check_result:
/usr/lib/nagios/plugins/eventhandlers/submit_check_result atm1-mi
MPLS-VRF $retval $vrf_name
Here's what is logged in /var/log/nagios/rw/nagios.cmd when VRF goes
down:
[1120147489] PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;2;my_vrf_name
Yet, nothing is done by Nagios. On the web panle, at Service Detail, i
get:
Host atm1-mi
MPLS-VRF (P) Pending N/A 0d 21h 8m 1s+ 0/1 Service check scheduled for
Fri Jul 1 15:13:16 2005
It seems that Nagios is not processing passive checks correctly.
Any hint? I'm stuck :-(
Thanks
--
-------------------------
Mariano Cunietti
System Administrator
Enter S.r.l.
Via Stefanardo da Vimercate, 28
20128 - Milano - Italy
Tel. +39 02 25514319
Fax +39 02 25514303
mcunietti at enter.it
www.enter.it - www.enterpoint.it
---------------------------
Gruppo Y2K - www.gruppoy2k.it
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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