Skip to Content
Industrial Internet Application Development
book

Industrial Internet Application Development

by Alena Traukina, Jayant Thomas, Prashant Tyagi, Veera Kishore Reddipalli
September 2018
Intermediate to advanced
412 pages
11h 12m
English
Packt Publishing
Content preview from Industrial Internet Application Development

Running Grafana

Grafana is available in two versions, one for running in a cloud and the other for running locally.

To run the tool locally, use the following command:

docker run -it --rm --name=grafana -p 3000:3000 -e "GF_SECURITY_ADMIN_PASSWORD=secret" -e "GF_SMTP_ENABLED=true" -e "GF_SMTP_HOST=smtp.gmail.com:587" -e "GF_SMTP_USER=username@gmail.com" -e "GF_SMTP_PASSWORD=" -e "GF_SMTP_FROM_ADDRESS=username@gmail.com" -v ~/grafana:/var/lib/grafana grafana/grafana
For SMTP authentication, make sure to substitute the username@gmail.com value of the GF_SMTP_FROM_ADDRESS with your actual email address.

After that, you can open Grafana, pasting the following URL in the browser: http://localhost:3000.

To sign in, type admin in the User field ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Industrial Internet of Things

Hands-On Industrial Internet of Things

Giacomo Veneri, Antonio Capasso
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 9781788298599Supplemental Content