Re: [Nagios-users] check-nt-disk

2006-07-11 Thread REMY Julien
Hello

What is the password that Nagios asks ?

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

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of REMY Julien
 Sent: Monday, July 10, 2006 8:07 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] check-nt-disk
 
 # 'check_nt' command definition
 define command {
   command_namecheck-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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check-nt-disk

2006-07-11 Thread REMY Julien
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:[EMAIL PROTECTED] 
Envoyé : lundi 10 juillet 2006 17:15
À : REMY Julien; nagios-users@lists.sourceforge.net
Objet : RE: [Nagios-users] check-nt-disk

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of REMY Julien
 Sent: Monday, July 10, 2006 8:07 AM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] check-nt-disk
 
 # 'check_nt' command definition
 define command {
   command_namecheck-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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] check-nt-disk

2006-07-10 Thread REMY Julien
Hello

I'm configuring Nagios. I want to view the freespace of C in my servers.

I put in checkcommands.cfg : 

# 'check_nt' command definition
define command {
command_namecheck-nt-disk
command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v 
USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
}

I put in my services.cfg : 

# Espace libre Disque C 
define service{
use generic-service ; Name of 
service template to use

host_name   tsefl2
service_description freespace disk C 
is_volatile 0
check_period24x7
max_check_attempts  3
normal_check_interval   3
retry_check_interval1
contact_groups  informatique
notification_interval   120
notification_period 24x7
notification_optionsw,u,c,r
check_command   check-nt-disk!C!83%!86%
}

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 ?

how makes to inform my contacts when there remains only 20% of free space on my 
disk C.

thank you

OS : redhat EL 4
Servers : Windows 2003 Server
Nagios : 2.4



-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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