Page 1 of 1

check_disk recovery

Posted: Wed Jan 06, 2016 12:40 pm
by nshahorchard
You would think this is a simple answer, but im struggling on something very simple.

I've got a check thats uses check_nrpe:

Code: Select all

{
  "id": "linux_root_disk",
  "hostgroup_name": "base_linux",
  "command_line": "$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk -a 20% 10% /",
  "servicegroups": "linux",
  "contact_groups": "it"
} 
On the serverside, i've got /etc/nagios/nrpe.d/check_disk.cfg:

Code: Select all

command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 20 -c 10 -p / 
So the question at hand is, since the warning is at 10%, it should send a "recovery" email when it goes above the 10% threshold, no? For some reason, we are getting recovery emails at a much much lower threshold:
DISK OK - free space: / 1311 MB (1% inode=94%): ---- This is a server with 80GB of diskspace.
Any thoughts?

Re: check_disk recovery

Posted: Wed Jan 06, 2016 2:28 pm
by rkennedy
From the linux machine that is running nrpe, can you run a df -H and post the result?