nagios and windows Nt Please help...

hrishy hrishys at yahoo.co.uk
Thu Mar 27 08:29:07 CET 2003


Hi

When i am say from teh command prompt

./check_nt -H 176.1.111.242 -p 1248 -v UPTIME
System Uptime : 0 day(s) 1 hour(s) 48 minute(s)

this works however..nagios shows me that there is no
output why ?my check_commnads.cfg file looks like this

I am not able to get output for any command from
nagios while i can get the ouptut from commnad prompt.

# 'check-host-alive' command definition
define command{
command_name    check-host-alive
command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w
3000.0,80% -c 5000.0,100% -p 1
}

define command{
command_name  check_nt_disk
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
}

define command{
command_name  check_nt_cpuload
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v CPULOAD -l $ARG1$
}


define command{
command_name  check_nt_uptime
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v UPTIME
}

define command{
command_name  check_nt_process
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v PROCSTATE -l $ARG1$
}

define command{
command_name  check_nt_service
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v SERVICESTATE -l $ARG1$
}

define command{
command_name  check_nt_memuse
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v MEMUSE -w $ARG1$ -c $ARG2$
}

define command{
command_name  check_nt_fileage
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$
}

define command{
command_name  check_nt_pagingfile
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v COUNTER -l "\\Paging File(_Total)\\%
Usage","Paging File usage is %.2f %%" -w $ARG1$ -c
$ARG2$
}

__________________________________________________
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:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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