Xymon Mailing List Archive search

[Possible Spam] Re: [Possible Spam] Acknowledgements Report - No events acked in last 0 minutes

list Steve B
Fri, 24 Apr 2015 10:22:18 +0200
Message-Id: <CAC85NmmRQ6Z7qV9=user-6f8bd28b52ce@xymon.invalid>

It is acknowledge.log, made a mistake in my reply.
We are on Red Hat Enterprise Linux Server release 5.3

One thing we have noticed (and perhaps related to this issue) is that
acknowledgements.sh is expecting a certain format for the ack logs and it
simply doesn't match

From the code, we see it is supposed to look like this:

"2015-03-07 18:17:03 myserver disk andy 1 1425724570 1425752223 1425838623
testing message"

whereas in our acknowledge.log, we see

"1429794310      932040  1440    932040  np_filename_not_used
host.msgs   yellow  Jobs reconfigured \nAcked by: user (127.0.0.1)"


Not the same amount of fields and using epoch time.


Any ideas?


Cheers


S


On Thu, Apr 23, 2015 at 8:16 PM, Andy Smith <user-982f5f6d4d28@xymon.invalid> wrote:
Steve B wrote:
Thanks for the reply Andy.

Unfortunately, no change. Note that I did (and still do) have a working
acknowledgement.log before, just the report is not yielding any data and
seems to have an issue with a timestamp.

On Wed, Apr 22, 2015 at 9:34 PM, Andy Smith <user-982f5f6d4d28@xymon.invalid <mailto:
user-982f5f6d4d28@xymon.invalid>> wrote:

    Steve B wrote:

        Is the Acknowledgements Report working at the moment? I saw it
        was a new feature of 4.3.19.
        We have recently upgraded from Hobbit (2009) to Xymon 4.3.19.

        When I click on Acknowledgements report and select today, this
        week or this month for example, it goes to a blank page and
        always says :

        No events acknowledged in the last 0 minutes.

        Any ideas?

        thanks


    Steve,

    I cannot find where I read this, but in my tasks.cfg for the startup
    CMD for xymond, I think I had to add :-

    --ack-log=$XYMONSERVERLOGS/acknowledge.log

    if I didnt do this, the acks were not written to the log, even
    though an empty log exists.
    --     Andy
acknowledgement.log or acknowledge.log??  I see it is hardcoded to
acknowledge.log (xymon-4.3.19/lib/acklog.c).  What platform is this on?  I
have it working on Solaris 8, Solaris 10, RedHAT ES5 and RedHAT ES6.
--
Andy