diff --git a/defaults/main.yml b/defaults/main.yml index c461308..8435477 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -190,3 +190,5 @@ masakari_optional_oslomsg_amqp1_pip_packages: # The multicast interface used by corocync for masakari hostmonitor masakari_monitor_corosync_multicast_interface: "br-mgmt" +masakari_monitor_corosync_multicast_ports: 5405 +masakari_monitor_corosync_ipmi_check: False diff --git a/releasenotes/notes/masakari_monitors_corosync-d61089311b03ade5.yaml b/releasenotes/notes/masakari_monitors_corosync-d61089311b03ade5.yaml new file mode 100644 index 0000000..3bce0ff --- /dev/null +++ b/releasenotes/notes/masakari_monitors_corosync-d61089311b03ade5.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + Added variables ``masakari_monitor_corosync_multicast_ports`` and + ``masakari_monitor_corosync_ipmi_check`` that allow to define ports used + by corosync service and to enable IPMI checks in case ipmi RA is set in + pacemaker. diff --git a/templates/masakarimonitors.conf.j2 b/templates/masakarimonitors.conf.j2 index e398195..33b259f 100644 --- a/templates/masakarimonitors.conf.j2 +++ b/templates/masakarimonitors.conf.j2 @@ -17,9 +17,9 @@ user_domain_id = {{ masakari_service_user_domain_id }} password = {{ masakari_service_password }} [host] -disable_ipmi_check = True +disable_ipmi_check = {{ masakari_monitor_corosync_ipmi_check }} corosync_multicast_interfaces = {{ masakari_monitor_corosync_multicast_interface }} -corosync_multicast_ports = 5405 +corosync_multicast_ports = {{ masakari_monitor_corosync_multicast_ports }} [process] check_interval = 5