Commit Graph

78 Commits

Author SHA1 Message Date
Mark Nellemann 1b5a91c776 Go from millisec. to sec. precision in influx timestamps.
Do not go to minNumberOfSamples at first processing.
2022-12-07 16:33:56 +01:00
Mark Nellemann fb5bfd532b More work on multiple samples. 2022-12-07 16:12:29 +01:00
Mark Nellemann a0cfff18ef Fetch multiple samples. 2022-12-05 15:18:42 +01:00
Mark Nellemann 08c0235925 Remove excess logging when energy metrics are not available. 2022-12-01 16:16:00 +01:00
Mark Nellemann ce42989f1e Improve logging on discovery. 2022-11-28 16:51:29 +01:00
Mark Nellemann 2d13bddde1 More work on reading and updating PCM preferences to enable energymonitoring. 2022-11-28 09:12:33 +01:00
Mark Nellemann bcd2b84e9f Work on reading and updating PCM preferences to enable energymonitoring. 2022-11-26 10:47:10 +01:00
Mark Nellemann 930a1b982d Major refactoring of xml+json deserialization.
Initial work for optionally moving hmc specific code into it's own library.
2022-11-24 12:35:49 +01:00
Mark Nellemann 8a4d6d0ca5 Update 3rd party dependencies. 2022-10-24 15:30:56 +02:00
Mark Nellemann eb4df748e0 - Default configuration location on Windows platform.
- Process LPAR SR-IOV logical network ports data
- Update default dashboards
- Update documentation
2022-09-20 17:55:40 +02:00
Mark Nellemann 3e7d3bec97 Increase HTTP read timeout value from 30 to 180 seconds. Helps when querying for managed systems on busy HMC's with many systems. 2022-05-23 13:57:20 +02:00
Mark Nellemann 2c84a2478e Support Windows default location for config file. 2022-03-29 13:31:43 +02:00
Mark Nellemann 1bbe713fc2 Correct use of InfluxDB batch writing. 2022-03-04 18:51:29 +01:00
Mark Nellemann 28b4cdbea8 - Sort measurement tags before writing to InfluxDB.
- Update 3rd party dependencies.
2022-03-01 20:09:35 +01:00
Mark Nellemann 6c2993ed97 Closes issue #3 2022-02-23 12:18:34 +01:00
Mark Nellemann 02804232b0 Improved error handling. 2022-02-10 17:39:53 +01:00
Mark Nellemann e0dc65a1e6 Update 3rd party deps., and implement option disable query for energy metrics 2022-02-08 21:39:42 +01:00
Mark Nellemann 7d010e7968 More tests and removal of redundant metrics in some VIOS measurements. 2021-09-20 15:36:23 +02:00
Mark Nellemann bd5ad22b73 Cleanup. 2021-09-08 12:54:51 +02:00
Mark Nellemann 9dd43e1f80 - Fix missing ID from VIO FC adapters
- Add more graphs to VIO example dashboard
- Update dependencies
- Bump version to 1.2.3
2021-08-09 15:06:47 +02:00
Mark Nellemann cc74b2e662 Merged development into tracefiles 2021-06-11 02:13:27 +02:00
Mark Nellemann a24401aa8a Remove transmittedBytes from lpar generic adapter metrics, as value is always null. 2021-06-10 12:31:44 +02:00
Mark Nellemann 74eead0046 Include transmittedBytes for lpar generic adapter metrics. 2021-06-10 11:09:15 +02:00
Mark Nellemann 39ce6b66b8 Add option to dump pcm json metric files. 2021-05-07 17:40:31 +02:00
Mark Nellemann b1d70e4816 Update example dashboards. 2021-03-31 15:33:50 +02:00
Mark Nellemann ea6e163670 Corrections of influx series names. 2021-03-26 13:26:03 +01:00
Mark Nellemann 2157ee477b Update reference to the Apache 2.0 LICENSE. 2021-03-25 21:21:13 +01:00
Mark Nellemann c324e24014 Work on nextract naming. 2021-03-25 16:46:04 +01:00
Mark Nellemann d76f174eb9 Simplify conf file argument. 2021-03-24 13:25:34 +01:00
Mark Nellemann 508f1b0219 Resolve issue #1 2021-03-17 07:20:14 +01:00
Mark Nellemann 7c1c9b2fe1 Increase HTTP timeouts. 2021-02-25 14:50:21 +01:00
Mark Nellemann a9a130ff0f Improve thread sleep logic, cleanup debug logging, and set better defaults for metrics. 2021-02-01 15:32:05 +01:00
Mark Nellemann 92079a13d2 Bump version and rename of method. 2021-01-29 09:44:29 +01:00
Mark Nellemann 98044859ae Option to enable power and thermal readings through the HCM REST API. 2021-01-28 19:53:45 +01:00
Mark Nellemann b93b560fd9 Add debug option.
Increase okhttp timeouts.
2021-01-25 19:14:26 +01:00
Mark Nellemann 272b2aa375 Add systemd service information. 2021-01-22 09:14:03 +01:00
Mark Nellemann 497f999b77 Try to be more resilient to influx write errors. 2021-01-21 14:05:05 +01:00
Mark Nellemann b8db4a786a Disable automatic influx batch writes. 2021-01-14 14:22:42 +01:00
Mark Nellemann 5b4f853e24 Move each HMC into it's own thread. 2021-01-14 13:51:18 +01:00
Mark Nellemann ea7922db7c More robustness towards null metrics. 2021-01-13 08:31:07 +01:00
Mark Nellemann 945c78d868 Replaced logback w. slf4j-simple to reduce size. 2021-01-05 14:53:52 +01:00
Mark Nellemann f4e9e9ab69 Retry login to InfluxDB.
Bumped version.
2020-12-23 13:02:48 +01:00
Mark Nellemann 13a34b0412 Added VIOS memory as percentage used.
Updated dashboards.
Bumped version.
2020-12-21 11:41:48 +01:00
Mark Nellemann 7d2625741a Added VIOS memory and processor metrics. 2020-12-16 12:36:08 +01:00
Mark Nellemann 85ed0ea8ba Added energy readings from the HMC - initial work.
Created new Grafana example dashboards.
2020-12-11 08:39:19 +01:00
Mark Nellemann ebf84c8350 Cleanup code. 2020-12-01 11:48:05 +01:00
Mark Nellemann 27468b2637 Quick fix, catch null exceptions when getting metrics data. 2020-10-19 12:00:03 +02:00
Mark Nellemann fe5a516cd3 More cleanup. 2020-10-15 15:23:16 +02:00
Mark Nellemann 3265f0721c Simplifications and cleanup. 2020-10-14 17:28:43 +02:00
Mark Nellemann 95964dabcc More work on robustness after refactoring 2020-10-14 10:41:31 +02:00