Xymon already knows the recipients because it keeps track of them for REPEAT processing, saving the time of the last alert sent so that it knows when it's time to send each repeat.
Another solution is to simply keep track of whether an alert was sent for each of the ALERTCOLORS and send recovery messages for all of them, not just the last one. The recovery processing can simply lookup the recipients at that time, rather than having to keep track of them.
On 22 Dec. 2017 10:13 pm, "SebA" <spah at syntec.co.uk> wrote:
P.S. Possibly the best analysis of this problem is in this message and thread: http://lists.xymon.com/pipermail/xymon/2008-July/020158.html I suspect the best solution may be for the code to record the recipients that were sent the alert and send the recovery to those, like Big Brother does (according to that thread).
Regards, SebA
On 21 December 2017 at 12:07, SebA <spah at syntec.co.uk> wrote:
I realise that there are no paid Xymon staff developers, so I wonder if anyone would be interested in earning some money for fixing this issue:
Recovery notifications not generated when test goes red->yellow->green? http://lists.xymon.com/archive/2017-December/045162.html The relevant source code is probably in https://sourceforge.net/p/xymo n/code/HEAD/tree/branches/4.3.29/xymond/do_alert.c
If you are interested in working on this, please contact me off-list with your best price and using the same subject line preferably describing what, if any, feature or other changes you would make. This will be sealed bids. Assuming bids are received, the closing date for bids will be 27th December.
If anyone is interested in contributing money to this bounty, also contact me with the same subject line preferably by 27th December. I don't know what our budget is for fixing this yet, so any help with it, er, may help!
If the best price is reasonable, the winning bidder will be informed and a plan agreed. We would make your patches available to the community for all to enjoy and hopefully be merged into a future release.
Kind regards and Happy Christmas,
SebA
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon