check_nt
Tony
nagios at cerbernet.co.uk
Wed Jan 29 13:51:13 CET 2003
For a start you need to take out the IP address and port number from you
service definition as this is specified in your check command.
It should read
check_nt_disk!C!80!90
Give that a try.
Tony
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of hrishy
> Sent: 29 January 2003 11:46
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_nt
>
> Hi
>
> check_nt gives me a error message saying that there
> are wrong arguments supplied.
>
> my services.cfg file looks like this for check_nt
>
> # Service definition
> define service{
> use generic-service
> ;
> host_name nt1
> service_description check-disk-useage
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 5
> retry_check_interval 1
> contact_groups nt-admins
> notification_interval 120
> notification_period 24x7
> notification_options w,u,c,r
> check_command
> check_nt_disk!176.1.111.214!1248!C!80!90
> }
>
> and my checkcommands.cfg file looks like this
>
> define command{
> command_name check_nt_disk
> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p
> 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
> }
>
> how do i correctly specify the arguments in the
> services.cfg file.
>
> regards
> Hrishy
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
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