Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

sampinar

Reviews(8)
bysampinar, February 6, 2012
Works perfectly. Thank you.
bysampinar, February 5, 2012
Thank you. Works perfectly. BE Server 2010
bysampinar, February 5, 2012
Works like a charm. BE Server 2010
Thank you.
bysampinar, February 5, 2012
1 of 1 people found this review helpful
Thank you for plugin. Works perfectly. Backup Exec 2010.

Sam
bysampinar, January 26, 2012
1 of 1 people found this review helpful
Check CRM
Thank you for a great plugin. Easy to configure.
bysampinar, November 17, 2011
Thank you for a great plugin. instrcutions are well put together.
Can confirm plugin works for Clariion CX4-120
bysampinar, November 17, 2011
check_mssql_health
Thank you very much. Works like a charm.
bysampinar, October 30, 2011
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.
Owner's reply

In sudoers if requiretty is on (off state is default) you will also need to add the line below
Defaults:nagios !requiretty