Change disksize thresholds

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
Gotenks
Posts: 1
Joined: Tue Sep 23, 2014 8:24 am

Change disksize thresholds

Post by Gotenks »

Hey guys!

I've setup Nagios and it works like a charm! The only thing I've been whrestling with is the change the thresholds for the disksize.
I have a server which has around 8GB free space, but Nagios already sends notifications to my mail address since the server has 10GB free space.

How can I change this threshold to 5GB? The free disk space will never go lower than 5GB due to our cleanup policies.

Thanks!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Change disksize thresholds

Post by tmcdonald »

That would be in the service definition, in the check_command line. Depending on what plugin you are running and how the command is set up, you will need to edit the values in-between the exclamation marks (!) to set the arguments/thresholds. If you want to post the service definition and command, we can show you exactly what to change.
Former Nagios employee
Locked