passive checks
Marc Powell
marc at ena.com
Fri Jul 1 17:07:23 CEST 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Mariano Cunietti
> Sent: Friday, July 01, 2005 8:22 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] passive checks
>
> 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 :-(
Do you have passive checks enabled globally in nagios.cfg?
accept_passive_service_checks=1
--
Marc
-------------------------------------------------------
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_idt77&alloc_id492&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