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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rasmus 97ee6390d9 Add prod docker-compose and instructions 10 months ago
.vscode we have bays 1 month ago
.gitignore Dockerization 1 month ago
Dockerfile Rename entry point to blades.py 1 month ago
README.md Add prod docker-compose and instructions 1 month ago
blade_bay_locations.png Upload /blade_bay_locations.png 1 month ago
blades.py Rename entry point to blades.py 1 month ago
docker-compose.dev.yml Rename dev instance compose 1 month ago
docker-compose.yml Add prod docker-compose and instructions 1 month ago
listServers.py fix treating remarks as server items, what sometimes causes a crash downstream (while the remark is present for a few) 1 month ago
prom_servers.py Add git hash to metrics. 1 month ago
prometheus.yml increased timeout from 3.5m to 10m 1 month ago
readme.jpg add more junk to the root of the project (readme) 1 month ago
relativeUsage.py foo bar 1 month ago
requirements.txt Dockerization 1 month ago
scraperMain.py remove some unneeded test data 1 month ago


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.

Running development instance

docker-compose -f docker-compose.dev.yml up --build


Deploying in prod:

docker-compose -f docker-compose.yml up --build -d