Hello Guest

Author Topic: Module CPU Load using WMI - non initisalised module  (Read 102 times)

0 Members and 1 Guest are viewing this topic.

Offline matthieu.deloy

  • Jr. Member
  • **
  • Posts: 10
  • Karma: 0
    • View Profile
Module CPU Load using WMI - non initisalised module
« on: February 09, 2017, 01:35:52 AM »
Hello,

I encountered a problem with the CPU module Load using WMI, this one does not boot. I use the 32-bit Windows Agent on a Microsoft (R) Windows (R) Server 2003, Standard EditionService Pack 2.

# CPU Load using WMI
module_begin
module_name CPU Load
module_type generic_data
module_wmiquery SELECT LoadPercentage FROM Win32_Processor
module_wmicolumn LoadPercentage
module_description CPU Load (%)
module_min_warning 80
module_max_warning 90
module_min_critical 91
module_max_critical 100
module_end

Would you have a solution or idea of ​​the problem?

Thank you

Matthieu

Offline antonio.s

  • Administrator
  • Smart member
  • *****
  • Posts: 288
  • Karma: 2
    • View Profile
Re: Module CPU Load using WMI - non initisalised module
« Reply #1 on: February 09, 2017, 07:57:04 AM »
Hello matthieu,

These modules depend on the WMI status of the Windows system, so they could not function on certain type of systems, and there is not really much we can do, since it would be impossible to have all the different versions and checks for all the OS versions.

I would suggest to play with some more simple WMI remote checks and see if they work, to make sure the WMI of the system actually works. If that's the case, try executing a different wmi query or make it all on a simple script that only retrieves the output.

Kind regards,
Antonio.