I've waited for a better solution to show up on this list regarding your
query....

"I would like to know if there's a plugin for Whatsup that will force a
dial-in to check a connection with an ISP. While connected, ping a server on
the Internet, get a response, log the response, disconnect if response is
good, if bad send an alert via email. This is to test a dial-up connection
to see if the ISP is Up or Down. I haven't found any software that can work
either with WUG or without it that can force a dial-in and coduct tests then
disconnect itself and alert me if something is wrong. I'm an ISP and I need
it for my service. If anyone has any information for some plug-in for WUG of
this type, please let me know. Thank you very much. Alvaro Garcia Systems
Engineer"
I haven't seen the perfect solution but I can offer what I use for similiar
set of circumstances that might be a good starting place for you. The
following batch file;
*       uses the rasdial application that is native to Win2k to dial our RAS
server, There is a rasdial app with NT4.0 also
*       sends a query to two sites (an internal site and an external site)
via ping,
*       logs the results in a text file named, RASConnect.txt
It  should be possible to get What's Up to parse the log file and send
notification based on a "no response" message but that's beyond me. I'd like
to see how that is done.
The batch file:
rasdial "TRC (Local)"
:The help file in Win2k can describe how to create this.
:: There is a similiar program in NT4.0, the syntax is lightly different
ECHO |DATE/T >>RASConnect.txt
:Collects the date and writes it to the log file, RASConnect.txt
ECHO |TIME /T >>RASConnect.txt
:Collects the time and writes it to the log file, RASConnect.txt
::This is an accumulative log file. Great for tracking but maybe better
::as a one-time temp file for What's Up purposes.
@ECHO OFF
ECHO Checking internal website , please wait...
PING iwww.trcinc.com � FIND "Reply from " > NUL
:This is the URL for our internal website, an IP address would be just as
good.
IF ERRORLEVEL 1 ECHO There was an active connection made to iwww.trcinc.com
via RAS >> RASConnect.txt
IF  NOT  ERRORLEVEL 1 ECHO There was NO active connection made via RAS >>
RASConnect.txt
:Write the response to the log file. This response message is what you want
What's Up to see and react to.
ECHO Checking external web site, please wait...
PING www.trcinc.com� FIND "Reply from " > NUL
IF ERRORLEVEL 1 ECHO There was an active connection made to www.trcinc.com
via RAS >> RASConnect.txt
IF  NOT  ERRORLEVEL 1 ECHO There was NO active connection made via RAS >>
RASConnect.txt
rasdial /disconnect
EXIT


Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to