LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   nagios error (https://www.linuxquestions.org/questions/linux-software-2/nagios-error-768832/)

Rahul Kolan 11-13-2009 12:42 AM

nagios error
 
i installed nagios on centos 5.4 nagios working fine its monitoring windows servers also. but when i executing below command for linux monitoring

./check_by_ssh -H 192.168.1.187 -C "/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p /dev/sda12"

error message:

UNKNOWN - check_by_ssh: Remote command '/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p /dev/sda12' returned status 255


anyone know how to fix this problem...

centosboy 11-13-2009 03:08 AM

Quote:

Originally Posted by Rahul Kolan (Post 3755165)
i installed nagios on centos 5.4 nagios working fine its monitoring windows servers also. but when i executing below command for linux monitoring

./check_by_ssh -H 192.168.1.187 -C "/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p /dev/sda12"

error message:

UNKNOWN - check_by_ssh: Remote command '/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p /dev/sda12' returned status 255


anyone know how to fix this problem...

what is the output when you run this locally on the remote machine??

Code:

/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p /dev/sda12


All times are GMT -5. The time now is 08:16 PM.