[Nagiosplug-help] Check_nt Diskusage

Russell Lusignan rlusignan at cygnal.ca
Thu Dec 16 12:59:07 CET 2004


 command line reports properly:

#./check_nt -H 172.16.1.56 -p 1248 -v USEDDISKSPACE -l c -w 90% -c 95%
c: - total: 37.27 Gb - used: 22.11 Gb (59%) - free 15.16 Gb (41%)
#

The check in the services.cfg executes properly and Nagios shows the
correct information, but regardless of what the -w value is, nagios
always reports it in a warning state. 

-----Original Message-----
From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] On Behalf Of Jan
Scholten
Sent: December 16, 2004 3:38 PM
To: Russell Lusignan
Cc: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] Check_nt Diskusage

Try to execute from the command_line and see what happens!

I experienced a problem using check_nt Version 1.4.alpha 1 which needed
the Drive letter as c: but older (and Newer (?) Versions handle that
correct again!
runs perfectly for me with:

   check_command                   check_nt_disk!c!90!95

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

Using Plugins 1.3 and NSClient 2.01

Jan

> define service {
>   use                   standard
>   host_name             pvr
>   service_description   Disk Usage D
>   check_command         check_nt_disk!d!80!90
> }
> 
> I have also tried the following which results in the same warnings 
> regardless of what the values are:
> 
> define service {
>   use                   standard
>   host_name             pvr
>   service_description   Disk Usage D
>   check_command         check_nt_disk!c!80%90%
> }
> 
> Any help would be appreciated, thanks!
> 
> -Russ
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid
reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.

::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list