HPE Blade enclosure scraper. Goes through all blades individually, querying data. Provides Prometheus data on http request. I acknowledge I learned and changed during, and regret how it looks. Still better than hpe tho. prom.py is main.
Go to file
rasmus 81bf6ad4e7 add more junk to the root of the project (readme) 2021-12-16 01:18:25 +02:00
.vscode we have bays 2021-12-16 01:18:24 +02:00
.gitignore Dockerization 2021-12-16 01:18:24 +02:00
Dockerfile increased timeout from 3.5m to 10m 2021-12-16 01:18:25 +02:00
README.md add more junk to the root of the project (readme) 2021-12-16 01:18:25 +02:00
blade_bay_locations.png Upload /blade_bay_locations.png 2021-12-16 01:18:25 +02:00
docker-compose.yml add prometheus testing confs 2021-12-16 01:18:25 +02:00
listServers.py fix treating remarks as server items, what sometimes causes a crash downstream (while the remark is present for a few) 2021-12-16 01:18:25 +02:00
prom.py Add git hash to metrics. 2021-12-16 01:18:25 +02:00
prom_servers.py Add git hash to metrics. 2021-12-16 01:18:25 +02:00
prometheus.yml increased timeout from 3.5m to 10m 2021-12-16 01:18:25 +02:00
readme.jpg add more junk to the root of the project (readme) 2021-12-16 01:18:25 +02:00
relativeUsage.py foo bar 2021-12-16 01:18:24 +02:00
requirements.txt Dockerization 2021-12-16 01:18:24 +02:00
scraperMain.py remove some unneeded test data 2021-12-16 01:18:24 +02:00

README.md

a pigeon flying with their feet as a helicopter, quote When your program is a complete mess, but does its job

That's about what you would expect for the first larger than a few lines python thing (this) I have started from scratch and made functional.

To be honest, the HPE side is quite a bird-copter as well.