[ClusterLabs] pacemaker alerts node_selector

vockinger at gmail.com vockinger at gmail.com
Wed Nov 25 10:56:09 EST 2020


Hi, I would like to trigger an external script, if something happens on a
specific node.

 

In the documentation of alerts, i can see <select_nodes /> but whatever I
put into the XML, it's not working...

 

configuration>

    <alerts>

        <alert id="my-alert" path="/path/to/my-script.sh">

            <select>

              <select_nodes />

              <select_fencing />

            </select>

            <recipient id="my-alert-recipient1"
value="someuser at example.com"/>

        </alert>

    </alerts>

</configuration>

Can anybody send me an example about the right syntax ?

 

Thank you very much..

 

Best regards, Alfred

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20201125/216f700a/attachment.htm>


More information about the Users mailing list