Python Prometheus Host Stats (some RaspberryPi (Debain not Rasperian) specifics)
Python 3.5+
This is designed to be an easy way to collect host stats using prometheus scrape as if your are scraping for other stuff nice and easy to also scrape for this. I got fed up of the different ways telegraf and prometheus reported stuff making comparisons and graphing on a single page hard work. If you want to monitor some basic host stats from the hose its self that from other source this is a quick easy way to add this. I am amazed someone has not done it already but a quick search returned fruitless.
I should probably mention this uses proc/XYZ for grabbing the stats so will only work on OS's that have the proc files :-)
This can be run in either Pull mode (Prometheus/Flask) or Push mode (Influx directly)
Phil Bridges - phbridge@cisco.com
Please see LICENCE file
This software is provided as is and with zero support level. Support can be purchased by providing Phil bridges with a varity of Beer, Wine, Steak and Greggs pasties. Please contact phbridge@cisco.com for support costs and arrangements. Until provison of alcohol or baked goodies your on your own but there is no rocket sciecne involved so dont panic too much. To accept this EULA you must include the correct flag when running the script. If this script goes crazy wrong and breaks everything then your also on your own and Phil will not accept any liability of any type or kind. As this script belongs to Phil and NOT Cisco then Cisco cannot be held responsable for its use or if it goes bad, nor can Cisco make any profit from this script. Phil can profit from this script but will not assume any liability. Other than the boaring stuff please enjoy and plagerise as you like (as I have no ways to stop you) but common curtacy says to credit me in some way [see above comments on Beer, Wine, Steak and Greggs.].