FW: check_local_disk with MBs instead of %

Darryl Dixon darryl.dixon at oxygenforbusiness.com
Wed Apr 30 01:30:51 CEST 2003


Hi all,

    Sorry to jump in on the list like this, but having been forwarded
the message below I figured I may as well.  About a year ago I modified
whatever the current version of the check_nt.c file was to support this
functionality.  I have been planning to release a diff against the
current source (ethan knows about this) as well but just haven't had
time yet.  If you can afford to wait a week or two I will put this at
the top of my 'TODO' list and post the diff shortly...

:-)

Darryl Dixon (RHCE, MCSE)
Unix Systems Administrator
Oxygen Business Solutions
darryl.dixon at oxygenforbusiness.com



On Wed, 2003-04-30 at 10:34, Massey, Craig wrote:

> Do you want this one? I think non-subscribers can post to the list, if
> not I can do it on your behalf. As I said, a LOT of people ask for this.
> 
> -----Original Message-----
> From: Rainer [mailto:sourceforge at rainer.net]
> Sent: Wednesday, April 30, 2003 9:39 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_local_disk with MBs instead of %
> 
> 
> Hello,
> 
> How can I use the check_local_disk plug-in with a "free X MBs" instead
> of 
> "free X%" argument?
> 
> check_local_disk!300!200!"/dev/sda1"
> would send a WARNING notification when /dev/sda1 has only 300mb free,
> and a 
> CRITICAL notification when it reaches 200mb.
> 
> Could it also be accomplished on Windows machines with NSClient 
> (check_nt_disk) ?
> check_nt_disk!C!300!200
> 
> 
> Thanks in advance,
> 
> Rainer 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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

-- 
Darryl Dixon <darryl.dixon at oxygenforbusiness.com>
Oxygen Business Solutions

DISCLAIMER:  This electronic message together with any attachments is 
confidential.  If you are not the intended recipient, do not copy, disclose or 
use the contents in any way.  Please also advise us by return e-mail that you 
have received the message and then please destroy.  Oxygen Business Solutions is not 
responsible for any changes made to this message and / or any attachments after 
sending by Oxygen Business Solutions.  We use virus scanning software but exclude all 
liability for viruses or anything similar in this email or any attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030430/07e79f05/attachment.html>


More information about the Users mailing list