2020-08-11 14:26:16 +00:00
# HMC Insights
Small Java-based utility to fetch metrics from one or more HMC's and push those to an InfluxDB time-series database.
## TODO Liste
- Use TOML for configuration file, to support multiple HMC's - https://github.com/tomlj/tomlj
## Usage Instructions
...
## Development Information
2020-08-12 15:00:31 +00:00
### Build & Test
2020-08-11 14:26:16 +00:00
2020-08-12 15:00:31 +00:00
Use the gradle build tool
2020-08-11 14:26:16 +00:00
2020-08-12 15:00:31 +00:00
./gradlew clean build
2020-08-11 14:26:16 +00:00
2020-08-12 15:00:31 +00:00
### InfluxDB for local testing
Start the InfluxDB container
2020-08-11 14:26:16 +00:00
2020-08-13 09:48:00 +00:00
docker run --name=influxdb --rm -d -p 8086:8086 influxdb
2020-08-11 14:26:16 +00:00
2020-08-12 15:00:31 +00:00
To use the Influx client from the same container
2020-08-11 14:26:16 +00:00
docker exec -it influxdb influx
2020-08-12 15:00:31 +00:00
### Grafana for local testing
Start the Grafana container, linking it to the InfluxDB container
2020-08-13 09:48:00 +00:00
docker run --name grafana --link influxdb:influxdb --rm -d -p 3000:3000 grafana/grafana:7.1.3
2020-08-12 15:00:31 +00:00
Configure a new InfluxDB datasource on **http://influxdb:8086** to talk to the InfluxDB container. The database must be created beforehand, this can be done by running the hmci tool.