add_wd_ev
Purpose:
-
Add an event to the CyFlex watchdog task for monitoring, specifying the event name, type, and thresholds for error or periodic events.
Enter:
-
add_wd_ev <event_name> <event_type> <N> <M>
Where:
|
event_name |
Specify the event name to be added for monitoring. |
| event_type |
Specify ‘PERIODIC’ or ‘ERROR’:
|
| N |
Specify the number of error events received or periodic events missed, must be greater than 0. number of error events received or periodic events missed, must be greater than 0. |
| M | Specify the number of seconds to monitor for N events, must be greater than 0 |
Example:
-
add_wd_ev EbloxNAN ERROR 10 60
The above adds ‘EbloxNAN’ to the monitor list by the ‘cyflex_wd’ task. Because ERROR is selected, ‘cyflex_wd’ will wait for ‘EbloxNAN’ and if 10 of those events are set within a 60, then the CyFlex watch_dog will be killedadd_wd_ev do_signal PERIODIC 2 10
The above adds ‘do_signal’ to the monitor list by the ‘cyflex_wd’ task. Because PERIODIC is selected, ‘cyflex_wd’ listens to all ‘do_signal’ events, and if less than 2 events are received within 10 seconds, then the cyflex watch_dog will be killed
Notes:
-
The CyFlex watchdog task must be running; if the event has already been added, re-adding will reset the associated counts.