Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting Module CPU Load using WMI – non initisalised module

  • Module CPU Load using WMI – non initisalised module

    Posted by matthieu.deloy on February 9, 2017 at 13:35

    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

    Unknown Member replied 6 years, 1 month ago 4 Members · 5 Replies
  • 5 Replies
  • antonio

    Member
    February 9, 2017 at 19:57
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

  • james-v

    Member
    November 22, 2018 at 18:44
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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

    Hey Matthieu,

    Can you tell me where you configure this module?

    Are you monitoring your IT infrastractuur agentless?

    James Villas,

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 23, 2018 at 12:57

    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

    Hey Matthieu,

    Can you tell me where you configure this module?

    Are you monitoring your IT infrastractuur agentless?

    James Villas,

    Good morning james.v,

    Its created via WMI server module.

    Alberto

  • james-v

    Member
    November 23, 2018 at 15:06
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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

    Hey Matthieu,

    Can you tell me where you configure this module?

    Are you monitoring your IT infrastractuur agentless?

    James Villas,

    Good morning james.v,

    Its created via WMI server module.

    Alberto

    Hey Antontio,

    How do I add a module for WMI Module?

    Like CPU Temperature I’ve seen the syntax but have no clue where to modify it. I’ve tried modifying it in the pandora_agent.conf yet nothing appears in the WMI Module. Also I’ve restarted the server. 

    Kind regards,

    James V.,

  • Like it
    Up
    0
    Down
    Drop it
    ::

    Unknown Member

    Moderator
    November 27, 2018 at 18:50

    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

    Hey Matthieu,

    Can you tell me where you configure this module?

    Are you monitoring your IT infrastractuur agentless?

    James Villas,

    Good morning james.v,

    Its created via WMI server module.

    Alberto

    Hey Antontio,

    How do I add a module for WMI Module?

    Like CPU Temperature I’ve seen the syntax but have no clue where to modify it. I’ve tried modifying it in the pandora_agent.conf yet nothing appears in the WMI Module. Also I’ve restarted the server. 

    Kind regards,

    James V.,

    Good afternoon james.v,

    The modules will appear if the pandora_agent.conf is correctly configured, and they will appear in the agent detail, where the modules of the agent are shown.

    Alberto