{"id":1904,"date":"2010-10-17T00:22:36","date_gmt":"2010-10-16T22:22:36","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=1904"},"modified":"2010-10-17T00:22:36","modified_gmt":"2010-10-16T22:22:36","slug":"show-all-agents-without-acs-enable","status":"publish","type":"post","link":"http:\/\/contoso.se\/blog\/?p=1904","title":{"rendered":"Show all agents without ACS enable"},"content":{"rendered":"<blockquote><p>In Operations Manager\u00c2\u00a02007, Audit Collection Services (ACS) provides a means to collect records generated by an audit policy and store them in a centralized database. More info about ACS <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/bb381373.aspx\">here<\/a>.<\/p><\/blockquote>\n<p>If you enable ACS gradually or as you install agents it is easy to forget a agent or two. Then you need a view that shows you all agents where you have not enable ACS. I was looking for that kind of view a couple of days ago. Unfortunaly I could not find it so I created it myself instead. My idea was to show all machines where the AdtAgent service, the ACS agent service, is disable. To get this to work we need to do a discovery of a registry value on all machines with a health service. The discovery will tell us the start-up configuration of the AdtAgent service (ACS agent). The result of the discovery will shown as a extra property of the health service.<\/p>\n<ol>\n<li>In the Operations Manager console navigate to the Authoring workspace.<\/li>\n<li>Expand management pack objects and right-click attributes, select Create a New Attribute<\/li>\n<li>In the Create Attribute Wizard, General Properties page, input a name for example Contoso &#8211; noACSAgent<\/li>\n<li>In the Create Attribute Wizard, Discovery Method page, input\n<ul>\n<li>Discovery Type: Registry<\/li>\n<li>Target: Health Service<\/li>\n<li>Management Pack: Select one of your unsealed MPs or create a new MP<\/li>\n<\/ul>\n<\/li>\n<li>In the Create Attribute Wizard, input\n<ul>\n<li>Key or Value Type: Value<\/li>\n<li>Path: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\AdtAgent\\Start<\/li>\n<li>Attribute Type: Int<\/li>\n<\/ul>\n<\/li>\n<li>Click Finish to save your new attribute<\/li>\n<li>Navigate to the Monitoring workspace, right-click the management pack where you stored the attribute, select create new state view<\/li>\n<li>Name the view &#8220;Contoso &#8211; Agents without ACS&#8221; and configure\n<ul>\n<li>Show data related to: Health Service_Extended<\/li>\n<li>with specific Contoso &#8211; noACSAgent , configure it with 4 (Show all state with 4 Contoso &#8211; noACSAgent) A service configured with startup to 4 means that the service is disable.<\/li>\n<\/ul>\n<\/li>\n<li>Click OK to save your new view<\/li>\n<\/ol>\n<p>This view will now show you all agents with a disabled ACS (AdtAgent) service.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Operations Manager\u00c2\u00a02007, Audit Collection Services (ACS) provides a means to collect records generated by an audit policy and store them in a centralized database. More info about ACS here. If you enable ACS gradually or as you install agents it is easy to forget a agent or two. Then you need a view that &hellip; <a href=\"http:\/\/contoso.se\/blog\/?p=1904\">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":[19],"tags":[],"_links":{"self":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1904"}],"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=1904"}],"version-history":[{"count":12,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1904\/revisions"}],"predecessor-version":[{"id":1917,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1904\/revisions\/1917"}],"wp:attachment":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1904"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}