passive checks

Marc Powell marc at ena.com
Fri Jul 1 16:57:17 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Petrucci, Joseph
> Sent: Friday, July 01, 2005 9:43 AM
> To: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] passive checks
> 
> 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.

We do the same thing with a couple of our applications. It's essentially
two checks in one: your HTTP server is working and your database server
is working....

--
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