Hi Xymon,
When I make acknowledge, the directory /var/lib/xymon/acks/ stay empty. It seems to be working and alert are correctly acked from the interface, but if I restart Xymon I lost all ack data.
Others directory have never been update, since server is in production (more than 1 year) :
/var/lib/xymon/logs /var/lib/xymon/disabled /var/lib/xymon/data
When we acknowledge, web interface call acknowledge.sh, wich call /usr/lib/xymon/server/etc/cgioptions.cfg, I verified that variables was correctly defined :
XYMONENV=/usr/lib/xymon/server/etc/xymonserver.cfg
ack.cgi options
CGI_ACK_OPTS="--env=$XYMONENV --no-pin"
And in /usr/lib/xymon/server/etc/xymonserver.cfg :
XYMONVAR="/var/lib/xymon" XYMONACKDIR="$XYMONVAR/acks" BBACKS="$XYMONACKDIR"
Logs do not show errors, in ack.log I can see a line like this :
1389963705 368129 5 368129 np_filename_not_used hotstest.intra.disk yellow test \nAcked by: aurelien (X.X.X.X)
I'm using Xymon server 4.3.10 with Debian 6.
Why theses directory stay empties ?
Regards.
Aurélien
Den 17-01-2014 15:18, Aurélien Bras skrev:
When I make acknowledge, the directory /var/lib/xymon/acks/ stay empty. It seems to be working and alert are correctly acked from the interface, but if I restart Xymon I lost all ack data.
Others directory have never been update, since server is in production (more than 1 year) :
/var/lib/xymon/logs /var/lib/xymon/disabled /var/lib/xymon/data
Those directories only exist for backwards compatibility with the old "Big Brother" system which Xymon grew out of. They will be updated if you enable the xymond_filestore module, but there is no reason to do so unless you have some really old Big Brother specific add-on that relies on data in these directories.
Restarting Xymon should keep you acknowledge data, though. Xymon stores the current state (including the ack-data) in the server/tmp/xymond.chk file, so unless you deleted that file then it should pick up your ack-data.
Regards, Henrik
participants (2)
-
aurelien.bras@gmail.com
-
henrik@hswn.dk