Build precise queries to find exactly what you need
Press ESC to close
Good plugin. I use it on my job.
I found a little difference in my environment iostat results.
I’ll try to explain it showing you modified lines:
1) idle parameter position:
CPU_IDLE=`echo $CPU_REPORT | cut -d “;” -f 7`
2) test for thresholds:
if [[ $CPU_IOWAIT > $IO_CPU_C || $CPU_USER > $U_CPU_C || $CPU_SYSTEM > $S_CPU_C ]]; then echo “CPU CRITICAL : user=${CPU_USER}% system=${CPU_SYSTEM}% iowait=${CPU_IOWAIT}% idle=${CPU_IDLE}% | cpu_user=${CPU_USER}%;${U_CPU_W};${U_CPU_C}; cpu_sys=${CPU_SYSTEM}%;${S_CPU_W};${S_CPU_C}; cpu_iowait=${CPU_IOWAIT}%;${IO_CPU_W};${IO_CPU_C}; cpu_idle=${CPU_IDLE}%;” exit $STATE_CRITICAL fi
…and obviously for WARNING test.
P.S. I use zLinux servers in OS/390 environment. my uname is: 2.6.18-194.el5 #1 SMP Tue Mar 16 22:05:06 EDT 2010 s390x s390x s390x GNU/Linux
Hope it helps. Paolo
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!