4 Replies Latest reply on Jan 30, 2009 3:11 PM by Steve Pfister

    Question on using external program as alert action in trap viewer

    Steve Pfister

      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