Since I'm sure that quite a few people could use something like this, I've created a fairly simple VBScript that will ping a list of hosts specified in a text file and send an email with hosts which are not responding.
The script should work on any Windows 2000 or XP system. You'll need to be logged in as an administrator since the ping implementation uses raw sockets. You'll need to download and register the following freeware components. http://www.ostrosoft.com/smtp_component.asp Download the zip and extract the SMTP.OCX file to your Windows System32 directory Run the following command: Regsvr32 %systemroot%System32SMTP.ocx http://www.netal.com/download.htm#SSR Download the zip and extract the SSCrRun.dll file to your Windows System32 directory. Run the following command: Regsvr32 %systemroot%System32SSCrRun.dll Create a text file called C:PingHosts.txt In PingHosts.txt, add the following lines exactly as they appear and fill in the appropriate information within the brackets []: SMTPServer: [SMTP_SERVER_IP_ADDRESS] SENDER Email: [SENDER_EMAIL_ADDRESS] RECIPIENTS: [EMAIL_ADDRESS_OF_RECIPIENT, SEPARATE WITH COMMAS IF > 1] Host: [IP_ADDRESS_OF_HOST] Host: [IP_ADDRESS_OF_HOST] Host: [IP_ADDRESS_OF_HOST] Etc... Download the script and sample text file via FTP from: 66.192.203.23 Directory: Netscripts User, Pass: netscript Run the script by launching a command prompt and running the command: Cscript C:PingHosts.vbs You should see the output from a ping to each host echoed onscreen. Any non-responsive host will be sent in an email to the list of email addresses specified for RECIPIENTS in C:PingHosts.txt You'll need an SMTP server which does not require authentication. Add as many hosts as you need and you can schedule the script to run using Task Scheduler or run it manually, whatever... Email me with any problems at [EMAIL PROTECTED] Vijay Ramcharan, MCSE, CCNP/DP -----Original Message----- From: Mossburg, Geoff (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 7:32 PM To: [EMAIL PROTECTED] Subject: Need simple network management tool [7:72132] Does anyone know of a freeware or shareware tool that will take a list of IP addresses (like all of my router's loopback addresses) and will ping each address once every x seconds/minutes? This sounds simple enough to make with just scripting, but I unfortunately don't know scripting... Please help! Thanks! Geoff Mossburg Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=72158&t=72132 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

