Installation of words I will not say, mainly write down some of the internal operations.
How do I implement a template to select which hosts to monitor?
As in the upper-left corner, after the selection of monitoring host, the following graphics will also change, so that interactive operation will be more conducive to our monitoring.
Set it up so you can.
Show tag values from net (I monitor NIC) with key= "host"
At first, because I am not familiar with the command of INFLUXDB, such as the view table in the MYSQLDB command is also not available, so I chose the constant setting method, but only for a small number of machines can be used.
Such words also can achieve effect, oneself ponder certainly have detours of time. Ha ha!
When configured here, when the metrics is configured, the where is followed by the host= "Select the template you just set up here."
Mail alarm If I say the configuration file, because before learning to do the experiment is always the LAN transmission, so here is also tangled for a long time.
Vim/etc/grafana/grafana.ini
[SMTP]
Enabled = True
Host = Smtp.163.com:25
user =
Password =
From_address =
Here the user and from_address are consistent.
Users and passwords to write their own 163 mailbox on it.
Basic operation of Grafana+influxdb+telegraf