Re: Cassandra Monitoring plugin not working
Posted: Thu Aug 31, 2017 3:37 pm
If you're running version 3.20 of nrpe this is a known issue related to SSL. The issue will be fixed in NRPE v. 3.21
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
./check_nrpe -H localhost
NRPE v2.15This looks like a permissions issue, or your plugin cannot file a file it is looking for, can you runsandeep09412 wrote:Please find below the command output received at cassandra server
Code: Select all
[user@localhost libexec]$ /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c cassandra CASSANDRA CRITICAL - cannot run /home/user/Downloads/apache-cassandra-3.11.0/bin/nodetool;
Code: Select all
ls -al /home/user/Downloads/apache-cassandra-3.11.0/bin/nodetoolCode: Select all
[user@localhost libexec]$ ls -al /home/user/apache-cassandra-3.10/bin/nodetool
-rwxrwxrwx. 1 user user 3359 Jan 31 2017 /home/user/apache-cassandra-3.10/bin/nodetoolCan you run the command as the nagios user on the remote server? (This is the command you added to the nrpe.cfg)sandeep09412 wrote:Hi,
Please see the command output and ignore casaandra path change.
Code: Select all
[user@localhost libexec]$ ls -al /home/user/apache-cassandra-3.10/bin/nodetool -rwxrwxrwx. 1 user user 3359 Jan 31 2017 /home/user/apache-cassandra-3.10/bin/nodetool
Code: Select all
su nagios -c "/path/to/plugin -args"