{"id":227,"date":"2019-05-30T01:24:13","date_gmt":"2019-05-30T01:24:13","guid":{"rendered":"http:\/\/edcint.co.nz\/checkwmiplus\/?post_type=faq&#038;p=227"},"modified":"2023-08-22T12:33:49","modified_gmt":"2023-08-22T02:33:49","slug":"my-nagios-system-has-high-load-when-running-check-wmi-plus","status":"publish","type":"faq","link":"https:\/\/edcint.co.nz\/checkwmiplus\/faq\/my-nagios-system-has-high-load-when-running-check-wmi-plus\/","title":{"rendered":"My Nagios system has high load when running Check WMI Plus"},"content":{"rendered":"<div class=\"field field-name-body field-type-text-with-summary field-label-hidden view-mode-full\">\n<div class=\"field-items\">\n<div class=\"field-item even\">\n<p>How high is high load? It may not really be an issue.You don&#8217;t want your hardware sitting idle, do you? \ud83d\ude42<\/p>\n<p>The real problem is if your Nagios check latency is being pushed out.<br \/>\nCheck your &#8220;Check Latency&#8221; on the Nagios Performance Info screen.<\/p>\n<p>With a lot of check_wmi_plus checks running you will be forking a lot of wmic commands<br \/>\nThis frequent forking is probably what is creating your high load.<\/p>\n<p>You may be able to alleviate this issue by<\/p>\n<ul>\n<li>Make sure you are &#8220;keeping state&#8221;. This is the default and will be used unless you are specifying the <code>--nokeepstate<\/code> option. Keeping state reduces the number of wmic invocations.<\/li>\n<li>Putting more CPU hardware in (Yuk!)<\/li>\n<li>Checking less often<\/li>\n<li>Checking fewer things<\/li>\n<li>Putting wmic and maybe even check_wmi_plus.pl on faster disk (may not be very effective since its probably already in RAM)<\/li>\n<li>Remove ini files you are not using (or rename them so they do not end in .ini) so that they don&#8217;t have to be read everytime the plugin starts. Probably makes hardly any difference, if any.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"template":"","faq_groups":[3],"class_list":["post-227","faq","type-faq","status-publish","hentry","faq-group-support"],"_links":{"self":[{"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/faqs\/227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/faqs"}],"about":[{"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/media?parent=227"}],"wp:term":[{"taxonomy":"faq-group","embeddable":true,"href":"https:\/\/edcint.co.nz\/checkwmiplus\/wp-json\/wp\/v2\/faq_groups?post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}