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:
Post
by scottwilkerson » Thu Mar 21, 2013 8:05 pm
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:
happy
Posts: 20 Joined: Wed Nov 28, 2012 4:37 pm
Post
by happy » Mon Mar 25, 2013 3:19 pm
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...
Post
by slansing » Mon Mar 25, 2013 3:26 pm
Excellent, sometimes its the simple things! Locking as resolved.