Build precise queries to find exactly what you need
Press ESC to close
Dave, any ideas?
When I run it via command line, works like a charm:
[root@localhost ~]# ./check_corosync_rings check_cororings OK – ring 0 OK
nrpe is running on client as “nrpe” user:
[root@localhost ~]# grep ^nrpe_user /etc/nagios/nrpe.cfg nrpe_user=nrpe
I put: nrpe ALL=(ALL) NOPASSWD: /usr/sbin/corosync-cfgtool -s
both in nrpe.cfg file and sudoers file.
I can run command with nrpe user:
[root@localhost ~]# su – nrpe -sh-3.2$ /usr/bin/sudo /usr/sbin/corosync-cfgtool -s Printing ring status. Local node ID -1425773046 RING ID 0 id = 10.110.4.171 status = ring 0 active with no faults
When I run via check_nrpe from nagios server, I get:
[root@nagios ~]# /usr/local/groundwork/nagios/libexec/check_nrpe -H cl1 -c check_coro_rings check_cororings CRITICAL – No Rings Found
Any ideas? I’m at wits. Can’t think of what else to look at.
Thanks.
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!