This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Question on using external program as alert action in trap viewer

I'm trying to use an external batch file for trap viewer alerts, in order to cut out some of the lines and email to the appropriate people. I've got a test .bat file created, and it seems to get called. The problem I'm having is with parameters. I pass "${DateTime} ${MESSAGETYPE} ${MESSAGE}", but the batch file doesn't seem to get everything (usually just the date/time and a couple words of the messagetype). If I use those parameters in a email action directly from the trap viewer, it seems to result in a lot more info.

Is anyone using an external program like this? Can I pass the data to the external program as standard input, rather than on the command line?

Thanks!

--Steve