check_disk recovery

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
nshahorchard
Posts: 16
Joined: Wed Aug 14, 2013 10:47 am

check_disk recovery

Post 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?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_disk recovery

Post by rkennedy »

From the linux machine that is running nrpe, can you run a df -H and post the result?
Former Nagios Employee
Locked