{"id":24711,"date":"2022-11-10T14:50:49","date_gmt":"2022-11-10T19:50:49","guid":{"rendered":"https:\/\/avtech.com\/articles\/?p=24711"},"modified":"2022-11-22T13:02:03","modified_gmt":"2022-11-22T18:02:03","slug":"how-to-configure-server-command-actions-in-room-alert-manager","status":"publish","type":"post","link":"https:\/\/avtech.com\/articles\/24711\/how-to-configure-server-command-actions-in-room-alert-manager\/","title":{"rendered":"How To Configure Server Command Actions In Room Alert Manager"},"content":{"rendered":"\n<p>Room Alert Manager can automatically send a server command in response to an alert. This feature is advantageous for powering down a system or group of systems when environment conditions\u2014such as high temperatures, power loss, flooding, etc.\u2014could potentially lead to catastrophic system damage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Before you begin:<\/h3>\n\n\n\n<p>Room Alert Manager connects to servers via SSH keys. In order for Room Alert Manager to perform server commands, you must generate your own SSH key pair(s) and store the keys securely on your systems. For more information, please see <a href=\"https:\/\/avtech.com\/articles\/24706\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Configure Room Alert Manager To Use An SSH Key<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Configure the target server in Room Alert Manager<\/h3>\n\n\n\n<ol id=\"block-74349ddf-edf2-4c12-9c0a-b18769097507\"><li>Open Room Alert Manager in your web browser.<ul><li>You may open it by entering \u2018localhost:9393\u2019 or \u2018&lt;IP address of host system&gt;:9393\u2019 in your browser\u2019s address bar. For more information, please see our FAQ,&nbsp;<a href=\"https:\/\/avtech.com\/articles\/19834\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Open Room Alert Manager\u2019s Web Interface<\/a>.<\/li><\/ul><\/li><li>In order to configure server actions in Room Alert Manager, you must log in as an admin-level or manager-level user.<ul><li>For more information, please see the \u201cTypes of user roles\u201d section of our FAQ,&nbsp;<a href=\"https:\/\/avtech.com\/articles\/20112\/how-to-configure-users-in-room-alert-manager\/#types\" target=\"_blank\" rel=\"noreferrer noopener\">How To Configure Users In Room Alert Manager<\/a>.<\/li><\/ul><\/li><li>Select&nbsp;<strong>Actions<\/strong>&nbsp;<strong>\u2013&gt; Servers<\/strong>&nbsp;in the navigation bar to the left to open the <em>Servers <\/em>page.<br><img decoding=\"async\" loading=\"lazy\" width=\"217\" height=\"415\" class=\"wp-image-24935\" style=\"width: 150px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_ActionsServers.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_ActionsServers.png 217w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_ActionsServers-157x300.png 157w\" sizes=\"(max-width: 217px) 100vw, 217px\" \/><\/li><li>Then select the <strong>New Server<\/strong> button.<br><img decoding=\"async\" loading=\"lazy\" width=\"819\" height=\"211\" class=\"wp-image-24936\" style=\"width: 550px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_New_Server_Button.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_New_Server_Button.png 819w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_New_Server_Button-300x77.png 300w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_New_Server_Button-768x198.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/li><li>The <em>Server Form <\/em>will open.<br><img decoding=\"async\" loading=\"lazy\" width=\"819\" height=\"422\" class=\"wp-image-24939\" style=\"width: 500px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Form_Blank.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Form_Blank.png 819w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Form_Blank-300x155.png 300w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Form_Blank-768x396.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><ul><li>First, give your server a unique name.<ul><li>The default name is \u201cNew Server X\u201d but we\u2019re renaming ours \u201cExample Server.\u201d<\/li><\/ul><\/li><li>In <em>Target System<\/em>, enter the server&#8217;s IP address or hostname.<\/li><li>In <em>Username<\/em>, enter the username of a user on the server that can access the system with the private key.<\/li><li>In the <em>SSH Key<\/em> drop-down menu, select the saved SSH Key configuration that this server uses for authentication.<ul><li>For more information, please see <a href=\"https:\/\/avtech.com\/articles\/24706\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Configure Room Alert Manager To Use An SSH Key<\/a>.<\/li><\/ul><\/li><li>In <em>Port Number<\/em>, you may leave the default, 22, or enter a custom port.<\/li><\/ul><\/li><li>Then select <strong>Save Changes<\/strong>.<br><img decoding=\"async\" loading=\"lazy\" width=\"819\" height=\"422\" class=\"wp-image-24937\" style=\"width: 500px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Form_Complete_Save.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Form_Complete_Save.png 819w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Form_Complete_Save-300x155.png 300w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Form_Complete_Save-768x396.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/li><li>The server will now appear in the <em>Servers List<\/em>, as shown below.<br><img decoding=\"async\" loading=\"lazy\" width=\"819\" height=\"195\" class=\"wp-image-24940\" style=\"width: 600px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Never_Tested.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Never_Tested.png 819w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Never_Tested-300x71.png 300w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Never_Tested-768x183.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><ul><li>The new server appears in red because it has not yet been tested. <\/li><li>Expanding the server details in the list shows &#8220;Last connection attempt: never.&#8221;<\/li><\/ul><\/li><li>To test the server connection, either click the &#8220;test connection&#8221; link in the expanded server details, or select <strong>Test<\/strong> from the server&#8217;s context menu.<br><img decoding=\"async\" loading=\"lazy\" width=\"195\" height=\"121\" class=\"wp-image-24941\" style=\"width: 150px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_TestServer.png\" alt=\"\"><\/li><li>You may see a message stating that this is the first time connecting to the server. If so, select <strong>Yes<\/strong> and <strong>Trust &amp; Test Again<\/strong>.<br><img decoding=\"async\" loading=\"lazy\" width=\"498\" height=\"429\" class=\"wp-image-24942\" style=\"width: 400px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Connect_ActionReq.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Connect_ActionReq.png 498w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Connect_ActionReq-300x258.png 300w\" sizes=\"(max-width: 498px) 100vw, 498px\" \/><\/li><li>If the test is successful, you&#8217;ll see a confirmation message, and the server will no longer be highlighted in red within the list.<br><img decoding=\"async\" loading=\"lazy\" width=\"500\" height=\"238\" class=\"wp-image-24943\" style=\"width: 400px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Connect_Success.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Connect_Success.png 500w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_Server_Connect_Success-300x143.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><br>If the test fails, please see this FAQ for troubleshooting information: <a href=\"https:\/\/avtech.com\/articles\/24732\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Troubleshoot Server Command Actions In Room Alert Manager<\/a>.<\/li><li>Once the server connection has been successfully tested, you can start adding server actions to alerts\u2014see the next section for instructions.<\/li><\/ol>\n\n\n<div class=\"su-note\"  style=\"border-color:#bcc3cd;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#d6dde7;border-color:#ffffff;color:#305d8c;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;\">\n\n\n\n<p>If you edit the server configuration in the future, you should re-test the connection.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure a Server Command Action<\/h3>\n\n\n\n<ol id=\"block-85c20a76-1e9d-4aaf-aaed-75f46f95ec6a\"><li>Begin configuring your alert in Room Alert Manager. This FAQ shows you how: <a href=\"https:\/\/avtech.com\/articles\/20409\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Create Alerts In Room Alert Manager<\/a>.<ul><li><strong>Stop <\/strong>when you reach &#8220;Step 3: Add actions to your alert.&#8221;<\/li><\/ul><\/li><li>In the <strong><em>Then&#8230;<\/em><\/strong> section of your new alert, select <strong>Server Command<\/strong> to add a<em> Server Command<\/em> action.<br><img decoding=\"async\" loading=\"lazy\" width=\"727\" height=\"121\" class=\"wp-image-24948\" style=\"width: 600px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd_Button.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd_Button.png 727w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd_Button-300x50.png 300w\" sizes=\"(max-width: 727px) 100vw, 727px\" \/><\/li><li>In the <em>Server Command Action<\/em> form, first select a command from the drop-down menu.<br><img decoding=\"async\" loading=\"lazy\" width=\"1097\" height=\"334\" class=\"wp-image-24949\" style=\"width: 600px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-1.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-1.png 1097w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-1-300x91.png 300w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-1-1024x312.png 1024w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-1-768x234.png 768w\" sizes=\"(max-width: 1097px) 100vw, 1097px\" \/><ul><li>You may choose to shutdown or reboot a Windows, Linux, or Mac system. The command to be sent to the server is displayed beside the drop-down menu.<br><img decoding=\"async\" loading=\"lazy\" width=\"1097\" height=\"334\" class=\"wp-image-24950\" style=\"width: 600px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-2.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-2.png 1097w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-2-300x91.png 300w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-2-1024x312.png 1024w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-2-768x234.png 768w\" sizes=\"(max-width: 1097px) 100vw, 1097px\" \/><\/li><\/ul><\/li><li>Then select one or more servers to send the command to.<br><img decoding=\"async\" loading=\"lazy\" width=\"1097\" height=\"334\" class=\"wp-image-24951\" style=\"width: 600px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-3.png\" alt=\"\" srcset=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-3.png 1097w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-3-300x91.png 300w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-3-1024x312.png 1024w, https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_SrvrCmd-3-768x234.png 768w\" sizes=\"(max-width: 1097px) 100vw, 1097px\" \/><\/li><li><em>(Optional)&nbsp;<\/em>You may configure the action to repeat and\/or associate the action with a&nbsp;<em>Quiet Time<\/em>&nbsp;schedule.<ul><li>In most cases, server shutdown and reboot command actions should not be configured to repeat.<\/li><\/ul><\/li><li>When you\u2019re done configuring your alert, select&nbsp;<strong>Save Changes<\/strong>.<br><img decoding=\"async\" loading=\"lazy\" width=\"205\" height=\"66\" class=\"wp-image-21381\" style=\"width: 125px;\" src=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2021\/04\/RAM_SaveChanges.png\" alt=\"\"><\/li><\/ol>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Room Alert Manager can automatically send a server command in response to an alert. This feature is advantageous for powering down a system or group of systems when environment conditions\u2014such as high temperatures, power loss, flooding, etc.\u2014could potentially lead to catastrophic system damage. Before you begin: Room Alert Manager connects to servers via SSH keys. [&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":[287],"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\/24711\/how-to-configure-server-command-actions-in-room-alert-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 Server Command Actions In Room Alert Manager - AVTECH\" \/>\n<meta property=\"og:description\" content=\"Room Alert Manager can automatically send a server command in response to an alert. This feature is advantageous for powering down a system or group of systems when environment conditions\u2014such as high temperatures, power loss, flooding, etc.\u2014could potentially lead to catastrophic system damage. Before you begin: Room Alert Manager connects to servers via SSH keys. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/avtech.com\/articles\/24711\/how-to-configure-server-command-actions-in-room-alert-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"AVTECH\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-10T19:50:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-22T18:02:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_ActionsServers.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=\"3 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\/24711\/how-to-configure-server-command-actions-in-room-alert-manager\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/avtech.com\/articles\/wp-content\/uploads\/2022\/11\/RAM_ActionsServers.png\",\"width\":217,\"height\":415},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/avtech.com\/articles\/24711\/how-to-configure-server-command-actions-in-room-alert-manager\/#webpage\",\"url\":\"https:\/\/avtech.com\/articles\/24711\/how-to-configure-server-command-actions-in-room-alert-manager\/\",\"name\":\"How To Configure Server Command Actions In Room Alert Manager - AVTECH\",\"isPartOf\":{\"@id\":\"https:\/\/avtech.com\/articles\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/avtech.com\/articles\/24711\/how-to-configure-server-command-actions-in-room-alert-manager\/#primaryimage\"},\"datePublished\":\"2022-11-10T19:50:49+00:00\",\"dateModified\":\"2022-11-22T18:02:03+00:00\",\"author\":{\"@id\":\"https:\/\/avtech.com\/articles\/#\/schema\/person\/2966f1925021087dba64df344049f189\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/avtech.com\/articles\/24711\/how-to-configure-server-command-actions-in-room-alert-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\/24711"}],"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=24711"}],"version-history":[{"count":26,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/posts\/24711\/revisions"}],"predecessor-version":[{"id":25054,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/posts\/24711\/revisions\/25054"}],"wp:attachment":[{"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/media?parent=24711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/categories?post=24711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avtech.com\/articles\/wp-json\/wp\/v2\/tags?post=24711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}