Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

geuse

Reviews(4)
bygeuse, March 12, 2013
0 of 1 people found this review helpful
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
bygeuse, October 1, 2012
check_ps.sh
pheraps it's usefull to add "-w" to grep instruction.
See you.
Paolo
bygeuse, July 19, 2012
check_apache2.sh
Does not work well with IBMHttpServer.

little change to trap process httpd instead of Apache2:

cpu_load="$(cpu_load=0; ps -Ao pcpu,args | grep "$path_binary/httpd" \

But does not work...

./check_apache2.sh -H ...myServer... -b /opt/IBMHttpServer/bin/ -n httpd.pid

OK - Apache serves 35 Requests per second with an average CPU utilization of 0%. Busy workers: 5, idle: 70 | 'cpu_load'=0 'req_psec'=35 'bytes_psec'=756659 'bytes_preq'=11031.4 'workers_busy'=5 'workers_idle'=70

The variable cpu_load seems does not change.
bygeuse, October 1, 2010
1 of 1 people found this review helpful
from MQ logs:
......................
CSQX599E WBGE CSQXRESP Channel CLIENT.TO.CSQ1 ended abnormally CSQX209E CSQ1 CSQXRESP Connection unexpectedly terminated, channel CLIENT.TO.CSQ1, connection nagios (XX.XX.XX.XX) (queue manager ????) TRPTYPE=TCP
..............

Pheraps it would be better to close the connection at the end of any check ?

A good plugin. I found it very useful. Thanks a lot.