[Xymon] Xymon column headers in the Dashboard.

Jeremy Laidman jlaidman at rebel-it.com.au
Sat Mar 5 13:47:44 CET 2016


Agege

Most column names created by built-it tests cannot be changed.  There are a
few exceptions, such as these (undocumented):

a) The "conn" (ie ping) test can be changed by having xymonnet launched
with "--ping=<colname>"
b) The "ssl" certificate test column can be changed with "--ssl=<colname>"
c) Similarly for content checks for web pages, "--content=<colname>"
You can also ignore columns from the display, by having xymongen run with
"--ignorecolumns=test1,test2,..."

Of course any test scripts that you write yourself can be made to report to
any column name you wish.

You could write a client-side script that reports the status of IPv6.
Details on writing your own scripts are in the "Tips and Tricks" notes:
http://xymon.sourceforge.net/xymon/help/xymon-tips.html#scripts

For IPv6 you could check for an "inet6" entry in the output of "ifconfig
-a", and report accordingly.  Something like this:

#!/bin/sh
if /sbin/ifconfig -a | grep inet6 >/dev/null; then
  COL=red; MSG="IPv6 detected"
else
  COL=green; MSG="IPv6 not detected"
fi
$XYMON $XYMSRV "status $MACHINE.ipv6 $COL `date`

$MSG
"

Now, just arrange for this to be run on the Xymon client in the Xymon
environment, such as from an entry in clientlaunch.cfg, and it should
report the IPv6 state for you.

Cheers
Jeremy



On Fri, Mar 4, 2016 at 12:50 AM Agege Information Systems, Inc. <
cs at agege.com> wrote:

> Greetings,
>
> I am new to Xymon and I need your help in the following areas.
>
>                 1. How can I modify Xymon column headers in the Dashboard.
> ( i.e  ssh cpu men).
>                 2. I am looking for ways to get alerts when ever ipv6 is
> enable on the servers.
>
> Thank you for your considerations.
>
> Best regards,
> Agege
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160305/edb4777f/attachment.html>


More information about the Xymon mailing list