Xymon Mailing List Archive search

Synchronize disabled servers from one xymon installation to another?

list Carl Melgaard
Wed, 10 Aug 2011 11:22:22 +0200
Message-Id: <user-71998985284d@xymon.invalid>

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:user-368fd67cc6bd@xymon.invalid]
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.
#
#