Chronograf: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 6: Zeile 6:
 
=Access=
 
=Access=
 
*http://localhost:8888
 
*http://localhost:8888
 +
 +
=SSL-Connection=
 +
*Zertifikate nach /etc/ssl kopieren
 +
*vi /etc/systemd/system/multi-user.target.wants/chronograf.service (--cert=mycert.crt --key=mykey.key muss bei ExecStart hinzugefügt werden)
 +
<pre>
 +
[Service]
 +
User=chronograf
 +
Group=chronograf
 +
ExecStart=/usr/bin/chronograf --host 0.0.0.0 --port 8888 -b /var/lib/chronograf/chronograf-v1.db -c /usr/share/chronograf/canned --cert=mycert.crt --key=mykey.key
 +
KillMode=control-group
 +
Restart=on-failure
 +
</pre>
 +
*systemctl restart chronograf.service
 +
=Access=
 +
*https://localhost:8888
  
 
=Links=
 
=Links=
 
*https://docs.influxdata.com/chronograf/v1.3/
 
*https://docs.influxdata.com/chronograf/v1.3/

Version vom 17. Mai 2017, 10:32 Uhr

Install

Setup

  • sudo systemctl start chronograf

Access

SSL-Connection

  • Zertifikate nach /etc/ssl kopieren
  • vi /etc/systemd/system/multi-user.target.wants/chronograf.service (--cert=mycert.crt --key=mykey.key muss bei ExecStart hinzugefügt werden)
[Service]
User=chronograf
Group=chronograf
ExecStart=/usr/bin/chronograf --host 0.0.0.0 --port 8888 -b /var/lib/chronograf/chronograf-v1.db -c /usr/share/chronograf/canned --cert=mycert.crt --key=mykey.key
KillMode=control-group
Restart=on-failure
  • systemctl restart chronograf.service

Access

Links