check free disk space

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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check free disk space

Post by scottwilkerson »

if

Code: Select all

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ -a ShowAll MinWarnFree=$ARG2$ Drive=$ARG3$ MinCritFree=5G
change check_command to

Code: Select all

check_command          CheckDriveSize!CheckDriveSize|5G!c:
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
happy
Posts: 20
Joined: Wed Nov 28, 2012 4:37 pm

Re: check free disk space

Post by happy »

The syntax worked! (there was a typo in the check_command)

Many Thanks!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check free disk space

Post by slansing »

Excellent, sometimes its the simple things! Locking as resolved.
Locked