Skip to content

Commit 0a33a3d

Browse files
committed
Merge pull request #28 from PaesslerAG/development
MAJOR UPDATE
2 parents 772da28 + 8a45a4f commit 0a33a3d

File tree

354 files changed

+1936
-54811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

354 files changed

+1936
-54811
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
*.gz
44
*.conf
55
sensors/__init__.py
6+
dist
7+
*.egg-info
8+
build

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
- "3.2"
5+
- "3.3"
6+
- "3.4"
7+
os:
8+
- linux
9+
matrix:
10+
allow_failures:
11+
- python: "3.2"
12+
- python: "3.3"
13+
- python: "3.4"
14+
branches:
15+
only:
16+
- master
17+
- development
18+
install:
19+
- pip install --upgrade pip
20+
- pip install -r requirements.txt
21+
script:
22+
- nosetests -v

README.md

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,39 @@ PythonMiniProbe
44
Current Status: BETA
55
MiniProbe POC for PRTG Network Monitor written in Python which accesses the MiniProbe Interface on the PRTG Core Server.
66

7+
Build Status
8+
------------
9+
[![Build Status](https://travis-ci.org/PaesslerAG/PythonMiniProbe.svg?branch=development)](https://travis-ci.org/PaesslerAG/PythonMiniProbe)
10+
11+
IMPORTANT: Major changes in this branch. Please see Migration Howto below!
12+
Installation for this branch
13+
----------------------------
14+
- Install python-dev and build-essential (or at least gcc) packages
15+
- Install pip as outlined here https://pip.pypa.io/en/latest/installing.html (pre Python 2.7.9)
16+
- Download either zip or clone repository
17+
- run command 'sudo python setup.py install' which will install all necessary packages
18+
19+
Migration Guide
20+
---------------
21+
- Copy away file probe.conf
22+
- Stop the mini probe process
23+
- Delete the files /etc/init.d/probe and /etc/logrotate.d/probe (filenames might be prtgprobe as well)
24+
- Remove the /probe folder
25+
- Install python-dev and build-essential (or at least gcc) packages
26+
- Install pip as outlined here https://pip.pypa.io/en/latest/installing.html (pre Python 2.7.9)
27+
- Download either zip or clone repository
28+
- Run command 'sudo python setup.py install' which will install all necessary packages and will run the configuration
29+
- [optional] Run 'install.sh' to skip the 4 steps above
30+
- Copy the gid line from your old probe.conf to the new probe.conf at /probe/miniprobe/probe.conf
31+
- Start the mini probe process, the mini probe will connect with the previous GID and continue monitoring
32+
IMPORTANT: If replacing the new probe.conf with the old one, make sure the line 'subprocs:10' is present in the file!
33+
34+
735
Prerequisites
836
-----------------
937
Debian based system (tested on Ubuntu, Debian, Raspbian)
1038
Python 2.7+
11-
Needed modules are delivered with the probe package:
39+
Needed modules are installed using the setup.py install phase:
1240
- pyasn1 (https://pypi.python.org/pypi/pyasn1/0.1.7)
1341
- pysnmp (https://pypi.python.org/pypi/pysnmp/4.2.5)
1442
- requests (https://pypi.python.org/pypi/requests/2.5.3)
@@ -21,7 +49,7 @@ Installation
2149
- make sure you can reach the PRTG web interface from the machine the mini probe should run on (e.g. wget https://YOUR_PRTG_SERVER)
2250
- This is tested during the setup
2351
- copy the miniprobe folder to your linux machine
24-
- run the probe installer (e.g. "python probe_installer.py")
52+
- run the probe installer (e.g. "sudo python setup.py install")
2553

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

@@ -80,6 +108,17 @@ Changelog
80108
=========
81109

82110
=======
111+
11-06-2015
112+
----------
113+
MAJOR CHANGES:
114+
- restructuring project layout accoriding to pip compliance
115+
- removed included modules
116+
- added support for pip/reqirements.txt
117+
- for installation, see above "Installation for this branch"
118+
- added tests folder for future unit tests
119+
- dropped probe_installer.py, code moved to setup.py
120+
- added release
121+
83122
07-05-2015
84123
----------
85124
- Finished the DNS Sensor for all dns types currently available in a Windows Probe

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15.2.2
1+
15.2.6

changelog.txt

Lines changed: 0 additions & 27 deletions
This file was deleted.

dns/__init__.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)