My Nagios system has high load when running Check WMI Plus

How high is high load? It may not really be an issue.You don’t want your hardware sitting idle, do you? 🙂

The real problem is if your Nagios check latency is being pushed out.
Check your “Check Latency” on the Nagios Performance Info screen.

With a lot of check_wmi_plus checks running you will be forking a lot of wmic commands
This frequent forking is probably what is creating your high load.

You may be able to alleviate this issue by

  • Make sure you are “keeping state”. This is the default and will be used unless you are specifying the --nokeepstate option. Keeping state reduces the number of wmic invocations.
  • Putting more CPU hardware in (Yuk!)
  • Checking less often
  • Checking fewer things
  • Putting wmic and maybe even check_wmi_plus.pl on faster disk (may not be very effective since its probably already in RAM)
  • Remove ini files you are not using (or rename them so they do not end in .ini) so that they don’t have to be read everytime the plugin starts. Probably makes hardly any difference, if any.