check_disk: Warning threshold must be integer or percentage
Emmanuel Halbwachs
Emmanuel.Halbwachs at lpn.cnrs.fr
Thu May 19 16:02:53 CEST 2005
Richard Overton (OmniBus - Stanford) a écrit :
> How to I set the check_disk: threshold must be integer or percentage
To have help for a plugin, option -h:
$ /usr/lib/nagios/plugins/check_disk -h
For example:
# check if free space is < 20% (warn), < 10% (crit)
$ /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /
# check if free space is < 3000 MB (warn), < 1000 MB (crit)
$ /usr/lib/nagios/plugins/check_disk -w 3000 -c 1000 -p /
HTH,
--
Emmanuel Halbwachs Labo. de Photonique et Nanostructures
tel : (+33)1 69 63 61 34 CNRS UPR 20
fax : (+33)1 69 63 60 06 Route de Nozay F 91460 Marcoussis
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list