<div dir="ltr">Hello<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 28, 2016 at 3:36 AM usa ims via Xymon <<a href="mailto:xymon@xymon.com">xymon@xymon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><span style="line-height:1.5">In this script, it says:</span><br></div><div><br></div><div dir="ltr">        # In the config file, we are expecting things like these:<br>        #<br>        #  log:/path/to/file:maxsize<br>        #    ignore MARK<br>        #    trigger stuff<br>        #  linecount:/path/to/file<br>        #    label1:regex1<br>        #    label2:regex2</div></div></div></blockquote><div><br></div><div>It also says, a few lines further on:</div><div><br></div><div><div>        # Note: Due to the complexity in keeping state,</div><div><span class="Apple-tab-span" style="white-space:pre">   </span># only "file:" and "dir:" are implemented at this</div><div><span class="Apple-tab-span" style="white-space:pre">        </span># stage.  Neither can backticks be used yet (the</div><div><span class="Apple-tab-span" style="white-space:pre">    </span># result is unknown).  The "file:" setting cannot</div><div><span class="Apple-tab-span" style="white-space:pre"> </span># use the optional hash field yet.  Linecount does</div><div><span class="Apple-tab-span" style="white-space:pre">  </span># not require state, but simply hasn't yet been</div><div><span class="Apple-tab-span" style="white-space:pre">  </span># implemented.</div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div dir="ltr"><span style="line-height:1.5">I'm trying to set the thresholds for green, yellow, and red and I don't know how using a client-less script. Which config file and where?</span></div></div></div></blockquote><div><br></div><div>Are you trying to use "log:" or "linecount:"?  For what attributes are you trying to set thresholds?  Perhaps you could share your configuration?</div><div><br></div><div>To be honest, xymon-rclient is primarily to collect the basic instrumentation available for CPU, memory, disk usage and the like, that would otherwise be collected by the Xymon client installed on the box, if it were possible to do so.  Other features, like those that are configured in client-local.cfg, are less likely to be fully support.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div></div>