Conversion of this initial python2 script here :
https://github.com/librenms/librenms-agent/blob/master/agent-local/nginx
to python3 version.
Conversion of this initial python2 script here :
https://github.com/librenms/librenms-agent/blob/master/agent-local/nginx
to python3 version.