Checking if the phone was answered... (you keep me hanging on the Telephone)

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Jan 27 11:42:28 CET 2005


Dear Folks,

I am writing to thank you for your letter and say,

On Tue, Jan 25, 2005 at 08:09:39PM -0800, nagios-users-request at lists.sourceforge.net wrote:
> 
> Message: 3
> From: "Thomas Earl" <tearl at cacdhh.org>
> To: <nagios-users at lists.sourceforge.net>
> Date: Tue, 25 Jan 2005 10:31:32 -0500
> 
> Greetings to all, 
> 
> I'm wondering if anyone has written something that would check if a phone
> was answered. i.e. Nagios dials out, waits for an answer then hangs up and
> reports back.

Any of the ptty tools like Expect/TCL, Expect/Perl and the Ruby. 
Python equivalents might be useful in conjunction with a modem.

eg
  have modem dial your number
  carrier detect ?
  yes)
	=> OK
  no)
	=> Critical

You may be better off puttng a modem on your system and see if the pair 
can go into data transfer phase.

Surely _no_ analogue phone system could be so unreliable that you need 
to test it ?
 
> Thanks, 
> 
> Tom
> 

Yours sincerely.

-- 
Stanley Hopcroft

IP Australia
Ph: (02) 6283 3189  Fax: (02) 6281 1353
PO Box 200 Woden  ACT 2606
http://www.ipaustralia.gov.au
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050127/a305dab2/attachment.txt>


More information about the Users mailing list