NRPE weird behavior

Marc Powell marc at ena.com
Tue Jun 5 17:16:33 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of MAB-L
> Sent: Tuesday, June 05, 2007 10:07 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] NRPE weird behavior
> 
> All the others checks are working fine.
> 
> ideas?
> 
> [root at tls ~]# /usr/local/libexec/nagios/check_disk -w 10% -c 5% -p
> /var/mysql/database
> DISK WARNING - free space: /var/mysql/database 4918 MB (7%
> inode=99%);| /var/mysql/database=65049MB;62970;66468;0;69967

Of course, nagios _isn't_ executing this plugin as root so neither
should you.

> [root at tls ~]# /usr/local/libexec/nagios/check_nrpe -n -H 127.0.0.1 -c
> check_disk_mysqldb
> DISK CRITICAL - /var/mysql/database does not exist

Smells like a permissions issue. Does the user '_nrpe' have read
permissions for that mount point? Do you see success if you run your
first test as _nrpe?

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list