Modify CPU Usage module
This commit is contained in:
parent
b6fd64596f
commit
bb1b8099b8
|
@ -113,17 +113,13 @@ win32_monitoring_lib NT
|
||||||
module_begin
|
module_begin
|
||||||
module_name CPU Load
|
module_name CPU Load
|
||||||
module_type generic_data
|
module_type generic_data
|
||||||
module_wmiquery SELECT PercentProcessorTime FROM Win32_PerfFormattedData_PerfOS_Processor where name like '_Total'
|
module_wmiquery SELECT LoadPercentage FROM Win32_Processor
|
||||||
module_wmicolumn PercentProcessorTime
|
module_wmicolumn LoadPercentage
|
||||||
module_max 100
|
module_description CPU Load (%)
|
||||||
module_min 0
|
module_min_warning 80
|
||||||
module_description User CPU Usage (%)
|
|
||||||
module_min_warning 70
|
|
||||||
module_max_warning 90
|
module_max_warning 90
|
||||||
module_min_critical 91
|
module_min_critical 91
|
||||||
module_max_critical 0
|
module_max_critical 0
|
||||||
module_unit %
|
|
||||||
module_group System
|
|
||||||
module_end
|
module_end
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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