"Process details on next line"
Posted: Wed Oct 30, 2019 6:31 am
Hello,
I'm using the "check_wmi_plus.pl" plugin to search for the processes that causes high cpu.
My command at the moment is:
check_wmi_plus.pl -t 30 -H Hostname -u 'User' -p 'Password' -m checkproc -s cpuabove -a "%" -exc _AvgCPU=@0:50 -w 50 -c 80 --nodatamode
This works perfectly but I want the full details in the Information field. Now I get:
"CRITICAL (Sample Period 1230 sec) - [Triggered by _AvgCPU>50][Triggered by _AvgCPU>80] - Total Process Count=2 (Process details on next line)"
But I want to see the Process details without clicking on the Service information (that would mean I have no history).
Also for mail alerts I get:
Additional Info:
CRITICAL (Sample Period 591 sec) - [Triggered by _AvgCPU80] - Total Process Count=1 (Process details on next line)
So that won't give me the fullest details either.
Thank you for your help.
I'm using the "check_wmi_plus.pl" plugin to search for the processes that causes high cpu.
My command at the moment is:
check_wmi_plus.pl -t 30 -H Hostname -u 'User' -p 'Password' -m checkproc -s cpuabove -a "%" -exc _AvgCPU=@0:50 -w 50 -c 80 --nodatamode
This works perfectly but I want the full details in the Information field. Now I get:
"CRITICAL (Sample Period 1230 sec) - [Triggered by _AvgCPU>50][Triggered by _AvgCPU>80] - Total Process Count=2 (Process details on next line)"
But I want to see the Process details without clicking on the Service information (that would mean I have no history).
Also for mail alerts I get:
Additional Info:
CRITICAL (Sample Period 591 sec) - [Triggered by _AvgCPU80] - Total Process Count=1 (Process details on next line)
So that won't give me the fullest details either.
Thank you for your help.