check_disk: Warning threshold must be integer or percentage

Richard Overton (OmniBus - Stanford) Richard.Overton at omnibus.co.uk
Fri May 20 10:48:17 CEST 2005


All what .cfg file do I put this line of command in?

Regards,
Rich Overton
Network Administrator
Omnibus Systems Ltd
Loughborough
Leicestershire
LE12 5PY
UK
T:  08705 004379
M: 07970134379
E: richard.overton at omnibus.co.uk
 
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Emmanuel Halbwachs
Sent: 19 May 2005 15:03
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] check_disk: Warning threshold must be integer or percentage

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=ick
_______________________________________________
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

This communication may contain information that is sensitive. It is intended for the exclusive use of the intended recipients. If you have received this email by an error or are not the intended recipient, then please note that any distribution, disclosure, copying or use is prohibited. Please notify us by either email or by telephone and then delete the email and copies of it. The opinions expressed in this communication are those of the sender and are not necessarily supported by Omnibus Systems Limited. 



-------------------------------------------------------
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