Hi all,
I've got a question again..
I want to check the SDA, SDA1 & SDA2 from a Ubuntu Linux Server with the Nagios XI.
In the Nagios Server I putted the following services in the file: /usr/local/nagios/etc/services/linux_services.cfg
define service {
use generic-service
host_name Intranet
service_description Disk Usage SDA1
check_command check_nrpe!check_sda1
}
define service {
use generic-service
host_name Intranet
service_description Disk Usage SDA2
check_command check_nrpe!check_sda2
}
define service {
use generic-service
host_name Intranet
service_description Disk Usage SDA
check_command check_nrpe!check_sda
On the Nagios Server I putted the following text in the file: /usr/local/nagios/etc/nrpe.cfg
command[check_sda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sda1
command[check_sda2]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sda2
command[check_sda]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sda
On the Ubuntu Linux Server I putted the following text in the file: /etc/nagios/nrpe.cfg
command[check_sda1]=/usr/lib/nagios/plugins/check_disk_1 -w 20% -c 10% -p /dev/sda1
command[check_sda2]=/usr/lib/nagios/plugins/check_disk_2 -w 20% -c 10% -p /dev/sda2
command[check_sda]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda
When I open the view in the webinterface it says:
"NRPE: Unable to read output"
Can somebody help me with this?
Thanks in advance
Regards
How to check SDA, SDA1 & SDA2?
Re: How to check SDA, SDA1 & SDA2?
This is a problem with the installation of the Nagios NRPE Plugins
http://www.linuxquestions.org/questions ... ut-274201/
http://www.linuxquestions.org/questions ... ut-274201/