{"id":3536,"date":"2019-02-12T16:09:21","date_gmt":"2019-02-12T16:09:21","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/19-variables-and-computations\/cyflex_wd\/"},"modified":"2026-02-04T14:26:26","modified_gmt":"2026-02-04T19:26:26","slug":"cyflex_wd","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/cyflex_wd\/","title":{"rendered":"cyflex_wd"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Monitor specified events for watchdog conditions and initiate shutdown procedures if predefined criteria, such as event counts or frequencies, are met.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>cyflex_wd<\/strong> &lt;watchdog_timeout&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 92.7322%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 12.6059%;\">\n<p>watchdog_timeout<\/p>\n<\/td>\n<td style=\"width: 87.2881%;\">\n<p>Optional. Specify the number of seconds after an error is detected before the watchdog toggle is stopped. The default is 60 seconds.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>cyflex_wd<\/strong> 30 &amp;<br \/>\nThe above command spawns cyflex_wd in the background and performs the following if any of the events it is monitoring meet their watchdog criteria. The task will:<\/p>\n<p>&#8211; send an email to the &#8216;quality_email\u2019 address<\/p>\n<p>&#8211; issue the &#8216;abort_limit&#8217; event to initiate an engine shutdown<\/p>\n<p>&#8211; add a note to syslog<\/p>\n<p>&#8211; stop the watchdog toggle output after 30 seconds. Note that the watchdog can be reset by typing the command &#8220;setev watchdog_reset&#8221;.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>This task is typically started in the startup script for the system and supports adding or removing events via API messages. To add events to be monitored, use &#8216;add_wd_ev&#8217;.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/index.php\/usage-help-manual\/14-i-o-systems\/transt_err\/\">transt_err<\/a>, <a href=\"\/index.php\/usage-help-manual\/29-diagnostic-tools\/gantner_err\/\">gantner_err<\/a>, <a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/add_wd_ev\/\">add_wd_ev<\/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: Monitor specified events for watchdog conditions and initiate shutdown procedures if predefined criteria, such as event counts or frequencies, are met. Enter: cyflex_wd &lt;watchdog_timeout&gt; Where: watchdog_timeout Optional. Specify the number of seconds after an error is detected before the watchdog toggle is stopped. The default is 60 seconds. Example: cyflex_wd 30 &amp; The above [&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-3536","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3536","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=3536"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3536\/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=3536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}