I'm looking for a way to have a flexible number of charts in a dashboard.
----------
**How it is now:**
- At the top of the dashboard, there is a field to select one server.
- For this server one panel with a single area-chart is produced showing CPU %user %system and %idle.
**What I want to change it to:**
- Change the field to a text input field, so a pattern for selecting multiple hostnames can be specified.
- For each of the specified servers a separate panel with an area-chart is produced.
I am _not_ looking for split chart (multi-series mode).
**Why do I want this?**
The idea is to give admins the possibility to come in in the morning, specify the servers they are responsible for and get a chart for each server. They than can simply scroll down in a matter of seconds and visually check for any anomalies.
----------
I can't find any way to do this 'out of the box', but I think it should somehow be possible by using some javascript code. My vision would be to have the input field, which drives some background search. That background search produces the list of servers to produce charts for, passes that list to the javascript code. The javascript code then produces the whole code for the panel, one panel for each servers it has been passed.
Unfortunately my own javascript skills are close to inexistent.
Does anybody about an existing solution (I didn't find any)? Or would anybody be interested in helping to create such a solution?
↧