check_nt plugins

bernie liwanag bliwanag at yahoo.com
Tue Feb 11 02:36:52 CET 2003


Thanks to all your reply!

By the way this thing is not very critical to me. I
just want to use this as my test procedure before i
implement it in nagios configuration using the
web.However my check_nt plugins works in critical and
warning alert on the actual nagios web page.

Regards,
Bernie 

--- Michael Hüttig
<Michael.Huettig at Medien-Systempartner.de> wrote:
> > 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
>
**********************************************************************
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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