testing modem for qpage

Potter, G M (Greg) GPotter at MarathonOil.com
Mon Jan 13 22:20:26 CET 2003


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.

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?

Greg M. Potter
mailto:gpotter at marathonoil.com

Non Scio, id est in Latina!

            ~~|\
            / | \           
  ~^~^~^~  /  |  \ ~^~ Greg Potter~^~^~^~^
   ~^~^~  / 9255  ) ~^ Oklahoma City, OK^~^
    ~^~^_/____|____) ^~^~^~^~^~^~^~^~^~^~^~^
   ~^~^ \_________/ ^~^~^~^~^~^~^~^~^~^~^
 ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030113/f92a52bf/attachment.html>


More information about the Users mailing list