|
Paul,
I have not tried using PERL with WUG, but I
would expect it to work. Yes, you can pass the % variable to the external
program. When using VBScript, I specify the following in the Program
Notification:
C:\WINNT\system32\cscript.exe - as the Program filename (VBScript engine) C:\Program Files\WhatsUp - as the Working
path (this is where my VBScripts are stored)
"C:\Program
Files\WhatsUp\NetworkMail.vbs" "%t" "%d" "%u" "%S" "%T" "%n" "%v"
"%(services::justup)" "%C" "%a" "%m" - as the Program Arguments. I used the
" mark as a delimiter, that way if there is a null value for one of the %
variable you still get a place holder when that arguments are passed. The "
delimiter can be a problem if the variable has a " in the
data.
Hope this helps.
Norm Segner From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Jasa Sent: Wednesday, December 17, 2003 1:38 AM 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
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. |
- RE: [WhatsUp Forum] Adding traceroute output to Alert Ema... Anthony Franklin
- RE: [WhatsUp Forum] Adding traceroute output to Alert Ema... Anthony Franklin
- RE: [WhatsUp Forum] Adding traceroute output to Alert Ema... Paul Jasa
- [WhatsUp Forum] New install advice WUG 6 Roger Hanson
- Re: [WhatsUp Forum] New install advice WUG 6 Daniel Donnelly
- RE: [WhatsUp Forum] Adding traceroute output to Aler... Anthony Franklin
- Re: [WhatsUp Forum] Adding traceroute output to ... Scott Montgomery
- RE: [WhatsUp Forum] Adding traceroute output to Alert Ema... Anthony Franklin
- RE: [WhatsUp Forum] Adding traceroute output to Alert Ema... Segner, Norm
- RE: [WhatsUp Forum] Adding traceroute output to Alert Ema... Paul Jasa
- RE: [WhatsUp Forum] Adding traceroute output to Alert Ema... Segner, Norm
- RE: [WhatsUp Forum] Adding traceroute output to Alert Ema... Jeff Cook
