<div dir="ltr">I think you have three options:<div>1. Provide a patch which will make your request working</div><div>2. Separate checks, as James proposed</div><div>3. Separate checks, but with check_multi combined.</div><div><br></div><div><br></div><div>Personally i would prefer first option, but third option is also fine, because in that case you don't have to add multiple services.<br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best regards</div><div>Oliver Skibbe</div><div><br></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-02-29 22:48 GMT+01:00 Pietan, James J (DOA) <span dir="ltr"><<a href="mailto:james.pietan@alaska.gov" target="_blank">james.pietan@alaska.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I believe you have do two separate checks.  don't really remember<br>
<br>
James Pietan<br>
System Programmer I<br>
SOA DOA ETS MAD<br>
<br>
Sent from my iPhone<br>
<div class="HOEnZb"><div class="h5"><br>
On Feb 29, 2016, at 8:59 AM, Albert Braden <<a href="mailto:abraden@about.com">abraden@about.com</a>> wrote:<br>
<br>
I am trying to use check_disk to alert if any drive is >60% full, or if any drive has less than 80M free, by using this command:<br>
<br>
/usr/lib64/nagios/plugins/check_disk -l -x /dev -x /dev/shm -x /proc -x /dev/fd -w 40% -c 40% -C -w 80M -c 80M<br>
<br>
My /var is 65% full, so I should get an alert but I do not:<br>
<br>
DISK OK - free space: / 422045 MB (97% inode=99%); /boot 423 MB (91% inode=99%); /var 3353 MB (35% inode=99%);...<br>
<br>
If I remove the "80M" check then it works:<br>
<br>
/usr/lib64/nagios/plugins/check_disk -l -x /dev -x /dev/shm -x /proc -x /dev/fd -w 40% -c 40%<br>
<br>
DISK CRITICAL - free space: / 422045 MB (97% inode=99%); /boot 423 MB (91% inode=99%); /var 3352 MB (35% inode=99%);...<br>
<br>
Is it not possible to check both?<br>
<br>
Albert Braden<br>
About.com Systems Operations<br>
mobile: 917-480-1090<br>
<br>
<br>
</div></div></blockquote></div><br></div></div></div>