Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using WMIC
#1
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.
 Reply
#2
Could you please, post here a screenshot of the module definition ?

[quote='vella1tj link' pid='3209' dateline='1304367677']
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.
[/quote]
 Reply
#3
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(CSmile\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.
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes