passive checks
Petrucci, Joseph
Joseph.Petrucci at ddiworld.com
Fri Jul 1 16:42:59 CEST 2005
I have written a lot of my own SQL2000 plugins but this one stumps me. Can someone review this and let me know if I am way off base on this. I want to check ODBC connectivity from my application server to my database server. I have ActivePerl on the application server so I want to write an ASP page that connects to the database through ODBC and returns the name of the database that it is connected to. Then use check_http to call that page and look for the database name in the page. Does this sound feasible I usually try not to put special code on the monitored host, but to check if the host can connect to a service on another host I cannot see any other way.
Joseph A. Petrucci
E Systems DBA
------------------------------------------------
Desk: 412-220-2646
Cell: 412-916-2867
Text message (e-mail) 4129162867 at mobile.att.net
e-mail joseph.petrucci at ddiworld.com
Personal Cell: 724-462-0443
Personal e-mail: japetrucci at hotmail.com
________________________________
From: nagios-users-admin at lists.sourceforge.net on behalf of Miguel Matos
Sent: Fri 7/1/2005 10:06 AM
To: Mariano Cunietti; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] passive checks
Hi Mariano,
I have the same problem with passive checks. I think there's a bug with
the functions that process passive checks because I have nagios 1.2
installed on some machines and sometimes nagios doesn't process the
alarms that are sent to him.
Regards,
Miguel
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mariano
Cunietti
Sent: sexta-feira, 1 de Julho de 2005 14:22
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 :-(
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
-------------------------------------------------------
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=ick
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050701/97aab0dd/attachment.html>
More information about the Users
mailing list