Redis plugin issue

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Marta
Posts: 1
Joined: Mon Jul 14, 2014 3:34 am

Redis plugin issue

Post by Marta »

Hello experts,
I'd like to monitor customer redis databases using check_redis.pl plugin from Nagios Exchange.

I'm experiencing the following issue getting the cpu used by the redis server.


./check_redis.pl -H 10.26.188.182 -a used_cpu_sys -w 80 -c 90 -T -f
CRITICAL: used_cpu_sys is 641.38 > 90 - REDIS 2.6.16 on 10.26.188.182:6379 has 5 databases (db8,db6,db14,db1,db0) with 114030 keys, up 40 days 21 hours - response in 0.003s | response_time=0.002942s used_cpu_sys=641.38;80;90

I'm really new with this type of database and I don't know how it works but I'm user that used_cpu should be a percentage and should be a value between 0-100.

I'm not able to find where this value is calculated within the code in order to correct this issue. Could anybody help?

Thanks in advance.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Redis plugin issue

Post by lmiltchev »

What is the value that you get if you use "used_cpu_user" instead of " used_cpu_sys" in your command?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked