<p>If check_disk warning threshold is set incorrectly, "%20", check won't work, but doesn't output any error:</p>

<p>Incorrectly behaviour:</p>

<pre><code>/usr/lib64/nagios/plugins/check_disk -w %80 -c %10 /
DISK OK - free space: / 4482 MB (71% inode=86%);| /=1743MB;6559;6559;0;6559
</code></pre>

<p>Expected some error.</p>

<p>Correctly</p>

<pre><code>/usr/lib64/nagios/plugins/check_disk -w 80% -c 10% /
DISK WARNING - free space: / 4482 MB (71% inode=86%);| /=1743MB;1311;5903;0;6559
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href='https://github.com/monitoring-plugins/monitoring-plugins/issues/1237'>Reply to this email on GitHub</a>.<img src='https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNzczMjAwMiwiZGF0YSI6eyJpZCI6MjU0OTQ1OTB9fQ==--ef3145e0a2d7ce2103e058a3940420aae7f647fb.gif' height='1' width='1'></p>