{"id":174,"date":"2007-05-30T21:54:19","date_gmt":"2007-05-30T19:54:19","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=174"},"modified":"2007-05-30T21:54:19","modified_gmt":"2007-05-30T19:54:19","slug":"monitor-a-logfile-with-ops-mgr-2007","status":"publish","type":"post","link":"http:\/\/contoso.se\/blog\/?p=174","title":{"rendered":"Monitor a logfile with Ops Mgr 2007"},"content":{"rendered":"<p>I saw a question about monitoring a logfile with Ops Mgr 2007. Here is a short step by step guide<\/p>\n<ol>\n<li>In the console, under Authoring, Management Pack Objects, Rules, create a new rule<\/li>\n<li>Choose to create a Alert Generating Rules\/Event Based\/Generic Text Log (Alert), click next<\/li>\n<li>Input a rule name and choose rule target, click next<\/li>\n<li>Input a directory, for example C:\\, input a pattern, for example logfile.log, click next<\/li>\n<li>Input the following expression,<br \/>\nParameter Name = Params\/Param[1]<br \/>\nOperator = Matches wildcard<br \/>\nValue = warning<br \/>\nclick next<\/li>\n<li>Configure a suitable alert and then click create<\/li>\n<\/ol>\n<p>Please note that this rule is case sensitiv, so it will make\u00c2\u00a0difference between WARNING and warning.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I saw a question about monitoring a logfile with Ops Mgr 2007. Here is a short step by step guide In the console, under Authoring, Management Pack Objects, Rules, create a new rule Choose to create a Alert Generating Rules\/Event Based\/Generic Text Log (Alert), click next Input a rule name and choose rule target, click &hellip; <a href=\"http:\/\/contoso.se\/blog\/?p=174\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","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":[19],"tags":[],"_links":{"self":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/174"}],"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=174"}],"version-history":[{"count":0,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/174\/revisions"}],"wp:attachment":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}