Page 2 of 2

Re: Cassandra Monitoring plugin not working

Posted: Thu Aug 31, 2017 3:37 pm
by bolson
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

Re: Cassandra Monitoring plugin not working

Posted: Mon Sep 04, 2017 6:06 am
by sandeep09412
I am running NRPE v2.15

Code: Select all

./check_nrpe -H localhost
NRPE v2.15

Re: Cassandra Monitoring plugin not working

Posted: Tue Sep 05, 2017 8:28 am
by scottwilkerson
sandeep09412 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;
This looks like a permissions issue, or your plugin cannot file a file it is looking for, can you run

Code: Select all

ls -al /home/user/Downloads/apache-cassandra-3.11.0/bin/nodetool

Re: Cassandra Monitoring plugin not working

Posted: Tue Sep 05, 2017 1:00 pm
by sandeep09412
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

Re: Cassandra Monitoring plugin not working

Posted: Tue Sep 05, 2017 1:40 pm
by scottwilkerson
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
Can you run the command as the nagios user on the remote server? (This is the command you added to the nrpe.cfg)

Code: Select all

su nagios -c "/path/to/plugin -args"

Re: Cassandra Monitoring plugin not working

Posted: Wed Sep 06, 2017 1:25 am
by sandeep09412
Thanks, it was permission problem i have made changed permission from /home/user and it is working now.

Re: Cassandra Monitoring plugin not working

Posted: Wed Sep 06, 2017 9:24 am
by bolson
May we close this topic?

Re: Cassandra Monitoring plugin not working

Posted: Wed Sep 06, 2017 9:29 am
by bolson
.

Re: Cassandra Monitoring plugin not working

Posted: Wed Sep 06, 2017 11:59 am
by sandeep09412
Please close this post. Thanks for your help.

Re: Cassandra Monitoring plugin not working

Posted: Wed Sep 06, 2017 1:46 pm
by bolson
Closing this topic as resolved.

Thank you for visiting the Nagios Support Forum!