<div dir="ltr"><div dir="auto">Hello Evan,<div dir="auto"><br></div><div dir="auto">please check the samples in the documentation:</div><div dir="auto"><br></div><div dir="auto"><a href="https://www.monitoring-plugins.org/doc/man/check_disk.html">https://www.monitoring-plugins.org/doc/man/check_disk.html</a><br></div><div dir="auto"><br></div><div>E.g.:</div><div><br></div><div><pre style="font-family:"Source Code Pro",monospace;color:rgb(0,0,0)"><code style="font-family:"Source Code Pro",monospace">Examples:
check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p /
Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB
check_disk -w 100 -c 50 -C -w 1000 -c 500 -g sidDATA -r '^/oracle/SID/data.*$'
Checks all filesystems not matching -r at 100M and 50M. The fs matching the -r regex
are grouped which means the freespace thresholds are applied to all disks together
check_disk -w 100 -c 50 -C -w 1000 -c 500 -p /foo -C -w 5% -c 3% -p /bar
Checks /foo for 1000M/500M and /bar for 5/3%. All remaining volumes use 100M/50M</code></pre></div><div>Best regards<br>Oliver</div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">Am 18.05.2017 11:18 schrieb "Eran Madhalla" <<a href="mailto:eran.m@gns.co.il" target="_blank">eran.m@gns.co.il</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_2779797222714508284m_-6106943222491637263WordSection1">
<p class="MsoNormal">Hello-and thenx for the great article on all the option in nagios<u></u><u></u></p>
<p class="MsoNormal">I have question:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Disk_check –check all the disks in the server will alert when the space get to 10%<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I want- that only /boot partition will be alert in 5% ( all the rest will stay 10%)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">How to do please?<u></u><u></u></p>
</div>
</div>
</blockquote></div></div>
</div>