...
Attribute | Usage | Description |
---|---|---|
service_name_on_error | Optional | This setting specifies the service that is configured in the Service Monitor for messages of job runs with errors and for job recovery messages. The service name must match the corresponding setting in the System Monitor. |
service_name_on_success | Optional | This setting specifies the service that is configured in the Service Monitor for receiving informational messages on successful job runs. The service name must match the corresponding setting in the System Monitor |
service_status_on_error | Optional | This setting specifies the service status code for error messages. Default: CRITICAL |
service_status_on_success | Optional | This setting specifies the service status code for success messages Default: OK |
Code Block | ||||
---|---|---|---|---|
| ||||
<!--
NSCA Status:
0 - OK
1 - WARNING
2 - CRITICAL
3 - UNKNOWN
-->
...
<!--
Sending occured errors as CRITICAL
-->
<NotificationMonitor service_name_on_error="Errors">
...
<!--
Sending occured errors as WARNING
-->
<NotificationMonitor service_name_on_error="Errors" service_status_on_error="1">
... |
Here you go an example of an XML file used for notifying a specific System Monitor (op5 Monitor) and using NotificationCommand:
...