We do that.. look at http://docs.grafana.org/reference/scripting/

You can simply write a scripted dashboard and have your javascript check 
f.ex. for the existence of a mysql counter on the relevant host.. and then 
draw the graphs for "mysql" if the counters are there - and so on for all 
other type of graphs you want.

We then link from our monitoring system to the scripted dashboard - with 
hostname as argument - that way we always have a direct link from an alert, 
to all relevant graphs for a host.

Den torsdag den 8. december 2016 kl. 10.06.08 UTC+1 skrev Arkadi Colson:
>
> Hi 
>
> Somebody managed to implement Collectd - InfluxDB - Grafana monitoring 
> in an automated way? Collectd is not a problem but how to automate 
> graphs addition in Grafana for new hosts based on roles? 
>
> Thx! 
> Arkadi 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6a859a0e-a1c2-4954-ab57-1340568ab854%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to