Xymon Mailing List Archive search

Configuring analysis.cfg

list Ralph Mitchell
Tue, 19 Sep 2017 20:30:52 -0400
Message-Id: <CAAEjoCWq1tXmN-62Pi2Gpd09++B7h=user-11e9da2972e8@xymon.invalid>

That first entry should be the other way around:

HOST=scamanda01.lereta.com
     LOAD 8.0 12.0

I think you need different quotes on the other entry:

HOST=scaqmsrr01d.lereta.net
     PORT  "LOCAL=%*:5000"  STATE=LISTEN  "TEXT=dgt balancer"

Ralph Mitchell


On Tue, Sep 19, 2017 at 5:42 PM, Stephen Carville <user-6ec031efcf79@xymon.invalid>
wrote:
I added the following lines to analysis.cfg:

LOAD 8.0 12.0  HOST=scamanda01.lereta.com

HOST=scaqmsrr01d.lereta.net
  PORT LOCAL=%*:5000 STATE=LISTEN TEXT="dgt balancer"

As I understand the man page, the first should cause the cpu to go
yellow at a load average of 8.0 and red at 12.0 but only for
scamanda01.lereta.com.

The second and third lines should cause xymon to report the state of
port 5000 for scaqmsrr01d.lereta.net.

My understanding must be wrong because neither works as I expect them
to.  Did I mess up the syntax?  Is there something else I need to do to
make this work?

--
Stephen

--
Stephen Carville
Serf Without Portfolio
XXX.XXX.XXXX x1326
user-45c5e542adfd@xymon.invalid
There is no "I" in Team but there is in Integrity.