Xymon Mailing List Archive search

Xymon column headers in the Dashboard.

3 messages in this thread

list INC. Agege Information Systems · Thu, 3 Mar 2016 07:50:38 -0600 ·
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
list Jeremy Laidman · Sat, 05 Mar 2016 12:47:44 +0000 ·
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. <
quoted from INC. Agege Information Systems
user-67dc27681f67@xymon.invalid> 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

list INC. Agege Information Systems · Wed, 9 Mar 2016 21:39:53 -0600 ·
Thank you Jeremy.

I will try it and let you know. I have another question.
Is there a way to setup an alert for Windows 2000 and Windows 2003 that’s been up and running for more than 120days.

The reason been is that we have no way of knowing which Windows server have been running for over 120 days.

Thank you in advance,

Best regards,
Agege

quoted from Jeremy Laidman
On Mar 5, 2016, at 6:47 AM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid> wrote:

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="
b) The "ssl" certificate test column can be changed with "--ssl="
c) Similarly for content checks for web pages, "--content="
quoted from Jeremy Laidman
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. <user-67dc27681f67@xymon.invalid> 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