>>> Kristoffer Grönlund <kgronl...@suse.com> schrieb am 27.04.2016 um 12:12 in Nachricht <87twinl5sb....@krigpad.kri.gs>: > Ken Gaillot <kgail...@redhat.com> writes: > >> The most prominent feature will be Klaus Wenninger's new implementation >> of event-driven alerts -- the ability to call scripts whenever >> interesting events occur (nodes joining/leaving, resources >> starting/stopping, etc.). >> >> This is the improved successor to both the ClusterMon resource agent and >> the experimental "notification-agent" feature that has been in the >> upstream master branch. >> >> The new feature was renamed to "alerts" to avoid confusion with the >> unrelated "notify" resource action. >> >> High-level tools such as crm and pcs should eventually provide an easy >> way to configure this, but at the XML level, the cluster configuration >> may now contain an alerts section: > > There is now a branch with experimental early support for configuring > alerts in crmsh: > > https://github.com/ClusterLabs/crmsh/pull/136 > > Proposed syntax right now looks like this: > > alert <id> <path> \ > [attribute <nvpair> ...] \ > [meta <nvpair> ...] \ > [to <recipient \ > [attribute <nvpair> ...] \ > [meta <nvpair> ...] ...] > > Example: > > alert alert-1 /srv/pacemaker/pcmk_alert_sample.sh \ > to /var/log/cluster-alerts.log > > Opinions / suggestions are more than welcome!
Hi! IMHO it reads too much like the XML (i.e. nobody understands it unless he knows the meaning of the XML behind). > > I'll hold off merging this until the feature stabilises in the pacemaker > repository. > > Cheers, > Kristoffer > > -- > // Kristoffer Grönlund > // kgronl...@suse.com > > _______________________________________________ > Users mailing list: Users@clusterlabs.org > http://clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org