V
V
Vi2017-04-07 12:05:37
linux
Vi, 2017-04-07 12:05:37

Grafana or how to show Uptime 100 servers?

Can someone come across this?
I have a hundred servers, and I don’t want to create singlestat manually in the admin panel, how can I make uptime servers for several metrics at once
head.*.uptime.uptime
where the asterisk is the server name
now only I can do it
head.server1.uptime.uptime
head.server2. uptime.uptime
head.server3.uptime.uptime
...
etc

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Shatokhin, 2017-04-07
@Sovigod

Grafana has templating. But the possibility of your case depends on the data backend.
I have it inxluxdb. And all the values ​​​​are obtained at the request of
SHOW TAG VALUES FROM system WITH KEY="host"
And then everything is off the instruction docs.grafana.org/reference/templating

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question