Command-line Notifiers
Use a command-line notifier specify a command (executable, shell script, batch file, etc.) to be executed as a notification.
To configure a Command Line notifier:
- In the Configure Notifier window, choose "Command Line" from the Notifier Type drop-down menu.
- In the Command box, enter the command to be executed. Include any arguments, exactly as you would type them on the command line.
- Click Test Notifier to send a test notification.
Configuring the Command Line notifier
|
Command text box
Specify the executable you wish to run, including any arguments. Note that you need to specify the exact name, including any extensions such as .exe or .cmd.
If you want the message generated by InterMapper to be included in the command, place the text ${MESSAGE} where you would like the message to go.
To include the message escaped for use in an HTTP query string, use ${ESCAPED_MESSAGE} instead. You are responsible for supplying quotes if it is necessary.
Use ${STRIPPED_MESSAGE } to strip the message of any punctuation that might cause trouble for the command-line notifier.
Use ${URLESCAPE} to escape the message for use as a URL.
See the Examples page for an example of a command line notifier.