Re: [Nagios-users] check_procs returning wrong data

2012-06-19 Thread Axel Amigo Arnold
I finally got it working but it was not that easy. As I am using CentOS 5, by default the requiretty value in the /etc/sudoers file is activated, so I had to edit it like this: #Defaultsrequiretty nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_procs And the command in the .cfg file

Re: [Nagios-users] Help with DISK UNKNOWN - free space: error

2012-06-19 Thread Ernesto Sanchez
Solved! Just changed command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/root to: command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / nagios user has problems to access to /var/named/chroot/var/run/dbus but now works well. Ernesto Sanchez

Re: [Nagios-users] check_procs returning wrong data

2012-06-19 Thread C. Bensend
I finally got it working but it was not that easy. As I am using CentOS 5, by default the requiretty value in the /etc/sudoers file is activated, so I had to edit it like this: #Defaultsrequiretty nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_procs And the command in the

[Nagios-users] Help with DISK UNKNOWN - free space: error

2012-06-19 Thread Ernesto Sanchez
Hello, I've a server with nrpe and the following commands in /usr/local/nagios/etc/nrpe.cfg : command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20

Re: [Nagios-users] Help with DISK UNKNOWN - free space: error

2012-06-19 Thread RichTea
On Tue, Jun 19, 2012 at 1:06 PM, Ernesto Sanchez e.sanc...@libelium.comwrote: Hello, I've a server with nrpe and the following commands in /usr/local/nagios/etc/nrpe.cfg : command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10

Re: [Nagios-users] Help with DISK UNKNOWN - free space: error

2012-06-19 Thread Deborah Martin
Check in /var/log/messages (or wherever you are logging to) on the server that should be running check_hda1 to ensure that the nagios node is able to communicate via nrpe. Also check you can run /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/root on the nrpe node. Is it owned by