<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Answering my own question.<br><br>I still don't know what the manpage means exactly, but I discovered complete by accident - <br><br> the values I specified at the end of the CMD line is loaded into the environment. <br><br>I was trying to access $1 and $2 but instead got ASERV and TTOLIV (and BOGO) set in the environment. I can work with that! <br><br>here is what I have in clientlaunch.cfg <br><br>[check_mpaths]<br> ENVFILE $XYMONCLIENTHOME/etc/xymonclient.cfg<br> CMD $XYMONCLIENTHOME/ext/check_mpaths TTOLIV=5 ASERV=60.75.1.171 BOGO=FOO<br> LOGFILE $XYMONCLIENTHOME/logs/check_mpaths.log<br> INTERVAL 5m<br><br><br><div><hr id="stopSpelling">From: bakgat8@hotmail.com<br>To: xymon@xymon.com<br>Date: Tue, 18 Feb 2014 13:10:13 -0500<br>Subject: [Xymon] clientlaunch.cfg question<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr"><pre> The <b>command </b>is defined by the CMD keyword. <font style="" color="#8C0095"><i>This is the full command
including any options you want to use for this task. </i></font>This is required for
all tasks.<br><br>When is says<br><br>including any options you want to use for this task.
<br><br>what does it mean?<br><br>I was hoping I can pass in some arguments to my script, but it does not work.<br><br>So what would be an example of an <i>option for this task</i>?<br><br>Befuddled.<br><br>Bakkies<br>
</pre> </div>
<br>_______________________________________________
Xymon mailing list
Xymon@xymon.com
http://lists.xymon.com/mailman/listinfo/xymon</div> </div></body>
</html>