Monitoring Multiple hard drives in remote Linux host

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
john.akash
Posts: 11
Joined: Tue Mar 11, 2014 6:46 am

Monitoring Multiple hard drives in remote Linux host

Post 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?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitoring Multiple hard drives in remote Linux host

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
john.akash
Posts: 11
Joined: Tue Mar 11, 2014 6:46 am

Re: Monitoring Multiple hard drives in remote Linux host

Post by john.akash »

Hello sreinhardt,

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