check_nt plugins

Michael Hüttig Michael.Huettig at Medien-Systempartner.de
Mon Feb 10 16:44:25 CET 2003


> I would like to ask why does the warning and critical
> option in check_nt nagios plugins wont work? It only
> works to verify my disk space. Below is my sample
> command:
>
> ./check_nt -H <host ip address> -v USEDDISKSPACE  -w
> 50 -c 60 -l c
>
> output:
>
> c:\ - total: 4.00 Gb - used: 3.34 Gb (83%) - free 0.66
> Gb (17%)
>
> Eventhough I increase or decrease the value of -w and
> -c , it doesn't have an effect.
>
>
> Thanks
> Bernie
>
Hi Bernie,
I'm looking to the sources and i've found that in
check_nt.c
...
	int check_warning_value=FALSE;
	int check_critical_value=FALSE;
...

but i'm not so firm in programming C, so that i'm not shure that it's wrong, 
'cause the other routines will working properly. If you have some time to test it, please let me know.

Greetings

Michael



**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list