Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_nrpe with check_redis.pl fails #28

Open
jageshshah opened this issue Sep 13, 2019 · 0 comments
Open

check_nrpe with check_redis.pl fails #28

jageshshah opened this issue Sep 13, 2019 · 0 comments

Comments

@jageshshah
Copy link

from nagios server:
[root@nagios-server ~]# /usr/local/nagios/libexec/check_nrpe -H $appserver -t 30 -c check_redis -a '-H $appserver -p 26379'
Can't locate Redis.pm in @inc (@inc contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/nagios/libexec/check_redis.pl line 421.
BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_redis.pl line 421.

locally on the appserver:
[root@$APPSERVER libexec]# /usr/local/nagios/libexec/check_redis.pl -H $APPSERVERl -p 26379
OK: REDIS 5.0.3 on $APPSERVER has 1 databases (db0) with 70 keys, up 13 days 8 minutes

[root@$APPSERVER libexec]# cpan -l | grep -i redis
Redis 1.995
Redis::Hash 1.995
Redis::List 1.995
Redis::Sentinel 1.995

Question: why is my check from nagios server failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant