Go to file
Mark Nellemann b5cdc968e5 Support for configuration file and multiple HMC's.
Initial work on build of deb/rpm packages.
Build pipeline setup.
2020-08-13 17:50:26 +02:00
conf Support for configuration file and multiple HMC's. 2020-08-13 17:50:26 +02:00
doc More work on metrics for InfluxDB. 2020-08-13 11:48:00 +02:00
gradle/wrapper Initial code commit 2020-08-07 08:13:48 +02:00
src Support for configuration file and multiple HMC's. 2020-08-13 17:50:26 +02:00
.editorconfig Support for configuration file and multiple HMC's. 2020-08-13 17:50:26 +02:00
.gitattributes Initial code commit 2020-08-07 08:13:48 +02:00
.gitignore Initial code commit 2020-08-07 08:13:48 +02:00
README.md Support for configuration file and multiple HMC's. 2020-08-13 17:50:26 +02:00
bitbucket-pipelines.yml Support for configuration file and multiple HMC's. 2020-08-13 17:50:26 +02:00
build.gradle Support for configuration file and multiple HMC's. 2020-08-13 17:50:26 +02:00
gradle.properties Support for configuration file and multiple HMC's. 2020-08-13 17:50:26 +02:00
gradlew Initial code commit 2020-08-07 08:13:48 +02:00
gradlew.bat Initial code commit 2020-08-07 08:13:48 +02:00
hmci.service Support for configuration file and multiple HMC's. 2020-08-13 17:50:26 +02:00
settings.gradle Initial code commit 2020-08-07 08:13:48 +02:00

README.md

HMC Insights

Small utility to fetch metrics from one or more HMC's and push those to an InfluxDB time-series database.

Usage Instructions

Create Configuration

Create a configuration file with setup for HMC's and InfluxDB.

Run HMCi Tool

Requires Java 8+ runtime.

Development Information

Build & Test

Use the gradle build tool

./gradlew clean build

InfluxDB for local testing

Start the InfluxDB container

docker run --name=influxdb --rm -d -p 8086:8086 influxdb

To use the Influx client from the same container

docker exec -it influxdb influx

Grafana for local testing

Start the Grafana container, linking it to the InfluxDB container

docker run --name grafana --link influxdb:influxdb --rm -d -p 3000:3000 grafana/grafana:7.1.3

Configure a new InfluxDB datasource on http://influxdb:8086 named hmci to connect to the InfluxDB container. The database must be created beforehand, this can be done by running the hmci tool first. Grafana dashboards can be imported from the doc/ folder.