diff --git a/doc/readme-debian.md b/doc/readme-debian.md index dab5115..35cfec5 100644 --- a/doc/readme-debian.md +++ b/doc/readme-debian.md @@ -40,7 +40,6 @@ systemctl enable grafana-server systemctl start grafana-server ``` -When logged in to Grafana (port 3000, admin/admin) create a datasource that points to the local InfluxDB. Now import the provided dashboards. ## Download and Install HMCi @@ -56,4 +55,10 @@ systemctl daemon-reload systemctl enable hmci ``` -Now modify **/etc/hmci.toml** (edit URL and credentials to your HMCs) and test the setup by running ```/opt/hmci/bin/hmci -d``` in the foreground/terminal and look for any errors. Press CTRL+C to stop and then start as a background service with ```systemctl start hmci```. You can see the log/output by running ```journalctl -f -u hmci```. +## Configure HMCi + +Now modify **/etc/hmci.toml** (edit URL and credentials to your HMCs) and test the setup by running ```/opt/hmci/bin/hmci -d``` in the foreground/terminal and look for any errors. + +Press CTRL+C to stop and then start as a background service with ```systemctl start hmci```. + +You can see the log/output by running ```journalctl -f -u hmci```. diff --git a/doc/readme-grafana.md b/doc/readme-grafana.md index b461871..36d3a17 100644 --- a/doc/readme-grafana.md +++ b/doc/readme-grafana.md @@ -1,5 +1,7 @@ # Grafana Setup +When installed Grafana listens on [http://localhost:3000](http://localhost:3000) and you can login as user *admin* with password *admin*. Once logged in you are asked to change the default password. + ## Datasource - Configure Grafana to use InfluxDB as a new datasource @@ -13,3 +15,25 @@ Import all or some of the example dashboards from [dashboards/*.json](dashboards/) into Grafana as a starting point and get creative making your own cool dashboards - please share anything useful :) - When importing a dashboard, select the **hmci** datasource you have created. + + +## Security and Proxy + +The easiest way to secure Grafana with https is to put it behind a proxy server such as nginx. + +If you want to serve /grafana as shown below, you also need to edit */etc/grafana/grafana.ini* and change the *root_url*: + +``` +root_url = %(protocol)s://%(domain)s:%(http_port)s/grafana/ +``` + +Nginx snippet: + +```nginx + location /grafana/ { + proxy_pass http://localhost:3000/; + proxy_set_header Host $host; + } +``` + + diff --git a/doc/readme-hmc.md b/doc/readme-hmc.md index e301524..610c6be 100644 --- a/doc/readme-hmc.md +++ b/doc/readme-hmc.md @@ -1,4 +1,4 @@ -# HMC Preparations +# IBM Power HMC Preparations Ensure you have **correct date/time** and NTPd running to keep it accurate! diff --git a/doc/readme-redhat.md b/doc/readme-redhat.md index b208963..ea10fef 100644 --- a/doc/readme-redhat.md +++ b/doc/readme-redhat.md @@ -45,8 +45,6 @@ systemctl start grafana-server If you are running Linux on Power, you can find ppc64le Grafana packages on the [Power DevOps](https://www.power-devops.com/grafana) site. -When logged in to Grafana (port 3000, admin/admin) create a datasource that points to the local InfluxDB. Now import the provided dashboards. - ## Download and Install HMCi @@ -62,4 +60,10 @@ systemctl enable hmci systemctl start hmci ``` -Now modify **/etc/hmci.toml** (edit URL and credentials to your HMCs) and test the setup by running ```/opt/hmci/bin/hmci -d``` in the foreground/terminal and look for any errors. Press CTRL+C to stop and then start as a background service with ```systemctl start hmci```. You can see the log/output by running ```journalctl -f -u hmci```. +## Configure HMCi + +Now modify **/etc/hmci.toml** (edit URL and credentials to your HMCs) and test the setup by running ```/opt/hmci/bin/hmci -d``` in the foreground/terminal and look for any errors. + +Press CTRL+C to stop and then start as a background service with ```systemctl start hmci```. + +You can see the log/output by running ```journalctl -f -u hmci```. diff --git a/doc/readme-suse.md b/doc/readme-suse.md index 5c5e249..8c27011 100644 --- a/doc/readme-suse.md +++ b/doc/readme-suse.md @@ -44,8 +44,6 @@ systemctl start grafana-server If you are running Linux on Power, you can find ppc64le Grafana packages on the [Power DevOps](https://www.power-devops.com/grafana) site. -When logged in to Grafana (port 3000, admin/admin) create a datasource that points to the local InfluxDB. Now import the provided dashboards. - ## Download and Install HMCi @@ -60,4 +58,12 @@ systemctl daemon-reload systemctl enable hmci ``` -Now modify **/etc/hmci.toml** (edit URL and credentials to your HMCs) and test the setup by running ```/opt/hmci/bin/hmci -d``` in the foreground/terminal and look for any errors. Press CTRL+C to stop and then start as a background service with ```systemctl start hmci```. You can see the log/output by running ```journalctl -f -u hmci```. +## Configure HMCi + +Now modify **/etc/hmci.toml** (edit URL and credentials to your HMCs) and test the setup by running ```/opt/hmci/bin/hmci -d``` in the foreground/terminal and look for any errors. + +Press CTRL+C to stop and then start as a background service with ```systemctl start hmci```. + +You can see the log/output by running ```journalctl -f -u hmci```. + +