Skip to content

Python script to get stats for docker containers in a PRTG compatible sensor format (xml)

License

Notifications You must be signed in to change notification settings

remetrics/docker2prtg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

docker2prtg.py

Python script to get stats for docker containers in a PRTG compatible sensor format (xml)

Installation:

Run the below two commands to install package requirements:

sudo -i

apt update && apt install python3-pip && pip3 install pandas jinja2 && cp docker2prtg.py /usr/bin/docker2prtg.py && chmod +x /usr/bin/docker2prtg.py

Adapt path to docker binary in the script. You can find out the correct path by typing "which docker"

Run with docker2prtg.py field

About

Python script to get stats for docker containers in a PRTG compatible sensor format (xml)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages