[Pacemaker] Clustermon issue
Andrew Beekhof
andrew at beekhof.net
Thu Jan 8 02:31:54 UTC 2015
And there is no indication this is being called?
> On 7 Jan 2015, at 6:21 pm, Marco Querci <mquerci75 at gmail.com> wrote:
>
> #!/bin/bash
>
> monitorfile=/tmp/clustermonitor.html
> hostname=$(hostname)
>
> echo "Cluster state changes detected" | mail -r "$hostname@<domain>" -s "Cluster Monitor" -a $monitorfile mquerci75 at gmail.com
>
>
> Thanks.
>
>
> Il 06/01/2015 01:21, Andrew Beekhof ha scritto:
>>> On 6 Jan 2015, at 3:37 am, Marco Querci <mquerci75 at gmail.com> wrote:
>>>
>>> Hi All.
>>> Any news for my problem?
>> Maybe post your /home/administrator/clustermonitor_notification.sh script?
>>
>>> Many thanks.
>>>
>>>
>>> Il 19/12/2014 12:13, Marco Querci ha scritto:
>>>> Many tahnk for your reply.
>>>> Here is my configuration:
>>>>
>>>> <cib epoch="167" num_updates="2" admin_epoch="0" validate-with="pacemaker-1.2" cib-last-written="Thu Dec 18 20:04:43 2014" update-origin="langate1" update-client="crmd" crm_feature_set="3.0.9" have-quorum="1" dc-uuid="langate1">
>>>> <configuration>
>>>> <crm_config>
>>>> <cluster_property_set id="cib-bootstrap-options">
>>>> <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.11-97629de"/>
>>>> <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="classic openais (with plugin)"/>
>>>> <nvpair id="cib-bootstrap-options-expected-quorum-votes" name="expected-quorum-votes" value="2"/>
>>>> <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
>>>> <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
>>>> <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1418929320"/>
>>>> </cluster_property_set>
>>>> </crm_config>
>>>> <nodes>
>>>> <node id="langate2" uname="langate2">
>>>> <instance_attributes id="nodes-langate2"/>
>>>> </node>
>>>> <node id="langate1" uname="langate1">
>>>> <instance_attributes id="nodes-langate1"/>
>>>> </node>
>>>> </nodes>
>>>> <resources>
>>>> <group id="Gateway">
>>>> <primitive class="ocf" id="ClusterIP_int" provider="heartbeat" type="IPaddr2">
>>>> <instance_attributes id="ClusterIP_int-instance_attributes">
>>>> <nvpair id="ClusterIP_int-instance_attributes-ip" name="ip" value="192.168.0.254"/>
>>>> <nvpair id="ClusterIP_int-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/>
>>>> <nvpair id="ClusterIP_int-instance_attributes-nic" name="nic" value="eth3"/>
>>>> </instance_attributes>
>>>> <operations>
>>>> <op id="ClusterIP_int-monitor-interval-60s" interval="60s" name="monitor"/>
>>>> </operations>
>>>> </primitive>
>>>> <primitive class="lsb" id="WanFailover" type="wanfailover">
>>>> <instance_attributes id="WanFailover-instance_attributes"/>
>>>> <operations>
>>>> <op id="WanFailover-monitor-interval-60s" interval="60s" name="monitor"/>
>>>> </operations>
>>>> <meta_attributes id="WanFailover-meta_attributes"/>
>>>> </primitive>
>>>> </group>
>>>> <clone id="Shorewall-clone">
>>>> <primitive class="lsb" id="Shorewall" type="shorewall">
>>>> <instance_attributes id="Shorewall-instance_attributes"/>
>>>> <operations>
>>>> <op id="Shorewall-monitor-interval-60s" interval="60s" name="monitor"/>
>>>> </operations>
>>>> </primitive>
>>>> <meta_attributes id="Shorewall-clone-meta"/>
>>>> </clone>
>>>> <group id="External">
>>>> <primitive class="ocf" id="ClusterIP_ext1" provider="heartbeat" type="IPaddr2">
>>>> <instance_attributes id="ClusterIP_ext1-instance_attributes">
>>>> <nvpair id="ClusterIP_ext1-instance_attributes-ip" name="ip" value="10.10.10.2"/>
>>>> <nvpair id="ClusterIP_ext1-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/>
>>>> <nvpair id="ClusterIP_ext1-instance_attributes-nic" name="nic" value="eth0"/>
>>>> </instance_attributes>
>>>> <operations>
>>>> <op id="ClusterIP_ext1-monitor-interval-60s" interval="60s" name="monitor"/>
>>>> </operations>
>>>> </primitive>
>>>> <primitive class="ocf" id="ClusterIP_ext2" provider="heartbeat" type="IPaddr2">
>>>> <instance_attributes id="ClusterIP_ext2-instance_attributes">
>>>> <nvpair id="ClusterIP_ext2-instance_attributes-ip" name="ip" value="172.16.0.2"/>
>>>> <nvpair id="ClusterIP_ext2-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/>
>>>> <nvpair id="ClusterIP_ext2-instance_attributes-nic" name="nic" value="eth1"/>
>>>> </instance_attributes>
>>>> <operations>
>>>> <op id="ClusterIP_ext2-monitor-interval-60s" interval="60s" name="monitor"/>
>>>> </operations>
>>>> </primitive>
>>>> <primitive class="lsb" id="Fail2ban" type="fail2ban">
>>>> <instance_attributes id="Fail2ban-instance_attributes"/>
>>>> <operations>
>>>> <op id="Fail2ban-monitor-interval-60s" interval="60s" name="monitor"/>
>>>> </operations>
>>>> <meta_attributes id="Fail2ban-meta_attributes"/>
>>>> </primitive>
>>>> </group>
>>>> <clone id="Postfix-clone">
>>>> <primitive class="lsb" id="Postfix" type="postfix">
>>>> <instance_attributes id="Postfix-instance_attributes"/>
>>>> <operations>
>>>> <op id="Postfix-monitor-interval-60s" interval="60s" name="monitor"/>
>>>> </operations>
>>>> <meta_attributes id="Postfix-meta_attributes"/>
>>>> </primitive>
>>>> <meta_attributes id="Postfix-clone-meta"/>
>>>> </clone>
>>>> <clone id="ClusterMonitor-clone">
>>>> <primitive class="ocf" id="ClusterMonitor" provider="pacemaker" type="ClusterMon">
>>>> <instance_attributes id="ClusterMonitor-instance_attributes">
>>>> <nvpair id="ClusterMonitor-instance_attributes-extra_options" name="extra_options" value="-E /home/administrator/clustermonitor_notification.sh -e <my_email_address>"/>
>>>> </instance_attributes>
>>>> <operations>
>>>> <op id="ClusterMonitor-start-timeout-20" interval="0s" name="start" timeout="20"/>
>>>> <op id="ClusterMonitor-stop-timeout-20" interval="0s" name="stop" timeout="20"/>
>>>> <op id="ClusterMonitor-monitor-interval-10" interval="10" name="monitor" timeout="20"/>
>>>> </operations>
>>>> </primitive>
>>>> <meta_attributes id="ClusterMonitor-clone-meta"/>
>>>> </clone>
>>>> </resources>
>>>> <constraints/>
>>>> <rsc_defaults>
>>>> <meta_attributes id="rsc_defaults-options">
>>>> <nvpair id="rsc_defaults-options-resource-stickiness" name="resource-stickiness" value="100"/>
>>>> </meta_attributes>
>>>> </rsc_defaults>
>>>> </configuration>
>>>> <status>
>>>> <node_state id="langate1" uname="langate1" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
>>>> <transient_attributes id="langate1">
>>>> <instance_attributes id="status-langate1">
>>>> <nvpair id="status-langate1-shutdown" name="shutdown" value="0"/>
>>>> <nvpair id="status-langate1-probe_complete" name="probe_complete" value="true"/>
>>>> </instance_attributes>
>>>> </transient_attributes>
>>>> <lrm id="langate1">
>>>> <lrm_resources>
>>>> <lrm_resource id="WanFailover" type="wanfailover" class="lsb">
>>>> <lrm_rsc_op id="WanFailover_last_0" operation_key="WanFailover_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="17:67:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;17:67:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="67" rc-code="0" op-status="0" interval="0" last-run="1418929483" last-rc-change="1418929483" exec-time="10" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="langate1"/>
>>>> <lrm_rsc_op id="WanFailover_monitor_60000" operation_key="WanFailover_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="18:67:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;18:67:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="68" rc-code="0" op-status="0" interval="60000" last-rc-change="1418929483" exec-time="15" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" on_node="langate1"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="Shorewall" type="shorewall" class="lsb">
>>>> <lrm_rsc_op id="Shorewall_last_0" operation_key="Shorewall_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="28:1:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" transition-magic="0:0;28:1:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" call-id="37" rc-code="0" op-status="0" interval="0" last-run="1418928861" last-rc-change="1418928861" exec-time="7486" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="langate1"/>
>>>> <lrm_rsc_op id="Shorewall_monitor_60000" operation_key="Shorewall_monitor_60000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="20:2:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" transition-magic="0:0;20:2:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" call-id="39" rc-code="0" op-status="0" interval="60000" last-rc-change="1418928868" exec-time="126" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" on_node="langate1"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="ClusterIP_int" type="IPaddr2" class="ocf" provider="heartbeat">
>>>> <lrm_rsc_op id="ClusterIP_int_last_0" operation_key="ClusterIP_int_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="16:3:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" transition-magic="0:0;16:3:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" call-id="43" rc-code="0" op-status="0" interval="0" last-run="1418929145" last-rc-change="1418929145" exec-time="123" queue-time="0" op-digest="2e0d4879baaebfc3a7092f3adfeadb9e" on_node="langate1"/>
>>>> <lrm_rsc_op id="ClusterIP_int_monitor_60000" operation_key="ClusterIP_int_monitor_60000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="17:3:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" transition-magic="0:0;17:3:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" call-id="44" rc-code="0" op-status="0" interval="60000" last-rc-change="1418929145" exec-time="72" queue-time="0" op-digest="21d71f3773a62babd1c71ad71cc1e93e" on_node="langate1"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="Fail2ban" type="fail2ban" class="lsb">
>>>> <lrm_rsc_op id="Fail2ban_last_0" operation_key="Fail2ban_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="24:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;24:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="49" rc-code="0" op-status="0" interval="0" last-run="1418929151" last-rc-change="1418929151" exec-time="2919" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="langate1"/>
>>>> <lrm_rsc_op id="Fail2ban_monitor_60000" operation_key="Fail2ban_monitor_60000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="25:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;25:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="50" rc-code="0" op-status="0" interval="60000" last-rc-change="1418929154" exec-time="155" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" on_node="langate1"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="ClusterMonitor" type="ClusterMon" class="ocf" provider="pacemaker">
>>>> <lrm_rsc_op id="ClusterMonitor_last_0" operation_key="ClusterMonitor_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="48:2:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" transition-magic="0:0;48:2:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" call-id="41" rc-code="0" op-status="0" interval="0" last-run="1418928868" last-rc-change="1418928868" exec-time="77" queue-time="0" op-digest="bea5e7b384fbbbc979747b3584d1c025" on_node="langate1"/>
>>>> <lrm_rsc_op id="ClusterMonitor_monitor_10000" operation_key="ClusterMonitor_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="49:2:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" transition-magic="0:0;49:2:0:21144c90-7334-4fc7-997e-c2f13b4e8acc" call-id="42" rc-code="0" op-status="0" interval="10000" last-rc-change="1418928868" exec-time="50" queue-time="0" op-digest="31503c31050d63046026e4abfd181f64" on_node="langate1"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="ClusterIP_ext1" type="IPaddr2" class="ocf" provider="heartbeat">
>>>> <lrm_rsc_op id="ClusterIP_ext1_last_0" operation_key="ClusterIP_ext1_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="20:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;20:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="45" rc-code="0" op-status="0" interval="0" last-run="1418929151" last-rc-change="1418929151" exec-time="108" queue-time="0" op-digest="3a2172b3600a74a02c56030c73d7efd6" on_node="langate1"/>
>>>> <lrm_rsc_op id="ClusterIP_ext1_monitor_60000" operation_key="ClusterIP_ext1_monitor_60000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="21:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;21:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="46" rc-code="0" op-status="0" interval="60000" last-rc-change="1418929151" exec-time="143" queue-time="0" op-digest="1953fb034c14300e3cbe8d13b01d3871" on_node="langate1"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="ClusterIP_ext2" type="IPaddr2" class="ocf" provider="heartbeat">
>>>> <lrm_rsc_op id="ClusterIP_ext2_last_0" operation_key="ClusterIP_ext2_start_0" operation="start" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="22:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;22:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="47" rc-code="0" op-status="0" interval="0" last-run="1418929151" last-rc-change="1418929151" exec-time="180" queue-time="0" op-digest="cc4af9155b9449867acd30be849b0d3f" on_node="langate1"/>
>>>> <lrm_rsc_op id="ClusterIP_ext2_monitor_60000" operation_key="ClusterIP_ext2_monitor_60000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="23:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;23:0:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="48" rc-code="0" op-status="0" interval="60000" last-rc-change="1418929151" exec-time="107" queue-time="0" op-digest="6638531ec5a13c5e73adad4d52180287" on_node="langate1"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="Postfix" type="postfix" class="lsb">
>>>> <lrm_rsc_op id="Postfix_last_failure_0" operation_key="Postfix_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="12:61:7:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;12:61:7:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="65" rc-code="0" op-status="0" interval="0" last-run="1418929320" last-rc-change="1418929320" exec-time="35" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
>>>> <lrm_rsc_op id="Postfix_last_0" operation_key="Postfix_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="12:61:7:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;12:61:7:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="65" rc-code="0" op-status="0" interval="0" last-run="1418929320" last-rc-change="1418929320" exec-time="35" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="langate1"/>
>>>> <lrm_rsc_op id="Postfix_monitor_60000" operation_key="Postfix_monitor_60000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.9" transition-key="39:62:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;39:62:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="66" rc-code="0" op-status="0" interval="60000" last-rc-change="1418929321" exec-time="45" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" on_node="langate1"/>
>>>> </lrm_resource>
>>>> </lrm_resources>
>>>> </lrm>
>>>> </node_state>
>>>> <node_state id="langate2" uname="langate2" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
>>>> <lrm id="langate2">
>>>> <lrm_resources>
>>>> <lrm_resource id="WanFailover" type="wanfailover" class="lsb">
>>>> <lrm_rsc_op id="WanFailover_last_0" operation_key="WanFailover_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="13:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:7;13:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="9" rc-code="7" op-status="0" interval="0" last-run="1418929392" last-rc-change="1418929392" exec-time="41" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="langate2"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="ClusterIP_ext1" type="IPaddr2" class="ocf" provider="heartbeat">
>>>> <lrm_rsc_op id="ClusterIP_ext1_last_0" operation_key="ClusterIP_ext1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="15:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:7;15:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="18" rc-code="7" op-status="0" interval="0" last-run="1418929392" last-rc-change="1418929392" exec-time="452" queue-time="0" op-digest="3a2172b3600a74a02c56030c73d7efd6" on_node="langate2"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="ClusterIP_int" type="IPaddr2" class="ocf" provider="heartbeat">
>>>> <lrm_rsc_op id="ClusterIP_int_last_0" operation_key="ClusterIP_int_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="12:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:7;12:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1418929392" last-rc-change="1418929392" exec-time="502" queue-time="0" op-digest="2e0d4879baaebfc3a7092f3adfeadb9e" on_node="langate2"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="ClusterIP_ext2" type="IPaddr2" class="ocf" provider="heartbeat">
>>>> <lrm_rsc_op id="ClusterIP_ext2_last_0" operation_key="ClusterIP_ext2_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="16:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:7;16:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="22" rc-code="7" op-status="0" interval="0" last-run="1418929392" last-rc-change="1418929392" exec-time="431" queue-time="0" op-digest="cc4af9155b9449867acd30be849b0d3f" on_node="langate2"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="Shorewall" type="shorewall" class="lsb">
>>>> <lrm_rsc_op id="Shorewall_last_0" operation_key="Shorewall_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="28:65:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;28:65:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="37" rc-code="0" op-status="0" interval="0" last-run="1418929393" last-rc-change="1418929393" exec-time="6584" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="langate2"/>
>>>> <lrm_rsc_op id="Shorewall_monitor_60000" operation_key="Shorewall_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="23:66:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;23:66:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="41" rc-code="0" op-status="0" interval="60000" last-rc-change="1418929399" exec-time="99" queue-time="1" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" on_node="langate2"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="Fail2ban" type="fail2ban" class="lsb">
>>>> <lrm_rsc_op id="Fail2ban_last_0" operation_key="Fail2ban_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="17:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:7;17:65:7:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="26" rc-code="7" op-status="0" interval="0" last-run="1418929392" last-rc-change="1418929392" exec-time="73" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="langate2"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="Postfix" type="postfix" class="lsb">
>>>> <lrm_rsc_op id="Postfix_last_0" operation_key="Postfix_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="46:65:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;46:65:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="38" rc-code="0" op-status="0" interval="0" last-run="1418929393" last-rc-change="1418929393" exec-time="4401" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" on_node="langate2"/>
>>>> <lrm_rsc_op id="Postfix_monitor_60000" operation_key="Postfix_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="42:66:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;42:66:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="42" rc-code="0" op-status="0" interval="60000" last-rc-change="1418929399" exec-time="54" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd" on_node="langate2"/>
>>>> </lrm_resource>
>>>> <lrm_resource id="ClusterMonitor" type="ClusterMon" class="ocf" provider="pacemaker">
>>>> <lrm_rsc_op id="ClusterMonitor_last_0" operation_key="ClusterMonitor_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="54:65:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;54:65:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="39" rc-code="0" op-status="0" interval="0" last-run="1418929393" last-rc-change="1418929393" exec-time="163" queue-time="0" op-digest="bea5e7b384fbbbc979747b3584d1c025" on_node="langate2"/>
>>>> <lrm_rsc_op id="ClusterMonitor_monitor_10000" operation_key="ClusterMonitor_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.9" transition-key="55:65:0:2883fef9-479a-473e-a889-5ecd6d367ed0" transition-magic="0:0;55:65:0:2883fef9-479a-473e-a889-5ecd6d367ed0" call-id="40" rc-code="0" op-status="0" interval="10000" last-rc-change="1418929393" exec-time="62" queue-time="0" op-digest="31503c31050d63046026e4abfd181f64" on_node="langate2"/>
>>>> </lrm_resource>
>>>> </lrm_resources>
>>>> </lrm>
>>>> <transient_attributes id="langate2">
>>>> <instance_attributes id="status-langate2">
>>>> <nvpair id="status-langate2-shutdown" name="shutdown" value="0"/>
>>>> <nvpair id="status-langate2-probe_complete" name="probe_complete" value="true"/>
>>>> </instance_attributes>
>>>> </transient_attributes>
>>>> </node_state>
>>>> </status>
>>>> </cib>
>>>>
>>>>
>>>>
>>>> Il 19/12/2014 10:02, Florian Crouzat ha scritto:
>>>>> Le 18/12/2014 16:21, Marco Querci a écrit :
>>>>>> Hi all,
>>>>>> I have a pacemaker + corosync cluster installed on a CentOS 6.5
>>>>>> I have a resource ClusterMon with external_agent param set up.
>>>>>> Before last pacemaker update the events notification to the external
>>>>>> script worked perfectly.
>>>>>> After pacemaker update to version 1.1.11, the ClusterMon resource
>>>>>> continues to work but stop notifying to the external agent.
>>>>>> I followed setup instructions found on internet but I can't figure how
>>>>>> it doesn't work as expected.
>>>>>>
>>>>>> Any help will be appreciated.
>>>>>> Many thanks.
>>>>>
>>>>> Hello, please paste your full configuration here please so we understand how you use the ClusterMon stuff.
>>>>> Remember that on RHEL 6.x, SNMP support is not built in ; but that's probably why you use an external_agent. I just need to make sure by reading your configuration.
>>>>>
>>>>> Cheers,
>>>>> Florian Crouzat
>>>>>
>>>>> _______________________________________________
>>>>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>>>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>>>
>>>>> Project Home: http://www.clusterlabs.org
>>>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>>>> Bugs: http://bugs.clusterlabs.org
>>>
>>> _______________________________________________
>>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>
>>> Project Home: http://www.clusterlabs.org
>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>> Bugs: http://bugs.clusterlabs.org
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>> Project Home: http://www.clusterlabs.org
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> Bugs: http://bugs.clusterlabs.org
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
More information about the Pacemaker
mailing list