...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
1) configured command in the SystemMonitorNotification_xxx.xml file <NotificationCommand><![CDATA[/tmp/command.sh]</NotificationCommand> 2) content of the /tmp/command.sh file #! /bin/sh # Note: "> /tmp/command_output.txt" used to simulate the starting of the notification client # echo $SCHEDULER_MON_SERVICE_NAME:$SCHEDULER_MON_SERVICE_STATUS:$SCHEDULER_MON_SERVICE_MESSAGE_PREFIX history id = $SCHEDULER_MON_TABLE_ORDER_HISTORY_ID > /tmp/command_output.txt |
...