check_local_disk with MBs instead of %

Subhendu Ghosh sghosh at sghosh.org
Wed Apr 30 00:20:23 CEST 2003


On Tue, 29 Apr 2003, Rainer wrote:

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

You might want to check the options on the actual plugin - check_disk and 
check_nt


-h will print out the help screen.

-- 

-sg



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





More information about the Users mailing list