Monitoring Free space on a Windows NT4/2000 box

Jo Knight joknight at blueyonder.co.uk
Sat Feb 15 12:14:23 CET 2003


Daniel,

You will need to download and install the NSClient service from
http://nsclient.ready2run.nl/

This has services for both win2k and NT4 clients and also has the check_nt
binary for linux which you need to copy into your libexec directory.

Put the following into your checkcommands.cfg:

# 'check_disk_use' command definition
define command {
        command_name    check_disk_use
        command_line    $USER1$/check_nt -H $HOSTADDRESS$ -v
USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
}

You can add services to your services.cfg file as follows:
define service {
use                     generic-service
host_name               <hostname>
service_description     DrvSpace E
is_volatile             0
check_period            24x7
max_check_attempts      3
normal_check_interval   5
retry_check_interval    1
contact_groups          svr-admins
notification_interval   120
notification_period     24x7
notification_options    c,r
check_command           check_disk_use!E!90!95
}

Hope that helps,
Jo

----- Original Message -----
From: "Daniel Jimenez" <DanielJ at avatar-cs.net>
To: <nagios-users at lists.sourceforge.net>
Sent: Saturday, February 15, 2003 10:13 AM
Subject: [Nagios-users] Monitoring Free space on a Windows NT4/2000 box


> All,
>
> I am looking to monitor the free space on my machines that I have running.
> It is about twenty (20) or so servers, all running either NT4 or Windows
> 2000. Is there a plug-in for this? If not, what other solutions do I have?
>
> Thanks,
>
> Daniel Jimenez
> Systems Administrator
> Avatar Computer Solutions, Inc.
> Network Support, Voice / Data Cabling, and Internet Services
> 340 N. Sam Houston Parkway E. Suite #265
> Voice: 281.999.1300 / 888.503.0503
> Fax: 281.999.7070
> Web:  www.avatar-cs.net <http://www.avatar-cs.net/>
>
>



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