{"id":93,"date":"2015-06-25T16:26:37","date_gmt":"2015-06-25T20:26:37","guid":{"rendered":"http:\/\/192.168.2.166\/~webapp\/support\/faq\/wordpress\/?p=93"},"modified":"2017-12-14T17:21:46","modified_gmt":"2017-12-14T22:21:46","slug":"how-to-configure-a-linux-shutdown-action-in-device-manager","status":"publish","type":"post","link":"https:\/\/avtech.com\/articles\/93\/how-to-configure-a-linux-shutdown-action-in-device-manager\/","title":{"rendered":"How To Configure A Linux Shutdown Action In Device ManageR"},"content":{"rendered":"<p>The Linux Shutdown action is used to shut down target Linux systems; this action is extremely beneficial for powering down a system or group of systems when environment conditions, such as high temperatures, power loss, flooding, etc., could potentially lead to catastrophic system damage. Systems can be shutdown simultaneously, sequentially, or according to a defined schedule.<\/p>\n<p>The plugin has been tested extensively with Ubuntu, Fedora and OpenSuse; as it uses the standard &#8216;shutdown&#8217; command, all Linux distributions should be supported. This plugin uses Telnet to connect to the target Linux system, so that system must have the Telnet daemon installed and running.<\/p>\n<p>To create a Linux Shutdown action, first download and install the Linux Shutdown Plugin from your account at <a href=\"https:\/\/roomalert.com\/\" target=\"_blank\" rel=\"noopener\">RoomAlert.com<\/a>.<\/p>\n<p>Then you may create your Linux Shutdown action by following these steps:<\/p>\n<p>1. Open Device ManageR in your web browser. You may open it by entering &#8216;localhost:8080&#8217; or &#8216;&lt;IP address of Device ManageR&#8217;s host system&gt;:8080&#8217; in your browser&#8217;s address bar.<\/p>\n<p>2. Select <strong>Alerts \/ Tasks<\/strong> in the navigation bar to the left.<\/p>\n<p>3. In the <em>Settings<\/em> menu, select <strong>Actions<\/strong>.<\/p>\n<p>4. Select <strong>Add<\/strong> at the bottom of the screen to open the <em>Add New Action<\/em> window.<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"http:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/AlertsTasks.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-8927\" src=\"http:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/AlertsTasks.png\" alt=\"\" width=\"700\" height=\"168\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/AlertsTasks.png 989w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/AlertsTasks-300x72.png 300w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/AlertsTasks-768x185.png 768w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p>5. In the <em>Add New Action<\/em> window, enter a name for the action in <em>Name<\/em>. In our example, we&#8217;ve called the action &#8216;My Linux Shutdown Action.&#8217;<\/p>\n<p>6. <em>(Optional)<\/em> In <em>Description<\/em>, you may, if you wish, enter any notes you feel would be helpful.<\/p>\n<p>7. In <em>Action Type<\/em>, select the action you wish to execute from the drop-down list. Once you make your selection, options unique to that action will appear.<\/p>\n<p style=\"padding-left: 30px;\">&#8211; In <em>Action Type<\/em>, select <strong>Shutdown A Linux System<\/strong>.<\/p>\n<p style=\"padding-left: 30px;\">&#8211; There are several fields unique to this action:<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>IP or System Name<\/strong> field is the IP address or computer name of the system that the action will send the shutdown command to when an action is performed.<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>Username<\/strong> field is the name of the user account used for accessing the target system.<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>Password<\/strong> field is the password for the user account used for accessing the target Linux system.<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>Port Number<\/strong> field is the port on the target system that is accepting telnet connections.<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>Login Prompt<\/strong> field is the expected message returned by the target system to start the login process.<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>Password Prompt<\/strong> field is the expected message returned by the target system to indicate the time to send the password<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>System Prompt<\/strong> are the characters received when the terminal is ready for a command.<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>Logout Command<\/strong> is the command used to log out of the telnet session.<\/p>\n<p style=\"padding-left: 60px;\">&#8211; <strong>Timeout<\/strong> is the time that the Telnet connection should stay open for when waiting for a response or attempting to send a command.<\/p>\n<p style=\"padding-left: 30px;\">8. In <em>If not successful, retry this Action<\/em>, you may leave the default, 0, or enter a higher number.<\/p>\n<p style=\"padding-left: 30px;\">9. <em>(Optional)<\/em> If you wish, you may associate a schedule with this action by selecting <strong>Optional Schedule<\/strong> and choosing a schedule from the drop-down list. (If you attach a schedule to the action, it can be performed only during the hours you&#8217;ve set up in the Optional Schedule.)<\/p>\n<p style=\"padding-left: 30px;\">10. Then select <strong>Save<\/strong> to save the action.<\/p>\n<p style=\"padding-left: 60px;\"><a href=\"http:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/ADM_LinuxShutdown_NewActionWindow.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-8933\" src=\"http:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/ADM_LinuxShutdown_NewActionWindow.png\" alt=\"\" width=\"450\" height=\"497\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/ADM_LinuxShutdown_NewActionWindow.png 517w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/ADM_LinuxShutdown_NewActionWindow-272x300.png 272w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>11. Once you&#8217;ve saved, your action will appear in your <em>Actions<\/em> list.<\/p>\n<p>You may now associate this action with an Action \/ Notification List. Please see this FAQ for more information: <a href=\"http:\/\/avtech.com\/articles\/79\/how-to-configure-action-notification-lists-in-device-manager-video\/\" target=\"_blank\" rel=\"noopener\">How To Configure Action \/ Notification Lists In Device ManageR.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Linux Shutdown action is used to shut down target Linux systems; this action is extremely beneficial for powering down a system or group of systems when environment conditions, such as high temperatures, power loss, flooding, etc., could potentially lead to catastrophic system damage. Systems can be shutdown simultaneously, sequentially, or according to a defined [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[3],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/avtech.com\/articles\/93\/how-to-configure-a-linux-shutdown-action-in-device-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Configure A Linux Shutdown Action In Device ManageR - AVTECH\" \/>\n<meta property=\"og:description\" content=\"The Linux Shutdown action is used to shut down target Linux systems; this action is extremely beneficial for powering down a system or group of systems when environment conditions, such as high temperatures, power loss, flooding, etc., could potentially lead to catastrophic system damage. Systems can be shutdown simultaneously, sequentially, or according to a defined [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/avtech.com\/articles\/93\/how-to-configure-a-linux-shutdown-action-in-device-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"AVTECH\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-25T20:26:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-14T22:21:46+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/AlertsTasks.png\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@AVTECHSoftware\" \/>\n<meta name=\"twitter:site\" content=\"@AVTECHSoftware\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"Allie Wojtanowski\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/avtech.com\/articles\/#website\",\"url\":\"https:\/\/avtech.com\/articles\/\",\"name\":\"AVTECH\",\"description\":\"Frequently Asked Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/avtech.com\/articles\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/avtech.com\/articles\/93\/how-to-configure-a-linux-shutdown-action-in-device-manager\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/avtech.com\/articles\/wp-content\/uploads\/2015\/06\/AlertsTasks.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/avtech.com\/articles\/93\/how-to-configure-a-linux-shutdown-action-in-device-manager\/#webpage\",\"url\":\"https:\/\/avtech.com\/articles\/93\/how-to-configure-a-linux-shutdown-action-in-device-manager\/\",\"name\":\"How To Configure A Linux Shutdown Action In Device ManageR - AVTECH\",\"isPartOf\":{\"@id\":\"https:\/\/avtech.com\/articles\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/avtech.com\/articles\/93\/how-to-configure-a-linux-shutdown-action-in-device-manager\/#primaryimage\"},\"datePublished\":\"2015-06-25T20:26:37+00:00\",\"dateModified\":\"2017-12-14T22:21:46+00:00\",\"author\":{\"@id\":\"https:\/\/avtech.com\/articles\/#\/schema\/person\/2966f1925021087dba64df344049f189\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/avtech.com\/articles\/93\/how-to-configure-a-linux-shutdown-action-in-device-manager\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/avtech.com\/articles\/#\/schema\/person\/2966f1925021087dba64df344049f189\",\"name\":\"Allie Wojtanowski\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/avtech.com\/articles\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/470c9c7fbbd3e0a96d84169645634d04?s=96&d=mm&r=g\",\"caption\":\"Allie Wojtanowski\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/posts\/93"}],"collection":[{"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":13,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":9944,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/posts\/93\/revisions\/9944"}],"wp:attachment":[{"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}