{"id":1785,"date":"2010-09-02T21:09:07","date_gmt":"2010-09-02T19:09:07","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=1785"},"modified":"2010-09-02T21:09:41","modified_gmt":"2010-09-02T19:09:41","slug":"notification-popup-woth-opalis","status":"publish","type":"post","link":"http:\/\/contoso.se\/blog\/?p=1785","title":{"rendered":"Notification popup with Opalis"},"content":{"rendered":"<p>Today I needed to build some kind of extra notification when a special alert was generated in Operations Manager. As we were already working with Opalis, why not continue\u00c2\u00a0with Opalis? The result was a simple policy checking for a special alert (service stopped), if it is generated, it sends a popup\u00c2\u00a0message with msg.exe to a specific machine. Pretty simple, but another example how to solve things with\u00c2\u00a0Opalis.<\/p>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot03.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-1786\" title=\"OpalisNot03\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot03-300x122.jpg\" alt=\"\" width=\"300\" height=\"122\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot03-300x122.jpg 300w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot03.jpg 650w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>There was another policy checking the service and\u00c2\u00a0restared it if needed,\u00c2\u00a0of course we could merge them into one policy. The &#8220;Notify by popup&#8221; is a &#8220;Run program&#8221;\u00c2\u00a0object with the following settings<\/p>\n<ul>\n<li>Program execution<\/li>\n<li>Computer: IP of target machine where to run the program<\/li>\n<li>Program path: C:\\WINDOWS\\system32\\msg.exe<\/li>\n<li>Parameters: * \/SERVER:NYSRV10 \/TIME:120 {Name from &#8220;Get All New Alerts&#8221;}<\/li>\n<li>Working folder: C:\\<\/li>\n<\/ul>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot04.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-1787\" title=\"OpalisNot04\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot04-300x241.jpg\" alt=\"\" width=\"300\" height=\"241\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot04-300x241.jpg 300w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot04.jpg 435w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The message on the target machine<\/p>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot01.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-1788\" title=\"OpalisNot01\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot01-300x241.jpg\" alt=\"\" width=\"300\" height=\"241\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot01-300x241.jpg 300w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot01.jpg 454w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&#8230;and the updated alert in Operations Manager, by the second policy.<\/p>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot02.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-1789\" title=\"OpalisNot02\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot02-300x105.jpg\" alt=\"\" width=\"300\" height=\"105\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot02-300x105.jpg 300w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2010\/09\/OpalisNot02.jpg 365w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I needed to build some kind of extra notification when a special alert was generated in Operations Manager. As we were already working with Opalis, why not continue\u00c2\u00a0with Opalis? The result was a simple policy checking for a special alert (service stopped), if it is generated, it sends a popup\u00c2\u00a0message with msg.exe to a &hellip; <a href=\"http:\/\/contoso.se\/blog\/?p=1785\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[58,19],"tags":[],"_links":{"self":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1785"}],"collection":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1785"}],"version-history":[{"count":5,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1785\/revisions"}],"predecessor-version":[{"id":1794,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1785\/revisions\/1794"}],"wp:attachment":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1785"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}