Xymon Mailing List Archive search

acknowledgements does not survive xymon restart

list Norbert Kriegenburg
Fri, 2 Nov 2018 16:27:34 +0100
Message-Id: <user-2dee950cc585@xymon.invalid>

Tom,

checked the links, and it looked like a similar problem at first sight, but
does not describe my issue.
My env is quite different:

- my xymon runs in the xymon user homedir /home/xymon/server (freshly
compiled from source with configure and make)
- i have the correct xymond.chk and alert.chk in my $XYMONTMP
(/home/xymon/server/tmp), which are still present after i stopped xymon
- the settings in tasks.cfg for xymond and alert are correct (otherwise the
chk files wouldn't be updated regularly)

I have another Xymon installation (much smaller, but same design and
version), where i verified this behaviour.
So seems not related to the number of servers or the size of the chk files.

My tasks.cfg settings:

[xymond]
        ENVFILE /home/xymon/server/etc/xymonserver.cfg
        CMD xymond --pidfile=$XYMONSERVERLOGS/xymond.pid \
                --restart=$XYMONTMP/xymond.chk \
                --checkpoint-file=$XYMONTMP/xymond.chk \
                --checkpoint-interval=600 \
                --log=$XYMONSERVERLOGS/xymond.log \
                --admin-senders=127.0.0.1,$XYMONSERVERIP \
                --ack-each-color \
                --ghosts=match

[alert]
        ENVFILE /home/xymon/server/etc/xymonserver.cfg
        NEEDS xymond
        CMD xymond_channel \
                           --channel=page  \
                           --log=$XYMONSERVERLOGS/alert.log xymond_alert \
                           --checkpoint-file=$XYMONTMP/alert.chk \
                           --checkpoint-interval=600

Norbert


From:	user-dcee455aaab0@xymon.invalid
To:	Norbert Kriegenburg <user-501bbe9c5409@xymon.invalid>
Cc:	xymon at xymon.com
Date:	11/02/2018 02:11 PM
Subject:	Re: [Xymon] acknowledgements does not survive xymon restart


On Thu, 1 Nov 2018, Norbert Kriegenburg wrote:
Experts:

I have a new fairly large xymon environment (4.3.28 with >10k servers),
andErik?
of course there are always a lot of alerts acknowledged.

Unfortunately all these acks are resetted if i restart the xymon daemon
(xymon.sh restart) to activate config changes f.e.
This is the same if i use the "Acknowledge alert" from the menu or the
(undocumented) "xymondack" feature of xymon.
This leads to a lot of extra effort and confusion...
Any ideas how i can save the ack situation and restore it after a
restart?
You might want to have a look at these old threads. I remember this problem
because it bit me back then.

http://lists.xymon.com/archive/2013-March/037082.html


http://lists.xymon.com/archive/2013-January/036721.html


HTH,

--
Tom		 		 		 user-dcee455aaab0@xymon.invalid