...
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"> ... |
One of the following elements may be nested inside a NotificationMonitor element:
Element | Element description | Description |
---|---|---|
NotificationInterface | Optional, once inside of NotificationMonitor element | Plugin Interface to be executed for System Monitor notification |
NotificationCommand | Optional, once inside of NotificationMonitor element | Command line to be executed for System Monitor notification |
Here you go an example of an XML file used for notifying a specific System Monitor (op5 Monitor) and using NotificationCommand:
...