-
Notifications
You must be signed in to change notification settings - Fork 91
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
"Disable Graph" feature seems broken #111
Comments
Just tested it and it works like it should be. "grafana_graph_disable" only works if you didnt set another variable in the module config. Can you please provide your config.ini of the module. Regards, |
Sure. Here it is: [grafana] No custom variable defined. |
Hmm really strange. Will do another test tomorrow. |
I guess that something went wrong with the vars deployed by icinga director. I will do further research tomorow. |
I tried a few things but i cant get this to work again. type: "Service", but the graph is still beeing shown :( Any ideas ? |
Works for me like a charm too. Here my working configuration: Service Example
grafana/config.ini
Environment Best regards, |
I reinstalled the complete grafana module and started with a clean /etc/icingaweb2/modules/grafana directory. Then i recreated it with type boolean an added it to one of my service templates. The graph is still there :(
Any chance of debugging this on my side ? |
Give me some more days. Iam rewriting some debugging features. |
Yeah sure! Thanks for your help!!!! |
Hi @GalipoliX , please clone the 1.2.0 branch, there i added the 'brand new' :) debug feature. Best regards, |
Hey, Disable graph custom variable | grafana_graph_disable-- | -- But the graph is still there. :( |
iam getting out of ideas. If you want we can do a teamviewer/skype session so i can directly see the output and whats going maybe wrong. |
@Mikesch-mp So it cant trigger. Is there anything that blocks the access to the vars? Any Idea with this new information? Sure we can do a teamviewer/skype session. Thanky for your help! |
I found the problem, boolean in customvars are not real boolean. Have to trick convert them first ... |
@killepitisch and @GalipoliX |
@Mikesch-mp Release 1.2.5 works fine for me, thx! |
I think you can close this Ticket. My Icingaweb2 Installation themes broken in some kind. Thanks for your help! |
Sry to correct me here but i tracked ist down further more. I used the vhost Configuration described in the icingaweb2 documentation. Can you confirm that there is an issue ? Edit: |
I finally found the issue! An error in the roles.ini caused all of my problems. Thanks! |
Expected Behavior
Setting a variable "grafana_graph_disable" to any value (in this case true) should disable the graph rendering for the matching service.
Current Behavior
Graph still shown without data (No data points).
Context
This is an example config:
##Environment
The text was updated successfully, but these errors were encountered: