node-exporter-textfile-collector-scripts
node-exporter-textfile-collector-scripts copied to clipboard
deleted-libraries.py: fix exception handling and miss-counting
EnvironmentError exceptions deprecated since Python 3.3 and are now longer used. I have this changes running since over a year now and have never encountered any other exceptions than FileNotFoundError or ProcessLookupError. Also due to an indentation error the metric values could never reach anything above 1 even if the outdated library is used more than once.