<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 11/07/11 07:44, nag ios wrote:
<blockquote
cite="mid:CAKnEZdreP6mRnmWfqAtxbEaagiAq3C2thX3q6s3CZadh=Xfoaw@mail.gmail.com"
type="cite"><br>
<div>In the command.cfg file i have added the following lines</div>
<div> </div>
<div><font color="#006600">define command{</font></div>
<div><font color="#006600"> command_name check_wmi</font></div>
<div><font color="#006600"> command_line $USER1$/<a
moz-do-not-send="true" href="http://check_wmi.pl">check_wmi.pl</a>
-H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$</font></div>
<div><font color="#006600"> }</font></div>
</blockquote>
<br>
<br>
Hi<br>
<br>
<font color="#000000">Try changing the command to the following<br>
<br>
<br>
</font><font color="#000000">command_line $USER1$/<a
href="http://check_wmi.pl">check_wmi.pl</a> -H hostname -u
domainname/user -p password -w $ARG1$ -c $ARG2$ </font><font
color="#000000">-m </font><font color="#000000">$ARG0$<br>
<br>
<br>
as </font><font color="#000000">checkcpu is not passed</font><font
color="#006600"><font color="#000000"> to the check</font></font><br>
</body>
</html>