<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>Hello all</FONT></DIV>
<DIV><FONT face=Arial size=2>I am running Nagios2.5 on a fredora core 5
server</FONT></DIV>
<DIV><FONT face=Arial size=2>i am trying to check uptime on a windows xp prof.
desktop. i have the NSclient installed on the desktop and i can check the uptime
on the desktop using the </FONT></DIV>
<DIV><FONT face=Arial size=2>./check_nt -H <host IP> -p 1248 -v
UPTIME</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>but configuring my minimal.cfg and my
checkcommands.cfg file i get an error</FONT></DIV>
<DIV><FONT face=Arial size=2>the error is as below</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><STRONG>Checking services...<BR>Error: Service check command 'check_nt -H
172.16.1.103 -p 1248 -v' specified in service 'check-nt' for host 'helpdesk' not
defined anywhere!<BR> Checked 1
services.</STRONG></DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV><BR><STRONG>define host{<BR>
use
generic-host ;
Name of host template to use<BR>
host_name
helpdesk<BR>
alias
helpdesk<BR>
address
172.16.1.103<BR>
check_command
check-nt<BR>
max_check_attempts
10<BR>
check_period
24x7<BR>
notification_interval
120<BR>
notification_period
24x7<BR>
notification_options
d,r<BR> contact_groups
admins<BR> }</STRONG></DIV>
<DIV><BR><STRONG>define service{<BR>
use
generic-service ; Name of
service template to use<BR>
host_name
helpdesk<BR>
service_description
check-nt<BR>
is_volatile
0<BR>
check_period
24x7<BR>
max_check_attempts
4<BR>
normal_check_interval
5<BR>
retry_check_interval
1<BR>
contact_groups
admins<BR>
notification_options
w,u,c,r<BR>
notification_interval
960<BR>
notification_period
24x7<BR>
check_command
check_nt -H 172.16.1.103 -p 1248
-v<BR> }</STRONG></DIV>
<P><STRONG></STRONG> </P>
<P><STRONG>define command{<BR>
command_name check_nt</STRONG></P>
<P><STRONG>command_line $USER1$/check_nt -H $HOSTADDRESS$ -p
$ARG1$ -v check-nt<BR>}</STRONG></P>
<P>any help is appreciated</P>
<P>ganesh<BR></P>
<DIV><BR><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>