Welcome to Pandora FMS Community!

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

  • Using WMIC

    Posted by vella1tj on May 3, 2011 at 00:21

    Hi, I’m new to these forums so excuse me if I am not using the right steps about asking problems.

    I am using Pandora FMS v3.2.1 – Build PC110222

    I am trying to monitor a windows server, and have it send me the load averages for 5 mins and 15 mins.. (i’ll need to make 2 different modules on for 5 and one for 15) WMIC is enabled on the server and remote is enabled. I’ve used WMIC in command prompt and it seems to be working fine. I go to manage modules>network components>create a new WMI component> I enter generic numeric, change the module group and module to windows and windows servers. I set the interval at 300 nothing for warning or critical right now. the FF threshold to 1 historical data checked. I do not know what to put in the WMI query, key string, Namespace, or field number. I am just trying to get it to output the load averages for 15 mins and 5 mins. I would much appreciate help. I’m brand new to pandora and am strugling with it currently.

    I would also be interested in any books or any resources that anyone knows of.

    vella1tj replied 13 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Sancho

    Administrator
    May 4, 2011 at 18:45
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Could you please, post here a screenshot of the module definition ?

    Hi, I’m new to these forums so excuse me if I am not using the right steps about asking problems.

    I am using Pandora FMS v3.2.1 – Build PC110222

    I am trying to monitor a windows server, and have it send me the load averages for 5 mins and 15 mins.. (i’ll need to make 2 different modules on for 5 and one for 15) WMIC is enabled on the server and remote is enabled. I’ve used WMIC in command prompt and it seems to be working fine. I go to manage modules>network components>create a new WMI component> I enter generic numeric, change the module group and module to windows and windows servers. I set the interval at 300 nothing for warning or critical right now. the FF threshold to 1 historical data checked. I do not know what to put in the WMI query, key string, Namespace, or field number. I am just trying to get it to output the load averages for 15 mins and 5 mins. I would much appreciate help. I’m brand new to pandora and am strugling with it currently.

    I would also be interested in any books or any resources that anyone knows of.

  • vella1tj

    Member
    May 11, 2011 at 19:35
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi sorry that i’ve taken so long to get back to you guys, we been doing something different lately. We are changing the config file to just send to the pandora server instead of having it request and then send back to pandora. This seems to be working great except something are well lets just say not playing nice. I am using in the config file

    module_begin
    module_name C_AvgQuequeLength
    module_description This is the avgqueue length for the disk
    module_type generic_data
    module_perfcounter LogicalDisk(C:)Avg. Disk Queue Length
    module_interval 1
    module_post_process 1/10
    module_end

    The one thing that does not seem to be working is the module_post_process, me and another co-worker(my manager) have been trying multiple ways of doing this to no avail i’ve tried module_postprocess .00001 like it says you should do in the documentation but it still seems to not be multiplying by it if anyone has any hint on what i’m doing wrong or what could be implemented to make it work let me know thanks.