<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>testing modem for qpage</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Does anyone have a plugin for testing a modem.  I have an external dial-out modem connected to my Nagios host (Sun Ultra 5).  I use the modem to send text pages using qpage through a service escalation.  So far the modem has only been used in testing (luckily we haven't had any failures in off hours where the notifications would have escalated to paging.  But rather than manually testing the modem occasionally I would like to have Nagios test the modem for me.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I have been doing some preliminary testing using qpage, but it looks like qpage returns a status of 0 regardless of the page going through or not.  My initial thought was to set up the pager as a host and have the check interval set to one week.  I can live with one page a week for the knowledge that the pager is still functional.  But It seems like it would be better to check more frequently, if possible without actually sending the page.  I suppose one could write a script to open the port and use expect/send to communicate with the modem to verify it was still "alive".  Has anyone looked at this and come up with a solution?</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">Greg M. Potter</FONT>

<BR><FONT SIZE=2 FACE="Courier New"><A HREF="mailto:gpotter@marathonoil.com">mailto:gpotter@marathonoil.com</A></FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Non Scio, id est in Latina!</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">            ~~|\</FONT>

<BR><FONT SIZE=2 FACE="Courier New">            / | \           </FONT>

<BR><FONT SIZE=2 FACE="Courier New">  </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">~^~^~^~</FONT><FONT SIZE=2 FACE="Courier New">  /  |  \ </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">~^~</FONT><FONT SIZE=2 FACE="Courier New"> Greg Potter</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">~^~^~^~^</FONT>

<BR><FONT SIZE=2 FACE="Courier New">   </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">~^~^~</FONT><FONT SIZE=2 FACE="Courier New">  / 9255  ) </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">~^</FONT><FONT SIZE=2 FACE="Courier New"> Oklahoma City, OK</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">^~^</FONT>

<BR><FONT SIZE=2 FACE="Courier New">    </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">~^~^</FONT><FONT SIZE=2 FACE="Courier New">_/____|____) </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">^~^~^~^~^~^~^~^~^~^~^~^</FONT>

<BR><FONT SIZE=2 FACE="Courier New">   </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">~^~^</FONT><FONT SIZE=2 FACE="Courier New"> \_________/ </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">^~^~^~^~^~^~^~^~^~^~^</FONT>

<BR><FONT SIZE=2 FACE="Courier New"> </FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~</FONT>
</P>

</BODY>
</HTML>