[Pacemaker] emulate crm_mon output by xsltproc'essing cibadmin -Ql

Lars Ellenberg lars.ellenberg at linbit.com
Tue Mar 1 11:31:24 UTC 2011


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?

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.

use the proof of concept:
cibadmin -Ql | xsltproc mycrm_mon.xsl - | less

Any xslt guru around to actually make this useful?

Feel free to comment, improve, ...
... or ignore ;-)

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mycrm_mon.xsl
Type: application/xml
Size: 4412 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110301/ef0b884d/attachment-0003.xsl>


More information about the Pacemaker mailing list