On 07/29/2011 03:36 PM, Matthieu Kermagoret wrote:
> Hi list,
>
> Attached patch allows broker modules to be notified when a custom
> variable is updated (either on host, service or contact) through
> external commands.
>
> This feature could be very useful for modules like ndomod which are
> forced to dump _all_ custom variables at every status update, which in
> turn causes one SQL query per custom variable in ndo2db.
>
> What do you think about it ?
>
Sorry for the delay. I've been away on vacation and jobtrips and
this sort of fell between the chairs.
I was hoping someone else would comment on this for a yea or nay
response. Since the information is already present in the command
(which does get sent to the module, if it subscribes to commands),
this would simply make it accessible in a new way. While I have no
objections to that in general, I also have no strong opinion in
favour of it.
I take it you want this for mk_livestatus for some reason? I won't
add it unless there's a usecase for it, and the potential case
where ndoutils might need it isn't strong enough for that. A used
module wanting this to make it more effective would be a strong
incentive to put it in though.
Thanks.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]