<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:ns0 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-WEIGHT: normal; COLOR: navy; FONT-STYLE: normal; FONT-FAMILY: "Courier New"; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250294819-29012008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250294819-29012008>Should your command be</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250294819-29012008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250294819-29012008><FONT face="Times New Roman"
color=#000000>$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l
$ARG1$</FONT><BR></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250294819-29012008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT><SPAN class=250294819-29012008><FONT size=2><FONT
color=#000080><FONT face="Courier New">check_nt -H $HOSTADDRESS$ -p 12489 <FONT
color=#ff0000>-s
$USER7$<o:p></o:p></FONT></FONT></FONT></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=250294819-29012008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Palle L
Jensen<BR><B>Sent:</B> Tuesday, January 29, 2008 10:32 PM<BR><B>To:</B> Nagios
Users<BR><B>Subject:</B> [Nagios-users] check_nt: Could not parse
arguments<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">Morning
all,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">I am having an
issue with adding cpuload monitoring on windows
machines.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">I know there are
no issues on the windows side since I have other services being monitored with
no problems.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">Also the error
message tells me the arguments that are specified are not
correct.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">I have google’d,
and checked the Nagios documentation and tried different ways, but non
works.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">And this is were
I am at now. Could anyone look this over and tell me what is
wrong?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">-
Error:</SPAN></FONT> <FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">check_nt: Could
not parse arguments<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">- Check command
definition:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">define
command{<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">
command_name check_nt_cpu<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s
$USER7$<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">- Service
definition:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">define
service{<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">
use
generic-service<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">
host_name
host001<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">
service_description CPU load<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">
servicegroups
load<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">
check_command check_nt_cpu!CPULOAD! -l
5,80,90<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">
}<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><BR>Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=navy size=1><SPAN
style="FONT-SIZE: 9pt; COLOR: navy; FONT-FAMILY: 'Courier New'">Palle<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="VERTICAL-ALIGN: top"><FONT face="Courier New"
color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>