-
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
Service performance graph shows wrong graph of another service #103
Comments
Hello, I have the same problem here. One other solution could be to enter a variable as dashboard name and having one per host. |
Please provide config.ini and also graphs.ini from the module. And please dont use base-metrics as default dashboard, use the default one provided with the module. Base metrics is only for configured graphs. |
Wow. I changed default dashboard to |
Nice, where is this option ? On Grafana or on Icinga ? I have fix my problem by using NRPE, and create "nrpe-ping4-host1" "nrpe-ping4-host2" but your solution can be better ! |
It's an option of the IcingaWeb2 Grafana module. It can be found in |
I see. |
I have a question, on icingaweb2, can you "add new grafana graph", and select on Name : "ping4" (so the same of the service) and apply to all host ? In my case, i can't, because we have to select the "pannelID", and if Name is "ping4" and PannelID is "2", my all host will have the seconde graph on my Dashboard with ping... I have solve it be renaming service, so i have on Name : "nrpe-ping4-host1" or "nrpe-ping4-host2... and of cause, after, i can choice the PanelID, that works, but it is boring ! If i whant check 10 ping, i have to create 10 graph ! |
Do you graphite or influx? |
Hello, |
I solved it by editing the influxdb.conf of icinga2 and change the measurement line. I fill the variable via template for non nrpe or if nrpe with the real command.
Then you have only to import the right template depending on your command. This should also work for by_ssh Regards, |
Service performance graph shows wrong graph of another service.
Expected Behavior
Each service performance graph get its own
panelId
and displays graph related to that service.Current Behavior
All services of a host get the same
panelId
, for example, a host HOSTA has two different service PING (with actualpanelId
1) and DISK (with actualpanelId
2), service DISK also displays graph of service PING.Possible Solution
This problem reflects the behavior of the code at
library/Grafana/ProvidedHook/Grapher.php:154
It should be more reasonable to automatically query graph panelId from Grafana.
Steps to Reproduce (for bugs)
base-metrics
Context
A host has many services and all of them display the same performance graph with
panelId
1. It's unpractical to configure graphs for all services manually.Your Environment
icinga2 --version
): r2.7.2-1icinga2 feature list
): api checker command graphite ido-mysql mainlog notificationicinga2 daemon -C
):The text was updated successfully, but these errors were encountered: