...
- Configuration for Notifications to a specific System Monitor
- Specifies the type of notification: "service_name_on_error" or "service_name_on_success"
- Specifies then the EXACT name of the service (the way it is named at the System Monitor)
- Specifies the EXACT hostname for the host the notification are sent from (the way it is named at the System Monitor)
- Specifies the port the application to receive passive checks is running on
- Specifies the hostname of the System Monitor, that is the hostname for the host the notification are sent from
- Define the type of encryption is used to send the information to the System Monitor
- Specifies how many notifications have to be sent to the System Monitor for a specific Job Scheduler object
- The same as above in case there is configured a Timer for this Job Scheduler object
Example SystemMonitorNotification_op5.xml
Here you go an example of an XML file used for notifying a specific System Monitor (op5 Monitor):
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="utf-8"?> <SystemMonitorNotification xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SystemMonitorNotification_v1.0.xsd"> <Notification> <NotificationMonitor service_name_on_error="OMS Mass Processing Problem Tracking"> <NotificationInterface service_host="OMS Interfacing Server" monitor_port="5667" monitor_host="dipsy.sos" monitor_encryption="XOR">order history id=%ORDER_HISTORY_ID%, job chain=%JOB_CHAIN_NAME%, order id=%ORDER_ID%, step =%ORDER_STEP_STATE%, error=%ERROR_TEXT%, check = %CHECK_TEXT%</NotificationInterface> </NotificationMonitor> <NotificationObject> <JobChains> <JobChain scheduler_id="scheduler" notifications="20" name="MY_JOB_CHAIN_NAME"/> </JobChains> <Timers> <Timer> <JobChains> <JobChain notifications="20" name="MY_JOB_CHAIN_NAME"/> </JobChains> </Timer> </Timers> </NotificationObject> </Notification> <Notification> <NotificationMonitor service_name_on_success="OMS Mass Processing History"> <NotificationInterface service_host="OMS Interfacing Server" monitor_port="5667" monitor_host="dipsy.sos" monitor_encryption="XOR">order history id=%ORDER_HISTORY_ID%, job chain=%JOB_CHAIN_NAME%, order id=%ORDER_ID%</NotificationInterface> </NotificationMonitor> <NotificationObject> <JobChains> <JobChain scheduler_id="scheduler" notifications="20" name="MY_JOB_CHAIN_NAME"/> </JobChains> </NotificationObject> </Notification> </SystemMonitorNotification> |
...