anryko / grafana-influx-dashboard

Grafana InfluxDB scripted dashboard
MIT License
132 stars 44 forks source link

Add a checkbox for choosing a host. #67

Closed smeapng closed 7 years ago

smeapng commented 8 years ago

Hi @anryko ,

For the easy selection of the hosts, would it be possible you to add a checkbox to select the hosts?

For example: image

I do not know if this is possible because it must surely add a submit button to activate choices.

Thank you for your reflection on this subject.

Cordially.

anryko commented 8 years ago

Hi @smeapng, After filtering the required hosts, if count is <=4 you can just press "Enter" to open those.

I'll investigate the possibility to add checkboxes later. Thanks for the idea.

smeapng commented 8 years ago

Hi @anryko ,

Thank you for your answer.

Yes it is true that there is that possibility, but if the names of the machine differs it is not possible to do it with the enter key.

Thank you for the work done on the getDash script, it's great.

Cordially.

smeapng commented 7 years ago

Hello @anryko ,

To solve this problem of checkbox, I finally create a generic dashboard that gathers the metrics that are common to all my hosts with a variable to choose the name of the hosts and create in this dashboard a link that calls the script getdash See all metrics).

As this I can select several hosts easily and run them in the getdash script.

Here is a screenshot ("Show All Metric" link call the getdash script): :

capture

Thanks to you for this script.

You can close this request if you wish.

Cordially.

anryko commented 7 years ago

Hey @smeapng Look good. Thank you.