Cassandra Monitoring plugin not working
-
bolson
Re: Cassandra Monitoring plugin not working
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
-
sandeep09412
- Posts: 9
- Joined: Mon Aug 28, 2017 6:55 am
Re: Cassandra Monitoring plugin not working
I am running NRPE v2.15
Code: Select all
./check_nrpe -H localhost
NRPE v2.15-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Cassandra Monitoring plugin not working
This 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/nodetool-
sandeep09412
- Posts: 9
- Joined: Mon Aug 28, 2017 6:55 am
Re: Cassandra Monitoring plugin not working
Hi,
Please see the command output and ignore casaandra path change.
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-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Cassandra Monitoring plugin not working
Can 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"-
sandeep09412
- Posts: 9
- Joined: Mon Aug 28, 2017 6:55 am
Re: Cassandra Monitoring plugin not working
Thanks, it was permission problem i have made changed permission from /home/user and it is working now.
-
sandeep09412
- Posts: 9
- Joined: Mon Aug 28, 2017 6:55 am
Re: Cassandra Monitoring plugin not working
Please close this post. Thanks for your help.
-
bolson
Re: Cassandra Monitoring plugin not working
Closing this topic as resolved.
Thank you for visiting the Nagios Support Forum!
Thank you for visiting the Nagios Support Forum!