[ClusterLabs] Antw: [EXT] Re: Triggering script on cib change
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Tue Sep 29 05:43:11 EDT 2020
>>> Jehan-Guillaume de Rorthais <jgdr at dalibo.com> schrieb am 16.09.2020 um
10:47 in
Nachricht <20200916104722.06d566ff at firost>:
> On Wed, 16 Sep 2020 02:20:35 ‑0400
> Digimer <lists at alteeve.ca> wrote:
>
>> Is there a way to invoke a script when something happens with the
>> cluster? Be it a simple transition, stonith action, resource dis/enable
>> or resovery, etc?
>
> Not exactly a trigger on all CIB changes, but Alerts are triggered on much
> of
> the events you list here:
>
>
>
https://clusterlabs.org/pacemaker/doc/en‑US/Pacemaker/2.0/html‑single/Pacemak
> er_Explained/#idm47160765353680
I wonder: If you just check the CIB's version number, an change of it might
indicate a change you are interested in.
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/
More information about the Users
mailing list