{"id":9476,"date":"2020-06-23T20:27:07","date_gmt":"2020-06-23T20:27:07","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=9476"},"modified":"2026-02-04T14:56:47","modified_gmt":"2026-02-04T19:56:47","slug":"add_wd_ev","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/add_wd_ev\/","title":{"rendered":"add_wd_ev"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Add an event to the CyFlex watchdog task for monitoring, specifying the event name, type, and thresholds for error or periodic events.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>add_wd_ev<\/strong> &lt;event_name&gt; &lt;event_type&gt; &lt;N&gt; &lt;M&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<table style=\"border-collapse: collapse; width: 100%; height: 48px;\">\n<tbody>\n<tr>\n<td style=\"width: 10.6654%;\">\n<p>event_name<\/p>\n<\/td>\n<td style=\"width: 89.3346%;\">\n<p>Specify the event name to be added for monitoring.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 10.6654%;\">event_type<\/td>\n<td style=\"width: 89.3346%;\">\n<p>Specify &#8216;PERIODIC&#8217; or &#8216;ERROR&#8217;:<\/p>\n<ul>\n<li>Specify &#8216;PERIODIC&#8217; for periodic events.<\/li>\n<li>Specify &#8216;ERROR&#8217; for error events.\u00a0<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 10.6654%;\">N<\/td>\n<td style=\"width: 89.3346%;\">\n<p>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.\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 10.6654%;\">M<\/td>\n<td style=\"width: 89.3346%;\">Specify the number\u00a0of seconds to monitor for N events, must be greater than 0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>add_wd_ev <\/strong>EbloxNAN ERROR 10 60<br \/>\nThe above adds &#8216;EbloxNAN&#8217; to the monitor list by the &#8216;cyflex_wd&#8217; task. Because ERROR is selected, &#8216;cyflex_wd&#8217; will wait for &#8216;EbloxNAN&#8217; and if 10 of those events are set within a 60, then the CyFlex watch_dog will be killed<\/p>\n<p><strong>add_wd_ev <\/strong>do_signal PERIODIC 2 10<br \/>\nThe above adds &#8216;do_signal&#8217; to the monitor list by the &#8216;cyflex_wd&#8217; task. Because PERIODIC is selected, &#8216;cyflex_wd&#8217; listens to all &#8216;do_signal&#8217; events, and if less than 2 events are received within 10 seconds, then the cyflex watch_dog will be killed<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The CyFlex watchdog task must be running; if the event has already been added, re-adding will reset the associated counts.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/cyflex_wd\/\">cyflex_wd<\/a>, <a href=\"https:\/\/cyflex.com\/wp-content\/uploads\/Master-Scheduler-Task.pdf\">Master Scheduler<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>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 &lt;event_name&gt; &lt;event_type&gt; &lt;N&gt; &lt;M&gt; Where: event_name Specify the event name to be added for monitoring. event_type Specify &#8216;PERIODIC&#8217; or &#8216;ERROR&#8217;: Specify &#8216;PERIODIC&#8217; for periodic events. Specify &#8216;ERROR&#8217; for error events.\u00a0 [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1948,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9476","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/9476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=9476"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/9476\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1948"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=9476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}