<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: [Nagios-users] passive checks</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText69308 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>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.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature70853 dir=ltr><PRE>Joseph A. Petrucci
E Systems DBA
------------------------------------------------
Desk: 412-220-2646
Cell: 412-916-2867
Text message (e-mail) 4129162867@mobile.att.net
e-mail joseph.petrucci@ddiworld.com
Personal Cell: 724-462-0443
Personal e-mail: japetrucci@hotmail.com</PRE></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-admin@lists.sourceforge.net
on behalf of Miguel Matos<BR><B>Sent:</B> Fri 7/1/2005 10:06 AM<BR><B>To:</B>
Mariano Cunietti; nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE:
[Nagios-users] passive checks<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi Mariano,<BR><BR>I have the same problem with passive checks.
I think there's a bug with<BR>the functions that process passive checks because
I have nagios 1.2<BR>installed on some machines and sometimes nagios doesn't
process the<BR>alarms that are sent to
him.<BR><BR>Regards,<BR>Miguel<BR><BR>-----Original Message-----<BR>From:
nagios-users-admin@lists.sourceforge.net<BR>[<A
href="mailto:nagios-users-admin@lists.sourceforge.net">mailto:nagios-users-admin@lists.sourceforge.net</A>]
On Behalf Of Mariano<BR>Cunietti<BR>Sent: sexta-feira, 1 de Julho de 2005
14:22<BR>To: nagios-users@lists.sourceforge.net<BR>Subject: [Nagios-users]
passive checks<BR><BR>Hi list,<BR>I'm trying to configure a passive check on
Nagios for an ATM router with<BR>MPLS VPN VRFs ( to be monitored.<BR><BR>I
configured a service like this:<BR><BR>define
service{<BR>
host_name
atm1-mi<BR>
service_description
MPLS-VRF<BR>
is_volatile
1<BR>
active_checks_enabled
0<BR>
passive_checks_enabled
1<BR>
max_check_attempts
1<BR>
normal_check_interval
5<BR>
retry_check_interval
2<BR>
contact_groups
admins-SMS<BR>
notification_interval
60<BR>
notification_period
24x7<BR>
notification_options
w,u,c,r<BR>
check_command
check_none<BR> }<BR><BR>I configured
snmptrapd to handle Cisco traps and pass them to a perl<BR>script, which calls
submit_check_result:<BR><BR>/usr/lib/nagios/plugins/eventhandlers/submit_check_result
atm1-mi<BR>MPLS-VRF $retval $vrf_name<BR><BR>Here's what is logged in
/var/log/nagios/rw/nagios.cmd when VRF goes<BR>down:<BR><BR>[1120147489]
PROCESS_SERVICE_CHECK_RESULT;atm1-mi;MPLS-VRF;2;my_vrf_name<BR><BR>Yet, nothing
is done by Nagios. On the web panle, at Service Detail, i<BR>get:<BR><BR>Host
atm1-mi<BR>MPLS-VRF (P) Pending N/A 0d
21h 8m 1s+ 0/1 Service check<BR>scheduled for<BR>Fri Jul 1 15:13:16
2005<BR><BR>It seems that Nagios is not processing passive checks
correctly.<BR>Any hint? I'm stuck
:-(<BR>Thanks<BR><BR>--<BR>-------------------------<BR>Mariano
Cunietti<BR>System Administrator<BR>Enter S.r.l.<BR>Via Stefanardo da
Vimercate, 28<BR>20128 - Milano - Italy<BR>Tel. +39 02
25514319<BR>Fax +39 02
25514303<BR>mcunietti@enter.it<BR>www.enter.it -
www.enterpoint.it<BR>---------------------------<BR>Gruppo Y2K -
www.gruppoy2k.it<BR><BR><BR><BR>-------------------------------------------------------<BR>SF.Net
email is sponsored by: Discover Easy Linux Migration Strategies<BR>from IBM.
Find simple to follow Roadmaps, straightforward articles,<BR>informative
Webcasts and more! Get everything you need to get up to<BR>speed, fast. <A
href="http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click">http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click</A><BR>_______________________________________________<BR>Nagios-users
mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>:::
Please include Nagios version, plugin version (-v) and OS when<BR>reporting any
issue.<BR>::: Messages without supporting info will risk being sent to
/dev/null<BR><BR><BR>-------------------------------------------------------<BR>SF.Net
email is sponsored by: Discover Easy Linux Migration Strategies<BR>from IBM.
Find simple to follow Roadmaps, straightforward articles,<BR>informative
Webcasts and more! Get everything you need to get up to<BR>speed, fast. <A
href="http://ads.osdn.com/?ad_idt77&alloc_id">http://ads.osdn.com/?ad_idt77&alloc_id</A>492&op=ick<BR>_______________________________________________<BR>Nagios-users
mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>:::
Please include Nagios version, plugin version (-v) and OS when reporting any
issue.<BR>::: Messages without supporting info will risk being sent to
/dev/null<BR><BR></FONT></P></DIV>
</BODY>
</HTML>