Creates device templates for your PRTG Network Monitoring Tool that you can use to monitor your server's specific PaperCut installation.
In the PaperCut Admin web interface, select Options > Advanced
In the System Health Monitoring area, copy the URL for the PaperCut Health Monitoring API
Run the script with the first argument being the GET Query Parameter (the Health Monitoring URL) for the PaperCut Health Monitoring API.
./pc-prtg-generator.py http://203.0.113.0:9191/api/health/?Authorization=authKey1234 -s linux1 -lo office1
python3 pc-prtg-generator.py http://203.0.113.0:9191/api/health/?Authorization=authKey1234 --limit 50
This will generate files in the script's directory that are specific for your PaperCut Installation. which You can then be used these files as templates in the PRTG Admin interface., specific for your PaperCut Installation.
Copy the files to your {PRTG_INSTALLATION}\devicetemplates
directory.
Argument | Parameter | Description |
---|---|---|
address |
STRING | GET Query URL for your PaperCut Server Health Monitoring API |
Argument | Parameter | Description |
---|---|---|
-n --name |
STRING (Default None) | Filter results by name |
-lo --location |
STRING (Default None) | Filter results by location |
-s --server |
STRING (Default None) | Filter results by server |
-li --limit |
INT (Default 250) | Maximum number of printers/devices to include in the template |