[Pacemaker] emulate crm_mon output by xsltproc'essing cibadmin -Ql
dejanmm at fastmail.fm
Tue Mar 1 10:01:27 EST 2011
On Tue, Mar 01, 2011 at 12:31:24PM +0100, Lars Ellenberg wrote:
> I just found something I apparently tried to code up for fun
> during xmas holidays.
> Any cib guru around to point out
> what information in the cib should be shown?
The stuff which is not interesting for users:
> Can the information that crm_mon provides
> be produced by xslt alone, or does it actually _need_
> to do all those things it does, internally?
> If this can be done,
> I think it would be quite useful to have various (customizable?)
> transformation style sheets to generate various details.
It could probably be useful. For instance, what was your motivation?
> use the proof of concept:
> cibadmin -Ql | xsltproc mycrm_mon.xsl - | less
> Any xslt guru around to actually make this useful?
Looks useful enough to me. Though crm_mon can show operations
details (crm status ops and crm status timing).
> Feel free to comment, improve, ...
> ... or ignore ;-)
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> 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
More information about the Pacemaker