How to build the panels at "status panel" plugin


#1

Hi,
We are trying to monitor the bunch of servers. But we can able to add only 1 panel.

At that panel, we are checking for all the servers, like selecting server_name at drop-down box(HOST)
But we need like, to see 200 boxes for 200 servers. Which we couldn’t able to do that. It should similarly look like https://grafana.com/api/plugins/vonage-status-panel/versions/1.0.6/images/img/environment_snapshot.png

  1. Should we need to build a box(panel) for every server manually?.
  2. If yes, what is the better way to build for 200 servers?.
  3. If not, Is there any other way to monitor the stats for 200 servers in the better way?.

Can any one please help us to achieve this?.

Thanks…


Grafana status panel dashboard for all servers
#2

you can use the HOST variable your query and in the panel general tab select to repeat the panel for each HOST variable value.


#3

Hi @torkel
We selected repeat panel, we are getting the boxes which is equal to the number of servers we have.
But, all the servers are showing empty responses.


We configured one server, at that server we are able to see the responses. But we couldn’t able to see for other servers.
Why we are getting like this?.
How to resolve this issue?.

Thank you…


#4

arre you using the variable in the query? What data source are you using?


#5

Hi @torkel
I am using the variable in the query. I am using InfluxDB source.


#6

Hi @torkel
After some time, all the panels got reloaded. All the panels are showing stats.
But, at all the panels, we are having same name Servers. We couldn’t able to see the individual server name.
We checked at each and every panel’s query inspector, there it is showing the respective hostname.
How to have that hostname as their server panel name?.
Can you please help us to resolve the issue ?.


#7

Use the variable in the where clause in the query, and use the host variable in the panel title


#8

Hi @torkel

We have host variable at the where clause. This is what my query looks like:

FROM default stats WHERE host =~ /^$Host$/
SELECT field (usage_precent) mean ()
GROUP BY time ($__interval) fill (none)
FORMAT AS
ALIAS BY Usage

Present, at panel title, we have Servers as a name. Instead of that, should we write the hostname at panel title or hostname variable at panel title like /^$Host$/ ?.

Thank you…


#9

Just $Host in panel title


#10

Okay, we will check and update here.
Thank you…


#11

Hi @torkel,
It worked.
Thank you very much…


#12

Hey, guys. I’m having a similar problem. I used the $HOSTS. It shows only one box with the values of all hosts, but does not divide each host into a box. In the title it shows the MSG All


#13

Hi @ricardocopriva, you may have missed the repeat panel step.

http://docs.grafana.org/reference/templating/#repeating-panels