<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=962125418-10052005><FONT face=Arial color=#0000ff size=2>You
can use the check_http for that</FONT></SPAN></DIV>
<DIV><SPAN class=962125418-10052005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962125418-10052005><FONT face=Arial color=#0000ff
size=2>check_http -H hostname -p <port_number> -u <relative_url> -s
<return_string></FONT></SPAN></DIV>
<DIV><SPAN class=962125418-10052005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=962125418-10052005><FONT face=Arial color=#0000ff
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=962125418-10052005><FONT face=Arial color=#0000ff
size=2>Amitabh</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
nagiosplug-help-admin@lists.sourceforge.net
[mailto:nagiosplug-help-admin@lists.sourceforge.net]<B>On Behalf Of
</B>Sxan<BR><B>Sent:</B> Monday, May 09, 2005 5:46 PM<BR><B>To:</B>
nagiosplug-help@lists.sourceforge.net<BR><B>Subject:</B> [Nagiosplug-help]
Help with custom plug-in writing<BR><BR></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Hey all, </DIV>
<DIV> </DIV>
<DIV>I'm a fairly new Nagios user, I just finished setting it up and getting
everything working </DIV>
<DIV>properly (or at least it appears to be), and I now need to move on to
writing some custom </DIV>
<DIV>plug ins to monitor custom built applications. Right now I'm just trying
to get some direction</DIV>
<DIV>to maybe a site that could explain in detail about writing custom
plug-ins, or maybe even </DIV>
<DIV>modifying the existing plug-ins somehow to be used with a different app.
For example, I have a </DIV>
<DIV>server that runs an app which listens on port 8888 that a client can
connect to to receive the data. I'd like for Nagios to be able to connect to
the server on that port, issue one command, and then just take the first line
of data or so to verify that the service is functional and punctual (time
sensitive information), then to end the connection, it just needs to do a
ctrl-] sequence. </DIV>
<DIV> </DIV>
<DIV>I'm not looking for anyone to do the work for me, but any direction is
much appreciated. I'm not </DIV>
<DIV>a programmer by any means, so please keep that in mind :) Thanks in
advance for any kind of help. </DIV>
<DIV> </DIV>
<DIV>Jim</DIV>
<P>
<HR SIZE=1>
Yahoo! Mail Mobile<BR><A
href="http://us.rd.yahoo.com/mail_us/taglines/mobile/*http://mobile.yahoo.com/learn/mail">Take
Yahoo! Mail with you!</A> Check email on your mobile
phone.</BLOCKQUOTE></BODY></HTML>