Execute Command Alert
General information
This alert can execute a system command. You can specify *.exe modules with
command line arguments or *.cmd and *.bat scripts.
Alert Settings
Besides the standard alert settings, the following settings are available:
- Program File - The path to the file that is to be executed. You can use
message formatting patterns to pass additional information about from a particular check into your program
or batch script. This property supports System Environment Variables.
- Startup Directory - If the Use startup directory check box
is selected, you can specify where to start your program in case the alert is activated.
Otherwise, your command will be executed in the current directory. In most cases it
is the directory where NetEagle.exe is located. This property supports System Environment Variables.
- Priority - Process priority for the specified command.
- Window show state - Here you can choose the way the program window will be shown when the alert is activated.
- Wait until program completed - If this check box is selected, the checking process
and the activation of remaining alerts is blocked until the process is finished.
Note that it is a rather dangerous option and you should use it carefully. The process may freeze
and in this case the service checking process will be blocked until you kill such a process.
See the picture below.
See Also
About Alerts,
Standard Alerts,
Professional Alerts,
Message Formatting