{"id":2308,"date":"2015-05-27T17:15:11","date_gmt":"2015-05-27T21:15:11","guid":{"rendered":"http:\/\/batchpatch.com\/?p=2308"},"modified":"2015-05-27T17:15:41","modified_gmt":"2015-05-27T21:15:41","slug":"configuring-ping-status-alerts-in-batchpatch","status":"publish","type":"post","link":"https:\/\/batchpatch.com\/configuring-ping-status-alerts-in-batchpatch","title":{"rendered":"Configuring Ping Status Alerts in BatchPatch"},"content":{"rendered":"<p>You probably didn&#8217;t know that you can use BatchPatch to notify you when a host goes offline or comes online.  BatchPatch can be configured to only produce an audible alert, or it can be configured to send an email alert (or both).  Maybe you want to deploy software to a particular computer that isn&#8217;t currently online because the user is out of the office with his\/her laptop.  One option is to create a scheduled task that will automatically execute the deployment as soon as the computer is detected online.  However, perhaps you don&#8217;t want to automatically execute the deployment and instead you only want to be notified when the computer comes online.  At that point you can either execute the deployment manually or you can touch base with the user about something else altogether, if needed.  Here&#8217;s how to do it.<\/p>\n<ol>\n<li><strong>Email settings:<\/strong> Open the email settings window by selecting <em><strong>Tools > Settings > Email Notifications.<\/strong><\/em> Fill out the notification settings, and then make sure to test that the configuration is working by using the <em>Test email settings<\/em> button, which will send a test email notification to the recipients you included.<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/05\/2015-05-27-17_06_26-Program-Manager.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/05\/2015-05-27-17_06_26-Program-Manager.png\" alt=\"Email Settings\" width=\"664\" height=\"629\" class=\"aligncenter size-full wp-image-2312\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/05\/2015-05-27-17_06_26-Program-Manager.png 664w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/05\/2015-05-27-17_06_26-Program-Manager-300x284.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/a>\n<\/li>\n<li><strong>Default alerts:<\/strong> Select <strong><em>Tools > Settings > Ping Status Alerts.<\/em><\/strong> When you add new rows to a grid, those new rows will use the settings that are configured in the <em>Global default alert settings for NEW rows<\/em> panel.  Note, once a host has been added to a grid, you can easily change that host&#8217;s settings, which I will describe how to do below.  Finish configuring the desired default settings, and then click OK to close the settings window.<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/05\/2015-05-27-17_06_57-Program-Manager.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/05\/2015-05-27-17_06_57-Program-Manager.png\" alt=\"Ping Alert Settings\" width=\"666\" height=\"631\" class=\"aligncenter size-full wp-image-2313\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/05\/2015-05-27-17_06_57-Program-Manager.png 666w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/05\/2015-05-27-17_06_57-Program-Manager-300x284.png 300w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/a>\n<\/li>\n<li><strong>Configure individual host alert settings:<\/strong> Once a host has been added to a grid, you may configure it to behave differently from the default configuration, if you wish.  For example, some hosts can be setup to send email notifications when they come online, while for other hosts you might only want to generate audio alerts when they go offline.  Select any hosts for which you want to change alert settings, and then select <strong><em>Actions > Ping status alerts<\/em><\/strong>. In the image below I have configured some of the computers to have no audible alerts and to only send email notifications when the computers come online.  The other hosts are configured to generate audible notifications when they come online or go offline.<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/05\/2015-05-27-17_07_54-new-1-BatchPatch-X10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/05\/2015-05-27-17_07_54-new-1-BatchPatch-X10.png\" alt=\"Per-row alert setting overrides\" width=\"664\" height=\"418\" class=\"aligncenter size-full wp-image-2314\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/05\/2015-05-27-17_07_54-new-1-BatchPatch-X10.png 664w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/05\/2015-05-27-17_07_54-new-1-BatchPatch-X10-300x189.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/a>\n<\/li>\n<li><strong>Override email recipients on a per-computer basis: (Optional)<\/strong> If you would like to modify specific hosts in the tab so that they email particular people rather than using the default email recipients, you can override the default configuration for any or all row(s).  Select the row(s) and then click on <strong><em>Actions > Email notification > Override default email notification settings<\/em><\/strong>.  You can see in the image below that 6 of the rows are configured with just one email recipient as their only target for email notifications.<br \/>\n<a href=\"\/wp-content\/uploads\/2015\/05\/2015-05-27-17_08_38-new-1-BatchPatch-X10.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/05\/2015-05-27-17_08_38-new-1-BatchPatch-X10.png\" alt=\"Per-row email notification overrides\" width=\"662\" height=\"417\" class=\"aligncenter size-full wp-image-2315\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/05\/2015-05-27-17_08_38-new-1-BatchPatch-X10.png 662w, https:\/\/batchpatch.com\/wp-content\/uploads\/2015\/05\/2015-05-27-17_08_38-new-1-BatchPatch-X10-300x189.png 300w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/a>\n<\/li>\n<li><strong>Start pinging:<\/strong> The last thing you need to do is start pinging the computers in the grid.  Select the rows and then click <strong><em>Actions > Start pinging<\/em><\/strong>.  Note, a row will only produce audio alerts and\/or send email notifications when they are actively being pinged in a grid.  When a given computer&#8217;s ping reply changes from &#8216;TimedOut&#8217; to &#8216;Reply from&#8230;&#8217; you&#8217;ll receive an email notification or hear an audio alert, depending on the settings you configured for the row.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>You probably didn&#8217;t know that you can use BatchPatch to notify you when a host goes offline or comes online. BatchPatch can be configured to only produce an audible alert, or it can be configured to send an email alert (or both). Maybe you want to deploy software to a particular computer that isn&#8217;t currently [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,17,3],"tags":[135,70,134,39,133],"class_list":["post-2308","post","type-post","status-publish","format-standard","hentry","category-blog","category-general","category-tutorials","tag-audible-alerts","tag-audio-alerts","tag-email-alerts","tag-email-notifications","tag-ping-alerts"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/2308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/comments?post=2308"}],"version-history":[{"count":4,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/2308\/revisions"}],"predecessor-version":[{"id":2316,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/2308\/revisions\/2316"}],"wp:attachment":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/media?parent=2308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/categories?post=2308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/tags?post=2308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}