check-nt-disk

REMY Julien julien.remy at ohs.asso.fr
Tue Jul 11 11:27:33 CEST 2006


I resolved my problem.    

It is necessary to look at the password defined in the base of register of the Windows servers (default None) and then to add in the check_nt the option -s None

-----Message d'origine-----
De : Morris, Patrick [mailto:patrick.morris at hp.com] 
Envoyé : lundi 10 juillet 2006 17:15
À : REMY Julien; nagios-users at lists.sourceforge.net
Objet : RE: [Nagios-users] check-nt-disk

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of REMY Julien
> Sent: Monday, July 10, 2006 8:07 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check-nt-disk
> 
> # 'check_nt' command definition
> define command {
> 	command_name	check-nt-disk
> 	command_line	$USER1$/check_nt -H $HOSTADDRESS$ -p 
> 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
> 	}
> 
> When I go in the Nagios interface, I have a message : 
> 
> Freespace disk C : status critical, status information 
> Connexion refusée Or Freespace disk C : status unknown, 
> status information NsClient - ERROR :Wrong Password
> 
> What is it ?

My guess, based on the error message, is that you're not sending the correct password (actually, you're not sending any password).

>From "check_nt -h:"

-s <password>
  Password needed for the request


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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