<html>
<head>
</head>
<body>
Actually, I believe there is no argument passing for host checks in Nagios
1.*  I know I have seen it added to the code for the 2.0 line.  Someone correct
me if I'm wrong.<br>
<br>
Russell<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:chris@kive.net">chris@kive.net</a> wrote:<br>
<blockquote type="cite" cite="mid:4391.12.91.237.91.1052409563.squirrel@www.kive.net">
  <pre wrap="">Patrick,<br><br>Make sure you add an entry for check_host_cluster into your<br>checkcommands.cfg file. Your '2' would become $ARG1$, your '4' would<br>become $ARG2$, and your '/usr/local/nagios/etc/hostcluster.cfg' would<br>become $ARG3$.<br><br>I'm guessing that is where your problem lies - hope it helps!<br><br>-Chris<br><br><br></pre>
  <blockquote type="cite">
    <pre wrap="">I'm reading the docs on clusters and it seems to suggest that you can<br>pass arguments to host check commands:<br><br></pre>
    <blockquote type="cite">
      <pre wrap="">check_host_cluster!2!4!/usr/local/nagios/etc/hostcluster.cfg<br></pre>
      </blockquote>
      <pre wrap="">But when I try this I get errors from the pre-flight check stating that<br>the command is not found.<br><br>I checked the source and effecetively there is no argument parsing<br>occuring for host commands (base/config.c:1477 vs base/config.c:1308)<br><br>Is there a patch for this or something?<br><br>Thanks,<br><br>---------------------<br>Patrick LeBoutillier<br>Laval, Quebec, Canada<br></pre>
      </blockquote>
      <pre wrap=""><!----><br><br><br><br>-------------------------------------------------------<br>Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara<br>The only event dedicated to issues related to Linux enterprise solutions<br><a class="moz-txt-link-abbreviated" href="http://www.enterpriselinuxforum.com">www.enterpriselinuxforum.com</a><br><br>_______________________________________________<br>Nagios-users mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null<br><br><br></pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="$mailwrapcol">-- 
Russell Scibetti
Quadrix Solutions, Inc.
<a class="moz-txt-link-freetext" href="http://www.quadrix.com">http://www.quadrix.com</a>
(732) 235-2335, ext. 7038
</pre>
      <br>
      </body>
      </html>