Re: about nagios check
Oliver Skibbe <[email protected]> Thu, 18 May 2017 11:47:52 +0200
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <CA+EV5H=HBS+q-e3+yY+zCve-K3RDBsTkJTbj7EQr9euw7e=Q4Q__13261.2754744061$1495100899$gmane$org@mail.gmail.com> |
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-/fl2zr3/TYpmR6Xm/[email protected]>:
> 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?
>