-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hostname in title (RAW edition) #60
Comments
Thanks for the report, this is indeed a problem. We discussed this internally and came up with a possible solution: provide an optional text input field to configure the legend of the graph. We are currently not sure when we will be able to implement this feature, please be patient with us. |
hey @jplitza but still looks the same, without hostname |
@BenediktSeidl any news with this issue ? |
No news yet. I fear it will still take some time to implement this. |
I'm experiencing the same issue, I haven't tested the diff yet but I'd definitely appreciate an official solution. |
This command should patch the compiled version directly (now with the schema sed -i 's#\(refId:\(.\)\.refId,.*{name:\)\(.\.title\)#\1(\2.context.host||{}).host+" - "+(n.context.service||{}).service+" - "+\3#' dist/module.js EDIT: Updated for version 3.1.0 (which has two backends and hence requires two patches): sed -i -e 's#getGraphQuery(.,\(.\)).*=>({name:#\0\1.requestSpec.host_name+" - "+\1.requestSpec.service+" - "+#' -e 's#getSingleGraph(.,\(.\)).*\.push({name:#\0\1.requestSpec.host_name+" - "+\1.requestSpec.service+" - "+#' module.js |
Hello, we are a customer of the checkmk enterprise version... when will the feature be implemented... without that its nearly impossible to build custom network graphs as they have all the same name :/ |
Hi @LMSBrubaker, user of the enterprise version should not have this problem as you can use the regular expression for filtering hosts or sevices. Independent of this side note: We just finished two big projects for the plugin. The following moves will be some clean up to our code as we want the plugin to be maintainable. This includes some bug fixing and fixing of other issues. As we have already an approach on how to handle the metric naming, we can do that either during this maintenance phase or shortly after. |
hi @BenediktSeidl |
@lpetrora did the first step to overcome this issue: 5b35a6d |
When using the plugin with the RAW edition, before plugin version 2.0 I could use multiple queries on different hosts in a single graph. Now, all data frames have the same name (e.g. "Input bandwidth" and "Output bandwidth", each repeated once for every host).
I hacked around this using the following:
However, this most definitely isn't a proper solution, because it will probably break Enterprise Editions.
The text was updated successfully, but these errors were encountered: