PERL would work well for this.  And if you know it already, then it should be easier for you.
 

Jeff Cook
Network Administrator
Whatcom Educational Credit Union

-----Original Message-----
From: Paul Jasa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 16, 2003 10:38 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Adding traceroute output to Alert Emails

Thank you, Norm.   I'll lookup vbscripting, and see how it's done.  I know how to do this on perl and expect, hopefully vbscripting will be intuitively related.    Would you happen to know whether it's possible to install perl on a WU gold server and use any perl mail-module successfully?    Can  the WU variables (the %a %L10  etc) be passed to other (external) programs?    Thanks for the awesome help!
pj
 


======================================
Paul Jasa
Network Engineer
Univision Communications, Inc.
 305-470-8072 DNOC
 305-992-6220 Mobile
 305-471-1539 Desk
 305-640-3589 Fax
======================================

-----Original Message-----
From: Segner, Norm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 12:34 PM
To: [EMAIL PROTECTED]
Subject: RE: [WhatsUp Forum] Adding traceroute output to Alert Emails

Paul,
    It should be possible if you use a program (i.e. VBScript) instead of the basic WU SMTP message. I use VBScript programs for all of my alert processing. I get more control over the message content plus I can do message suppression.
    You should be able to issue a tracert command from the VBScript program and pipe the output to a file. After the tracert has completed, you can read the file into the program and include the information in a formatted email.
    Let me know if you need an example of the VBScript.
 

Norm Segner
SEI INVESTMENTS | One Freedom Valley Drive | Oaks, PA 19456

"There are 10 kinds of people in the world: Those who understand binary, and those who don't."

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Jasa
Sent: Wednesday, December 03, 2003 11:58 AM
To: [EMAIL PROTECTED]
Subject: [WhatsUp Forum] Adding traceroute output to Alert Emails

Hi folks!  I was curious if anyone had tried to add output from other scripts onto the Alert Emails.   We'd like to be able to execute a traceroute when a device is down (to troubleshoot routing issues), and have the output be pasted onto the Alert Email that WU sends out.   I'm running WUG 8. Has anyone had any success in doing this?  How can I go about it?  is it possible?    Thanks so much for pointing me in the right direction.  
Paul

======================================
Paul Jasa
Network Engineer
======================================
 

The information contained in this e-mail and any attached documents may be privileged, confidential and protected from disclosure. If you are not the intended recipient you may not read, copy, distribute or use this information. If you have received this communication in error, please notify the sender immediately by replying to this message and then delete it from your syste

The information contained in this e-mail and any attached documents may be privileged, confidential and protected from disclosure. If you are not the intended recipient you may not read, copy, distribute or use this information. If you have received this communication in error, please notify the sender immediately by replying to this message and then delete it from your system.

Reply via email to