[ClusterLabs] Coming in 1.1.15: Event-driven alerts

Kristoffer Grönlund kgronlund at suse.com
Wed Apr 27 12:48:31 UTC 2016


Klaus Wenninger <kwenning at redhat.com> writes:

>>
>>     alert alert-1 /srv/pacemaker/pcmk_alert_sample.sh \
>>         to /var/log/cluster-alerts.log
> Are (and if yes how) you planning to handle multiple recipients?

Yes, just put multiple "to" statements after each other:

    alert alert-1 /srv/pacemaker/pcmk_alert_sample.sh \
        to /var/log/cluster-alerts-1.log \
        to /var/log/cluster-alerts-2.log

You can also set meta attributes for recipients:

    alert alert-1 /srv/pacemaker/pcmk_alert_sample.sh \
        to /var/log/cluster-alerts-1.log \
          meta timeout=60s

>>
>> Opinions / suggestions are more than welcome!
>>
>> I'll hold off merging this until the feature stabilises in the pacemaker
>> repository.
> Although support by high-level tooling increases the amount of feedback
> which in turn should speed up the stabilization process ;-)

That's true. We'll see ;)

Cheers,
Kristoffer

>>
>> Cheers,
>> Kristoffer
>>
>
>
> _______________________________________________
> Users mailing list: Users at 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

-- 
// Kristoffer Grönlund
// kgronlund at suse.com




More information about the Users mailing list