Feature requests, combo.d, uptime alert, xymonserver.cfg syncing
- 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
On Wed, Nov 30, 2011 at 2:25 AM, Gore, David W (David) <david.gore at verizon.com> 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
On Tue, 29 Nov 2011 10:25:34 -0500, "Gore, David W (David)" <david.gore at verizon.com> 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
Very, very cool, Henrik and much appreciated!
~David Gore
-----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of henrik at hswn.dk 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)" <david.gore at verizon.com> 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (3)
-
david.gore@verizon.com
-
henrik@hswn.dk
-
jlaidman@rebel-it.com.au