Merge branch 'ent-12737-16871-modulo-cpu-load-recibe-2-valores-y-crea-un-avg-en-grafica' into 'develop'
Change CPU Load Module Closes pandora_enterprise#12737 See merge request artica/pandorafms!6959
This commit is contained in:
commit
702341d5ed
|
@ -1,6 +1,6 @@
|
||||||
# Base config file for Pandora FMS Windows Agent
|
# Base config file for Pandora FMS Windows Agent
|
||||||
# (c) 2006-2023 Pandora FMS
|
# (c) 2006-2023 Pandora FMS
|
||||||
# Version 7.0NG.775
|
# Version 7.0NG.775
|
||||||
# This program is Free Software, you can redistribute it and/or modify it
|
# This program is Free Software, you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public Licence as published by the Free Software
|
# under the terms of the GNU General Public Licence as published by the Free Software
|
||||||
# Foundation; either version 2 of the Licence or any later version
|
# Foundation; either version 2 of the Licence or any later version
|
||||||
|
@ -122,6 +122,7 @@ module_min_critical 91
|
||||||
module_max_critical 0
|
module_max_critical 0
|
||||||
module_end
|
module_end
|
||||||
|
|
||||||
|
|
||||||
# Number processes
|
# Number processes
|
||||||
module_begin
|
module_begin
|
||||||
module_name Number processes
|
module_name Number processes
|
||||||
|
|
|
@ -157,8 +157,8 @@ ehorus_conf "C:\Program Files\ehorus_agent\ehorus_agent.conf"
|
||||||
module_begin
|
module_begin
|
||||||
module_name CPU Load
|
module_name CPU Load
|
||||||
module_type generic_data
|
module_type generic_data
|
||||||
module_wmiquery SELECT LoadPercentage FROM Win32_Processor
|
module_wmiquery SELECT PercentProcessorTime FROM Win32_PerfFormattedData_PerfOS_Processor where name like '_Total'
|
||||||
module_wmicolumn LoadPercentage
|
module_wmicolumn PercentProcessorTime
|
||||||
module_max 100
|
module_max 100
|
||||||
module_min 0
|
module_min 0
|
||||||
module_description User CPU Usage (%)
|
module_description User CPU Usage (%)
|
||||||
|
|
Loading…
Reference in New Issue