Comments (6)
crm_mon
is just an additional layer that parses the CIB itself, why would it be the "cleanest solution"?
What are the shortcomings of parsing the CIB directly?
from ha_cluster_exporter.
It is a discussion i had back in time with @gao-yan and crm_mon
should be considered the official tool for getting a right formatted data. Parsing CIB etc, they are plenty of this hacks in hawk.
In this exporter, we are using here cibadmin
binary for getting only one metric, the constraint metric.
Instead of maintaining 2 binary tools with different API/ABI breaking changes that we can have, we should consolidate to the crm_mon
.
Also could be a nice improvement/contribution upstream to the C code to add this kind of data.
It is more a middle-term issue, but removing a binary dependency is always an improvement if we get the same data from crm_mon
(which is the tool we use mostly here)
from ha_cluster_exporter.
I guess we should open an issue on the Pacemaker project to add the feature we require to crm_mon
, then. :)
I'm still not entirely sure if the benefits are worth the amount of work this will require; in fact, at some point I thought the other way around: to simplify the exporter, we could just use the CIB and not use crm_mon
at all!
from ha_cluster_exporter.
it is a tracking issue which we can reference later on. :)
Parsing the CIB directly has in my knowledge some contra-effects and risks comparing to crm_mon
. Maybe @gao-yan could explain more.
I think if there is no contra to parse the CIB directly and it provides the same functionality/stability as crm_mon we can get rid definitely of both binaries, for that is true.
from ha_cluster_exporter.
okay, let's keep this in the back burner and see how the whole contributing-to-upstream thing goes.
from ha_cluster_exporter.
yep it is definitely something as prio/low or tech-debt but is ok to track
from ha_cluster_exporter.
Related Issues (20)
- "'corosync' collector scrape failed: corosync parser error: could not parse members in corosync-quorumtool output: could not find membership information" HOT 4
- Exporter output when pacemaker is down HOT 7
- Change releases naming HOT 5
- research about addition of codeql
- Node atttributes and Systemd units data not showing up in Grafana HOT 4
- No data from the dashboard
- Issue with `ha_cluster_pacemaker_config_last_change` and timezone HOT 1
- corosync parser error: could not parse node id in corosync-quorumtool output: could not find Node ID line HOT 23
- Compress binaries attached to GH releases
- Error when disabled all cluster nodes HOT 7
- sbd data is not exported if devices in SBD_DEVICE have an space after ;
- Support SSL/TLS connections HOT 1
- Sample Prometheus alerting rules HOT 1
- Pacemaker metrics not available for monitoring HOT 1
- Not able to install Latest 1.3.0 version for prometheus-ha_cluster_exporter HOT 4
- HA Cluster configuration sample is erroneous HOT 2
- regexp parsing corosync-cfgtool output will not work HOT 2
- get trouble with make && make install
- get trouble with start exporter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_cluster_exporter.