Skip to content
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

Possibility to add more then one graph #12

Closed
cstegm opened this issue Mar 10, 2017 · 9 comments
Closed

Possibility to add more then one graph #12

cstegm opened this issue Mar 10, 2017 · 9 comments
Assignees

Comments

@cstegm
Copy link

cstegm commented Mar 10, 2017

Hi,

It would be nice if we have the possibility to add more than one graph to a service (manually via "Add New Grafana Graph"). This could be useful for services with different metric types.

For example ping4 has:

  • rta = ms
  • pl = %
@Mikesch-mp
Copy link
Owner

Hi,
not really possible. Imagine a check with like 1000+ metrics. this would take ages to load.
But you can always configure your graph in Grafana, in my provided base metrics ping4 shows both (left and right y-axes are used.)

@cstegm
Copy link
Author

cstegm commented Mar 10, 2017

Hi,
thanks for the hint with left and right y-axes!
If imagine a check with 1000+ metrics -> thats why i would like to add 2 or 3 graphs more to a services to show the relevant 5-6 metrics.

@Mikesch-mp
Copy link
Owner

Just try to generate the dashboard that fits your needs, for example you can add a host action in icingaweb2 that points to your dashboard based on hostname. If you need help creating dashboards, i can help you , but Grafana is really easy to learn :)

@TheFlyingCorpse
Copy link

Suggestion that might help this: Provide instances, such as using data from the perfdata already available in icingaweb2 as arguments for the graphs. Allow for regex matching here?

That way you can get per-disk graph with its separate thresholds or otherwise splitting similar instances in separate graphs where the numbers arent easily normalized to percent in the plugin itself.

@Mikesch-mp
Copy link
Owner

Using data from perfdata is a bad idea, because they dont exist all the time (think about script errors, unkown state etc.). But i think i have an idea to make it possible the easy way. I will make the panelID an comma seperated list, so it will show all the graphs configured for the service (but you have to create them still at your own).

@TheFlyingCorpse
Copy link

Oh, that would be inconvenient. My 700+ servers arent really configured the same way, at least 50 different disksetups, a lot of one off's.

@cstegm
Copy link
Author

cstegm commented Mar 14, 2017

I like the idea of a comma separated list of panelids - it would be awesome if we have this in the next release :)

@Mikesch-mp
Copy link
Owner

It will be in the next release. Iam have just a truckload of work and only spare time for develop at the moment.

@Mikesch-mp Mikesch-mp self-assigned this Mar 17, 2017
@Mikesch-mp
Copy link
Owner

Added multiple panelIds in v1.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants