[Pacemaker] text string to search for when fenced

Bart Coninckx bart.coninckx at telenet.be
Mon Jan 24 12:53:25 EST 2011


On 01/24/11 17:09, Dejan Muhamedagic wrote:
> Hi,
>
> On Mon, Jan 24, 2011 at 11:35:28AM +0100, Bart Coninckx wrote:
>   
>> Hi,
>>
>> I'm using Zabix to monitor my network and Pacemaker cluster.
>>
>> I would like to be notified explicitedly about fencing operations by
>> examining the relevant logfile.
>> Can anyone point me to an exact textstring that is always used
>> (preferably cross-version) indicating a fencing operation?
>>     
> You can find this extended regular expression in hb_report:
>
> crmd.*te_fence_node.*Exec|stonith-ng.*log_oper.*reboot|stonithd.*(requests|(Succeeded|Failed).to.STONITH|result=)
>
> This is crmd ordering the fencing operation:
>
> crmd.*te_fence_node.*Exec
>
> stonith-ng (v1.1) reporting the outcome of the operation
> (".*reboot" should be removed):
>
> stonith-ng.*log_oper.*reboot
>
> Ditto for stonithd (v1.0):
>
> stonithd.*(requests|(Succeeded|Failed).to.STONITH|result=)
>
> HTH,
>
> Dejan
>
>   
>> Thank you,
>>
>>
>> Bart
>>
>> _______________________________________________
>> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>>     
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>   

OK, will dig into that. I believe that Zabbix does regular expressions.

thx,

B.




More information about the Pacemaker mailing list