[Xymon] Synchronize disabled servers from one xymon installation to another?

Carl Melgaard Carl.Melgaard at STAB.RM.DK
Wed Aug 10 12:43:28 CEST 2011


Hi,

Yeah, could be related - it's assuming minutes in 4.3.4 + an old 4.4.0-beta Im running too. Henrik - help! :)

/melgaard

________________________________
Fra: Gore, David W (David) [mailto:david.gore at verizon.com]
Sendt: 10. august 2011 12:18
Til: Carl Melgaard; 'xymon at xymon.com'
Emne: RE: [Xymon] Synchronize disabled servers from one xymon installation to another?

Carl,

I would guess it is similar to something what I  mentioned in my  posting asking about combos which has so far has garnered no response:


xymoncmd xymond_alert --test host service --duration=29 --color=red



00002332 2011-08-07 12:57:58 *** Match with 'EXHOST=$HOSTS_EXCLUDED HOST=* SERVICE=service COLOR=red' ***

00002332 2011-08-07 12:57:58 Matching host:service:page 'host:service:Site/Platform,Place' against rule line 432

00002332 2011-08-07 12:57:58 Failed 'SCRIPT=$SENDPAGE $PAGE_NMS DURATION>30m REPEAT=365d' (min. duration 1740<1800)



The duration above is in minutes when clearly the documentation specifies seconds?

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Carl Melgaard
Sent: Wednesday, August 10, 2011 09:22
To: 'xymon at xymon.com'
Subject: Re: [Xymon] Synchronize disabled servers from one xymon installation to another?

Hi,

Thanks alot for this!

But I found a curiosity when trying to disable things:

./xymon localhost "disable host.conn 86028s Disabled by: blah @ 10.10.10.10 Reason: blah blah"

Doesn't put the host in maintenance for 86028 seconds (almost 24 hrs) - instead it uses minutes (59 days instead) - is there a bug with the "s"-suffix that I don't know about - or am I using xymon disable wrong?

/melgaard


________________________________
Fra: Gore, David W (David) [mailto:david.gore at verizon.com]
Sendt: 10. august 2011 03:42
Til: Carl Melgaard; 'xymon at xymon.com'
Emne: RE: Synchronize disabled servers from one xymon installation to another?

>From TJ Yang, he probably has this posted on his site which I don't recall right now.  We may or may not have made edits.  We use it on Red Hat Linux Enterprise 5.6.

#! /bin/sh
# -----------------------------------------------------------------------------
#           S H E L L  S C R I P T   S P E C I F I C A T I O N
# -----------------------------------------------------------------------------
#
# NAME
#      bluesync.sh  - A shell script to replicate Primary Xymon Serverblue record
#                     to Secondary standby Xymon server.
#
#


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110810/78d5e19d/attachment.html>


More information about the Xymon mailing list