about nagios check

Oliver Skibbe oliskibbe at gmail.com
Thu May 18 11:47:52 CEST 2017


Hello Evan,

please check the samples in the documentation:

https://www.monitoring-plugins.org/doc/man/check_disk.html

E.g.:

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

Best regards
Oliver


Am 18.05.2017 11:18 schrieb "Eran Madhalla" <eran.m at gns.co.il>:

> Hello-and thenx for the great article on all the option in nagios
>
> I have question:
>
>
>
> Disk_check –check all the disks in the server will alert when the space
> get to 10%
>
>
>
> I want- that only /boot partition will be alert in 5% ( all the rest will
> stay 10%)
>
>
>
> How to do please?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20170518/9d3edb12/attachment.html>


More information about the Help mailing list