[ClusterLabs] Coming in Pacemaker 2.0.4: crm_mon --include/--exclude

Christopher Lumens clumens at redhat.com
Wed Mar 18 15:35:32 EDT 2020


> Xpath would be powerful but crm_mon is intended to be useful without
> any XML knowledge so I'd hesitate on that. Regular expressions are
> interesting though.

xpath would be tough.

Regexes would be much easier, I think.  It would require me to do a little
bit of rewriting to add a function that compared the given string against
each node as a name, tag, and regex.  Maybe the string could also be a regex
that matches tags?

- Chris



More information about the Users mailing list