Xymon Mailing List Archive search

Feature requests, combo.d, uptime alert, xymonserver.cfg syncing

4 messages in this thread

list David W David Gore · Tue, 29 Nov 2011 10:25:34 -0500 ·
* combo.d directory for combo includes. Helps to organize.
* uptime configurable to be a red alert. Quite often a machine can reboot quickly and we can be unaware for some time, we would like to be alerted so we can restart all application processes ASAP to minimize downtime.

From xymond_client.c:

    if (cpucolor == COL_GREEN) cpucolor = COL_YELLOW;
    addtobuffer(upmsg, "&yellow Machine recently rebooted\n");

* TEST2RDD and GRAPHS variables moved to another file, perhaps an include for xymonserver.cfg? Why do I ask because we have dual Xymon servers running for redundancy and it would be nice if I could easily rsync these 2 variables in a file that does not have host specific variables.  Currently I cannot rsync xymonserver.cfg because of the XYMONSERVERHOSTNAME, XYMONSERVERIP, XYMONSERVERWWWNAME variables.

For the last one I am probably going to copy xymonserver.cfg to the second server and diff the files for anything but the 3 variables above and to send an alert to remind the person who made the GRAPHS and TEST2RDD changes to update the other server.

As always thanks for the great work!

~David Gore
list Jeremy Laidman · Wed, 30 Nov 2011 16:31:19 +1100 ·
On Wed, Nov 30, 2011 at 2:25 AM, Gore, David W (David)
quoted from David W David Gore
<user-368fd67cc6bd@xymon.invalid> wrote:
* TEST2RDD and GRAPHS variables moved to another file, perhaps an include for xymonserver.cfg? Why do I ask because we have dual Xymon servers running for redundancy and it would be nice if I could easily rsync these 2 variables in a file that does not have host specific variables.  Currently I cannot rsync xymonserver.cfg because of the XYMONSERVERHOSTNAME, XYMONSERVERIP, XYMONSERVERWWWNAME variables.
Ditto.  It would be really helpful to be able to use "include" like this:

  include xymonserver-${HOSTNAME}.cfg

or

  include xymonserver-`uname -n`.cfg

Then I can create xymonserver-xymon1.cfg and xymonserver-xymon2.cfg on
both servers and keep the whole directory in sync.

Cheers
Jeremy
list Henrik Størner · Wed, 30 Nov 2011 13:18:03 +0100 ·
On Tue, 29 Nov 2011 10:25:34 -0500, "Gore, David W (David)"
<user-368fd67cc6bd@xymon.invalid> wrote:
* combo.d directory for combo includes. Helps to organize.
OK, I thought I had been through the various config files and made them
all use the standard functions that support "include" and "directory".
Missed this one, it seems - and the protocols.cfg. Fixed for 4.3.6.
quoted from David W David Gore
* uptime configurable to be a red alert. Quite often a machine can
reboot
quickly and we can be unaware for some time, we would like to be alerted
so
we can restart all application processes ASAP to minimize downtime.
Will be in 4.3.6.
quoted from Jeremy Laidman
* TEST2RDD and GRAPHS variables moved to another file, perhaps an
include
for xymonserver.cfg? Why do I ask because we have dual Xymon servers
running for redundancy and it would be nice if I could easily rsync
these 2
variables in a file that does not have host specific variables. 
Currently
I cannot rsync xymonserver.cfg because of the XYMONSERVERHOSTNAME,
XYMONSERVERIP, XYMONSERVERWWWNAME variables.
Easy to do (since I do that already). Create a xymonserver.cfg on each
server which holds only the site-specific stuff (those three variables you
mention), then put an "include xymonserver-common.cfg" at the bottom. Then
you keep all of the standard config (like TEST2RRD) in the common
config-file.


Regards,
Henrik
list David W David Gore · Wed, 30 Nov 2011 07:31:34 -0500 ·
Very, very cool, Henrik and much appreciated!


~David Gore
quoted from Henrik Størner


-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of user-ce4a2c883f75@xymon.invalid
Sent: Wednesday, November 30, 2011 07:18
To: xymon at xymon.com
Subject: Re: [Xymon] Feature requests, combo.d, uptime alert, xymonserver.cfg syncing

On Tue, 29 Nov 2011 10:25:34 -0500, "Gore, David W (David)"
<user-368fd67cc6bd@xymon.invalid> wrote:
* combo.d directory for combo includes. Helps to organize.
OK, I thought I had been through the various config files and made them
all use the standard functions that support "include" and "directory".
Missed this one, it seems - and the protocols.cfg. Fixed for 4.3.6.
* uptime configurable to be a red alert. Quite often a machine can
reboot
quickly and we can be unaware for some time, we would like to be alerted
so
we can restart all application processes ASAP to minimize downtime.
Will be in 4.3.6.
* TEST2RDD and GRAPHS variables moved to another file, perhaps an
include
for xymonserver.cfg? Why do I ask because we have dual Xymon servers
running for redundancy and it would be nice if I could easily rsync
these 2
variables in a file that does not have host specific variables. 
Currently
I cannot rsync xymonserver.cfg because of the XYMONSERVERHOSTNAME,
XYMONSERVERIP, XYMONSERVERWWWNAME variables.
Easy to do (since I do that already). Create a xymonserver.cfg on each
server which holds only the site-specific stuff (those three variables you
mention), then put an "include xymonserver-common.cfg" at the bottom. Then
you keep all of the standard config (like TEST2RRD) in the common
config-file.


Regards,
Henrik