https://github.com/jelloeater/uptimeparser
SNMP Uptime Parser outputs number of devices over x time to eith JSON or XML for PRTG
https://github.com/jelloeater/uptimeparser
prtg-network-monitor prtg-python prtg-sensors
Last synced: 10 months ago
JSON representation
SNMP Uptime Parser outputs number of devices over x time to eith JSON or XML for PRTG
- Host: GitHub
- URL: https://github.com/jelloeater/uptimeparser
- Owner: Jelloeater
- Created: 2019-01-16T05:10:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-07T17:44:46.000Z (over 1 year ago)
- Last Synced: 2025-05-15T19:53:33.647Z (10 months ago)
- Topics: prtg-network-monitor, prtg-python, prtg-sensors
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# UptimeParser
Simple application to report on SNMP uptime for various devices
* Script reads line separated devices and output number of devices over time limit
# Build (Install requirements)
* Install all libraries in requirements.txt with PIP
* To use PyInstaller to generate EXE, you will need MS Visual C++ 2015 14.0.23918 redistributable
* Run `pyinstaller --clean UptimeParserMain.spec` (build from root dir)
* NOTE: You will need to edit the `UptimeParserMain.spec` file to include where you are building from this is due to an issue with MIB libraries not getting bundled with the complied EXE due to them getting dynamically loaded. Because of this, PyInstaller does not add them to the generated EXE
* TLDR; Dynamically loading libraries do not play well with static analysis :-P
# Testing
* Just run Pytest `pytest --cov -s -v` (from root dir)