Grafana + InfluxDB: Difference between revisions
(add color) |
|||
Line 14: | Line 14: | ||
Since the DAQ is running on a 32-bit system. the influxDB is unstable. | Since the DAQ is running on a 32-bit system. the influxDB is unstable. | ||
The database was installed in heliosDB.onenet. | The <span style="color:red">database</span> was installed in <span style="color:red">heliosDB.onenet</span> or heliosDB. | ||
Thus, the data will be push to heliosDB. | Thus, the data will be push to heliosDB. | ||
Line 26: | Line 26: | ||
digios1$ Helios_Database Stop | digios1$ Helios_Database Stop | ||
Grafana was also installed in heliosDB. | <span style="color:red">Grafana</span> was also installed in <span style="color:red">heliosDB</span>. | ||
To run Grafana, from any browser, within onenet, type | To run Grafana, from any browser, within onenet, type |
Revision as of 20:56, June 4, 2019
Introduction
In order to monitor the HELIOS system, for example, the threshold, the tigger rate, the buffer size, etc. We monitor and save those data into a database managed by InfluxDB. The database is further read by Grafana for display.
For more information on InfluxDB and Grafana, see:
Present setting
The data (e.g. trigger Rate, threshold, Buffer ) must be taking in digios1, the DAQ.
Since the DAQ is running on a 32-bit system. the influxDB is unstable.
The database was installed in heliosDB.onenet or heliosDB.
Thus, the data will be push to heliosDB.
To run the monitor program, login to the DAQ (digios1.onenet)
digios1$ Helios_Database Start
To stop the monitor program,
digios1$ Helios_Database Stop
Grafana was also installed in heliosDB.
To run Grafana, from any browser, within onenet, type
http://heliosDB.onenet:3000
Setup InfluxDB
For 64bit-linux, the setup is straight forward.
For example, in Ubuntu-18.x, simply type
sudo apt-get install influxdb
The influxdb contains 2 main programs,
- influx, for interactive database operations
- influxd, a daemon run in background, for receiving query from port 8086
To run the influxd
sudo service influxdb start