It works! However, I only want it to test once or twice an hour. If I
can figure that part out, I'll be in good shape!
-----Original Message-----
From: Smith, Jim [mailto:user-dc30f243a817@xymon.invalid]
Sent: Monday, June 12, 2006 3:26 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Modem monitoring
Thanks a bunch for that quick reply! I'll do as you suggest.
-----Original Message-----
From: Tom Georgoulias [mailto:user-6a0b8b0f0ae1@xymon.invalid]
Sent: Monday, June 12, 2006 3:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Modem monitoring
Smith, Jim wrote:
I would like to be able to monitor these modems by connecting to their
port on the terminal server, i.e. 192.168.1.15:2001, send them an "AT"
command, wait a few seconds for a response, then disconnect. I can't
figure out a way to connect to them with the additional requirement of
having to use the network port that they addressed by on the terminal
server...in this case, 2001 through 2007.
Kind of thinking out loud here, but what if you make a custom entry in
the bb-services file, with the send command containing AT (and whatever
else you need), and what you should expect back. CHeck the bb-services
man page for details on this, as well as the bb-hosts man page.
I set up a couple of custom network tests using the bb-services file for
some proprietary applications, and it seems to work pretty well.
I never tried to do what you want to do, but a custom entry in
bb-services would be my first approach. Someone else with much more
knowledge and experience might weight in on this as well.
Tom
NOTICE: This email contains confidential or proprietary information
which may be legally privileged. It is intended only for the named
recipient(s). If an addressing error has misdirected the email, please
notify the author by replying to this message. If you are not the named
recipient, you are not authorized to use, disclose, distribute, copy,
print or rely on this email, and should immediately delete it from your
computer system.
NOTICE: This email contains confidential or proprietary information which may be legally privileged. It is intended only for the named recipient(s). If an addressing error has misdirected the email, please notify the author by replying to this message. If you are not the named recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should immediately delete it from your computer system.