Server Management (Insight Manager 7)
1833346 Members
3093 Online
110051 Solutions
New Discussion

Issues with automatic email notifcation

 
Michael_80
Regular Advisor

Issues with automatic email notifcation

Hello everyone! I am running NNM 6.2 and using BLAT for an email notification, my issue is this all works...except I can't seem to get the Variables to come through on the email?? This is what I have in my event automatic action window...

sendmail.bat $r $N $x $X

and this is the bat file:

d:\Progra~1\HPOPEN~1\NNM\bin\blat.exe d:\Progra~1\HPOPEN~1\NNM\Bin\mail.txt -t whatever@paging.acswireless.com -s "%1 %2 %3 %4"

again it all works, the -t etc, but the "%1 %2 %3 %4" fails to bring in any variables in the email.

any suggestions would be greatly appreciated!

Thanks,
Mike

2 REPLIES 2
Brent Ingler
Respected Contributor

Re: Issues with automatic email notifcation

Are you running this from within a batch file? If so, try using %%1, instead of %1, and so on.

Brent
Michael_80
Regular Advisor

Re: Issues with automatic email notifcation

Sorry for the late reply, but I didn't get the email notification of a reply....I was using quotes wrong...( my fat finger blindness...)all is well now.

Thanks!
Mike