check cpu usage processess >90%

Home Forums Help check cpu usage processess >90%

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #984
    trentasis
    Participant

    Hi,

    I’m trying to monitor processes with more than 90% usage, I have tried using command:

    check_wmi_plus.pl -H i -u u -p p-m checkproc -s cpu -a % -exc _AvgCPU=@0:90 -w _ItemCount=2 -t 59

    and this returns a warning like
    WARNING (Sample Period 21 sec) – [Triggered by _ItemCount>2] – Found 3 Instance(s) of “%” running. CPU_Idle(PID=0)=100.0% CPU_sqlservr(PID=1360)=100.0% CPU__Total(PID=0)=100.0% |’Process Count’=3;2; ‘Avg Utilisation CPU_Idle’=100.0%; ‘Avg Utilisation CPU_sqlservr’=100.0%; ‘Avg Utilisation CPU__Total’=100.0%;

    Checking windows processes no processes with more than 90% are seen, please anybody can give detail what is wrong in this command and get only when process is more 90%?

    Thanks

    #985
    admin
    Keymaster

    Try

    check_wmi_plus.pl -H i -u u -p p -m checkproc -s cpuabove -a % -w 90 -exc _AvgCPU=@0:2

    This is from the sample commands on this page

    Nagios Service Definitions

    • This reply was modified 1 week, 1 day ago by admin.
    • This reply was modified 1 week, 1 day ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.