Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributeUsageDescription
service_name_on_errorOptionalThis 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_successOptionalThis 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_errorOptional

This setting specifies the service status code for error messages.

Default: CRITICAL

service_status_on_successOptional

This setting specifies the service status code for success messages

Default: OK

Code Block
languagexml
titleExample
<!--
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:

...