Page 1 of 1

Monitoring Multiple hard drives in remote Linux host

Posted: Thu Mar 13, 2014 10:15 am
by john.akash
Hello Team,

I am facing an issue with monitoring multiple hard disks in remote Linux hosts. I have tried to add service in the config files as

define service{
use generic-service
host_name Server1
service_description /dev/xvde Free Space
check_command check_nrpe!check_hda1
}

During configuration check I got an errors as
Error: Service check command 'check_nrpe!check_hda1' specified in service '/dev/xvde Free Space' for host 'QBurst QA B' not defined anywhere!
Could you please help me how can I monitor multiple hard drives in Linux servers? and the root partition monitoring service definition for the Linux hosts shows same response for all the servers status are
DISK OK - free space: / 6446 MB (80% inode=90%):
How can we resolve this?

Re: Monitoring Multiple hard drives in remote Linux host

Posted: Thu Mar 13, 2014 10:58 am
by sreinhardt
Have you configured a check_hda1 on the remote host running the nrpe daemon? With nrpe, you will need to configure the command on the remote system as well as setup the service settings on the nagios side.

Re: Monitoring Multiple hard drives in remote Linux host

Posted: Mon Mar 24, 2014 7:50 am
by john.akash
Hello sreinhardt,

Sorry for the delayed response. I have resolved this issue, thanks for your quick response.