[Xymon] xymon-rclient.sh clientless script

usa ims usaims at yahoo.com
Fri Apr 29 16:34:59 CEST 2016


The script is doing exactly what it is suppose to do, bringing that data back to the DISPLAY server and outputting it.
I'd like to set the disk usage to report yellow at 99 and red at 100, for now. 

I'm not using a a config file.
Thank you.

 

    On Thursday, April 28, 2016 8:20 PM, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:
 

 Hello

On Thu, Apr 28, 2016 at 3:36 AM usa ims via Xymon <xymon at xymon.com> wrote:

In this script, it says:

        # In the config file, we are expecting things like these:
        #
        #  log:/path/to/file:maxsize
        #    ignore MARK
        #    trigger stuff
        #  linecount:/path/to/file
        #    label1:regex1
        #    label2:regex2

It also says, a few lines further on:
        # Note: Due to the complexity in keeping state, # only "file:" and "dir:" are implemented at this # stage.  Neither can backticks be used yet (the # result is unknown).  The "file:" setting cannot # use the optional hash field yet.  Linecount does # not require state, but simply hasn't yet been # implemented. 
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?

Are you trying to use "log:" or "linecount:"?  For what attributes are you trying to set thresholds?  Perhaps you could share your configuration?
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.
CheersJeremy


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160429/3b124a59/attachment.html>


More information about the Xymon mailing list