check_nt syntax for USEDDISKSPACE in checkcom mand.cfg

Voon, Ton Ton.Voon at egg.com
Thu Feb 13 14:29:42 CET 2003


You're missing a $ at the end of $HOSTADDRESS$

> -----Original Message-----
> From:	joknight at blueyonder.co.uk [SMTP:joknight at blueyonder.co.uk]
> Sent:	Thursday, February 13, 2003 12:56 PM
> To:	Nagios-users at lists.sourceforge.net
> Subject:	[Nagios-users] check_nt syntax  for USEDDISKSPACE in
> checkcommand.cfg
> 
> Hi,
> 
> I have just set Nagios up and am trying to get the check_nt command
> configured correctly to monitor diskspace. I have installed the nsclient
> service on a few NT/2000 servers and have copied the check_nt binary into
> the libexec directory. I can run the check_nt command with the -v
> USEDDISKSPACE -l <drive-letter> manually and it reports the free space on
> the drive with no problems.
> 
> When I looked in my checkcommand.cfg there was no entry for check_nt, so I
> added the following:
> 
> define command{
>         command_name    check_nt_space_d
>         command_line    $USER1$/check_nt -H $HOSTADDRESS -v USEDDISKSPACE
> -l d
>         }
> 
> When I add the service to a host it runs but I get 'null' returned. What
> syntax do I need to use in checkcommand.cfg in order to get this working
> correctly. I have tried searching for other peoples checkcommand.cfg files
> on google but have not yet found any.
> 
> Many thanks for any help,
> Jo
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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