NSClient

Gert gert.lindstrom at brevik.nu
Thu Mar 13 08:01:05 CET 2003


The password is in the recources file $USER5$=password


Carlos Guevara wrote on Wed, 12 March 2003 21:27
> Try double-checking the password.
> 
> Is the password USER5, or are you trying to pass the password as an
> argument?
> 
> --
> Carlos Guevara
> A+, CCA, CCNA, CNE, Linux+, MCSE
> carlos at carlosguevara.com
> http://www.carlosguevara.com/
> 
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:[email]nagios-users-admin at lists.sourceforge.net]On[/email] Behalf Of Gert
> Sent: Wednesday, March 12, 2003 3:47 PM
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] NSClient
> 
> 
> 
> Hello.
> I hope you can help me out here.
> 
> I am trying to use nsclient in Nagios. It works fine from the command line
> getting the data från the W2K server but in Nagios i get an"Could not parse
> arguments" error.
> 
> Here are my configs.
> >From checkcommands
> # 'check_nt_disk' command definition
> define command{
> 	command_name	check_nt_disk
> 	command_line	$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s $USER5$ -v
> USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
> 	}
> 
> from services
> # Service definition for checking Disk C Free Disk Space on Windows 2000
> system
> define service{
> 	use				generic-service
> 	host_name			vanserv
> 	service_description		Drive C Space
> 	is_volatile			0
> 	check_period			24x7
> 	max_check_attempts		3
> 	normal_check_interval		1
> 	retry_check_interval		1
> 	contact_groups			nt-admins
> 	notification_interval		120
> 	notification_period		24x7
> 	notification_options		c,w,r
> 	check_command			check_nt_disk!C!85!90
> 	}
> 
> Regards
> Gert
> 
> 
> 
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> 
> 
> 
> 
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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