HomeClusterLabs Projects

Feature: controller,tools: improve description for fencing alerts/traps

Description

Feature: controller,tools: improve description for fencing alerts/traps

This functionizes creating a description for fencing events, so it can be used
by both the controller for alerts and crm_mon for traps, for consistency.

Now that we have the full result including exit reason, we can improve the
description, but the format is kept similar to before to minimize the change.

The alert/trap also includes the legacy return code for the event, but we can't
change that now because lrmd_send_fencing_alert() and the alert/trap
environment variables are public API.

Details

Provenance
kgaillotAuthored on Dec 7 2021, 12:25 PM
Parents
rPfb484933ce7c: Refactor: controller: move alert functions into own source file
Branches
Unknown
Tags
Unknown

Event Timeline