PRTG API Data Extractor
Extract historical or live data from PRTG server, in either CSV, JSON or XML. Merges CSV's into single file for simple parsing. Import csv with IDs to retrieve or use built in Search functionality (tags, groups, type, sensor name, probe or device) to narrow down IDs.
Requirements
Python >= 3.6
- Pandas
- Numpy
- Requests
- Standard library
- A PRTG Environment
Set Credentials
- File > Server Settings > PRTG Admin username & password
- PRTG Server IP
- Add port
- Check for SSL if necessary.
All fields are required
General Steps
- Select between Live Data or Historic Data
- Input ID's, manually, import CSV or Search.
- Set Date periods or specific live data request parameters.
- Optionally set resulting file location (Default desktop) If the directory doesn't exist it will try to create the folder.
./myPath/PRTG API Requests/CSV Merge
- Get
Search
- Select specific rows or include all search results