PRTG / PythonMiniProbe

MiniProbe for PRTG Network Monitor written in Python
BSD 3-Clause "New" or "Revised" License
73 stars 50 forks source link

Important

From now on this project is completely deprecated and only here for reference!
Some time ago the Python Mini Probe project was rebooted and moved over to Gitlab. Come over and check it out! - Konstantin Wolff, Paessler AG 23/11/2020

PythonMiniProbe

With the current version of PRTG, you can use the Mini Probe interface with your custom code to implement solutions to special scenarios that you might have in your network. Please note that there are major changes planned to the underlying API in PRTG. Therefore, any code you write now will likely need to be changed later, so it can be used for future versions of PRTG. Further news about changing interfaces will be provided here as soon as there are more detailed plans available.

Current Status: BETA

MiniProbe POC for PRTG Network Monitor written in Python which accesses the MiniProbe Interface on the PRTG Core Server.

Build Status

Build Status

IMPORTANT: Major changes in this branch. Please see Migration Howto below! Installation

The miniprobe should now be started. You should also be able to start/stop the same using the command

sudo service prtgprobe start

or

sudo service prtgprobe stop

Migration Guide

Prerequisites

Debian based system (tested on Ubuntu, Debian, Raspbian)
Python 2.7+ (preferred 2.9) Needed modules are installed using the setup.py install phase:
Module list deprecated as pip will resolve dependencies!

Installation of DS18B20

Requirements:

Setup:

Current available sensors

Debugging

To enable debugging, open the file probe.conf and replace the line

debug:

with

debug:True

This will enable detailed logging to folder "logs" which is as sub folder of the miniprobe folder. For further debugging, please stop the miniprobe process as outlined above. Navigate to the folder the file "probe.py" can be found then run following command "python probe.py". On major errors you will get the details and traceback directly on the console.

Changelog

=======

12-02-16

23-07-2015

MAJOR CHANGES:

MINOR CHANGES:

11-06-2015

MAJOR CHANGES:

07-05-2015

04-05-2015

10-03-2015

24-02-2015

14-02-2015

02-02-2015

26-01-2015

19-01-2015

08-01-2015

05-11-2014

10-10-2014

28-08-2014

26-08-2014

17-07-2014

07-07-2014

27-06-2014

26-06-2014

25-06-2014