{"id":174,"date":"2019-07-09T16:15:41","date_gmt":"2019-07-09T15:15:41","guid":{"rendered":"https:\/\/banfi.co.uk\/blog\/?p=174"},"modified":"2019-07-09T16:15:41","modified_gmt":"2019-07-09T15:15:41","slug":"solarwinds-an-exception-occurred-during-polling-processes-error-invalid-class-using-wmi-or-rpc-to-poll","status":"publish","type":"post","link":"https:\/\/banfi.co.uk\/blog\/2019\/07\/solarwinds-an-exception-occurred-during-polling-processes-error-invalid-class-using-wmi-or-rpc-to-poll\/","title":{"rendered":"Solarwinds &#8211; An exception occurred during polling processes. Error: Invalid class &#8211; Using WMI or RPC to poll"},"content":{"rendered":"\n<p>in Solarwinds SAM I was getting this error when trying to check for a running Process using Solarwinds Agents + WMI<\/p>\n\n\n\n<p>After a bit of digging I found that on the computer in question, Opening windows Performance Monitor would give the error <\/p>\n\n\n\n<p><strong>Unable to add these counters:<br><br>\\Memory\\Available MBytes<br>\\Memory\\% Committed Bytes In Use<br>\\Memory\\Cache Faults\/sec<br>\\Memory\\Cache Faults\/sec<br>\\PhysicalDisk(*)\\%Idle Time<br>\\PhysicalDisk(*)\\Avg. Disk Queue Length<br>\\Network Interface(*)\\Bytes Total\/sec&#8221;<\/strong><\/p>\n\n\n\n<p>The problem is that some of  the WMI Querys have been disabled on the computer so will need to be reenabled<br>Following this technet article :  <a href=\"https:\/\/social.technet.microsoft.com\/wiki\/contents\/articles\/19374.windows-performance-monitor-unable-to-add-these-counters.aspx\">https:\/\/social.technet.microsoft.com\/wiki\/contents\/articles\/19374.windows-performance-monitor-unable-to-add-these-counters.aspx<\/a>  fixed my issue<\/p>\n\n\n\n<p>Short instructions on how to fix<\/p>\n\n\n\n<p>Open CMD as administrator<br>CD C:\\Windows\\System32<br>lodctr \/r<br>CD C:\\Windows\\SysWOW64<br>lodctf \/r<br>lodctf \/q<br>This will query the Performance Metrics library&#8217;s installed on the machine<br> Copy this list in a notepad and check for items that are disabled<br>For each disabled entry you will need to run the command  <code>lodctr \/e:&lt;provider<\/code>\u00a0<code>name><\/code> <\/p>\n\n\n\n<p>Once done you should be able to use your monitor in Solarwinds<\/p>\n","protected":false},"excerpt":{"rendered":"<p>in Solarwinds SAM I was getting this error when trying to check for a running Process using Solarwinds Agents + WMI After a bit of digging I found that on the computer in question, Opening windows Performance Monitor would give the error Unable to add these counters: \\Memory\\Available MBytes\\Memory\\% Committed Bytes In Use\\Memory\\Cache Faults\/sec\\Memory\\Cache Faults\/sec\\PhysicalDisk(*)\\%Idle &hellip; <a href=\"https:\/\/banfi.co.uk\/blog\/2019\/07\/solarwinds-an-exception-occurred-during-polling-processes-error-invalid-class-using-wmi-or-rpc-to-poll\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Solarwinds &#8211; An exception occurred during polling processes. Error: Invalid class &#8211; Using WMI or RPC to poll<\/span> <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":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[27,26],"tags":[],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-sam","category-solarwinds"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":1,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":175,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions\/175"}],"wp:attachment":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}