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.
 
 
Lauri Võsandi e4de6bea36 Add prod docker-compose and instructions 2 months ago
.vscode we have bays 6 months ago
.gitignore Dockerization 6 months ago
Dockerfile Rename entry point to blades.py 2 months ago
README.md Add prod docker-compose and instructions 2 months ago
blade_bay_locations.png Upload /blade_bay_locations.png 5 months ago
blades.py Rename entry point to blades.py 2 months ago
docker-compose.dev.yml Rename dev instance compose 2 months ago
docker-compose.yml Add prod docker-compose and instructions 2 months ago
listServers.py fix treating remarks as server items, what sometimes causes a crash downstream (while the remark is present for a few) 6 months ago
prom_servers.py Add git hash to metrics. 6 months ago
prometheus.yml increased timeout from 3.5m to 10m 6 months ago
readme.jpg add more junk to the root of the project (readme) 5 months ago
relativeUsage.py foo bar 6 months ago
requirements.txt Dockerization 6 months ago
scraperMain.py remove some unneeded test data 6 months ago

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.

Running development instance

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

Deploying

Deploying in prod:

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