-
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
indirectproxy mode - default dashboard #152
Comments
Which version of the module? latest Master is now set to 1.2.4 at the moment. |
yes, i am using 1.2.4 |
defaultorgid=0 ? |
Also try to set defaultdashboardid to 1, iam still trying to figure out how Grafana counts panels. Sometimes it starts with one , sometimes at 2 .... depending if converted or freshly imported. |
same problem, if I change the defaultdashboardid... Using proxy mode all works fine |
Did you change defaultorgid too ? |
yes, I changed it too, but it still doesn't work |
Please configure a graph for hostalive or whatever command you are using and use one of the provided dashboards. I have to look into this to get it work with the default one. |
I uploaded a new default dashboard which should solve this problem. Hopefully no one has configured services that are named like the host check commands. Please download icinga2-default-test.json and test it. |
Maybe the same Problem like #145
Expected Behavior
correct representation of a graph, if there is no graph configured and the default dashboard is used in Icingaweb2 (using the indirectproxy mode)
Current Behavior
indirectproxy mode can't fetch graphs for hosts, if there is no graph configured and the Default Dashboard should be used.
If I open the link to Grafana, the correct Panel is displayed .
For Services without configured Graphs, the Default Dashboard is displayed correctly.
Using the proxy mode, there are no Problems.
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
icinga2 --version
): 2.8.4/etc/icingaweb2/modules/grafana/config.ini:
[grafana]
host = "hostname:3000"
protocol = "http"
shadows = "0"
theme = "light"
datasource = "influxdb"
accessmode = "indirectproxy"
debug = "1"
defaultorgid = "0"
defaultdashboard = "icinga2-default"
enableLink = "yes"
usepublic = "no"
timerangeAll = "1w/w"
height = "400"
width = "640"
defaultdashboardpanelid = "2"
version = "1"
authentication = "token"
apitoken = "xxxxx"
defaultdashboarduid = "SpYSCSgik"
proxytimeout = "15"
The text was updated successfully, but these errors were encountered: