Modify CPU Usage module

This commit is contained in:
Félix Suárez 2024-02-22 08:10:15 -06:00
parent b6fd64596f
commit bb1b8099b8
2 changed files with 6 additions and 10 deletions

View File

@ -113,17 +113,13 @@ win32_monitoring_lib NT
module_begin
module_name CPU Load
module_type generic_data
module_wmiquery SELECT PercentProcessorTime FROM Win32_PerfFormattedData_PerfOS_Processor where name like '_Total'
module_wmicolumn PercentProcessorTime
module_max 100
module_min 0
module_description User CPU Usage (%)
module_min_warning 70
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 0
module_unit %
module_group System
module_end

View File

@ -157,8 +157,8 @@ ehorus_conf "C:\Program Files\ehorus_agent\ehorus_agent.conf"
module_begin
module_name CPU Load
module_type generic_data
module_wmiquery SELECT LoadPercentage FROM Win32_Processor
module_wmicolumn LoadPercentage
module_wmiquery SELECT PercentProcessorTime FROM Win32_PerfFormattedData_PerfOS_Processor where name like '_Total'
module_wmicolumn PercentProcessorTime
module_max 100
module_min 0
module_description User CPU Usage (%)