You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- set up your PRTG server to use HTTPS (other connection methods not allowed at the moment)
19
19
- allow MiniProbes to connect (Setup -> Probes -> Allow MiniProbes to connect)
20
20
- 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)
21
+
- This is tested during the setup
21
22
- copy the miniprobe folder to your linux machine
22
-
- make the file "probe_installer.py" executable (e.g. "chmod 755 probe_installer.py")
23
-
- within the folder you placed the probe.py file create another folder called "logs" (mkdir logs)
24
23
- run the probe installer (e.g. "python probe_installer.py")
25
-
- when asked for a username by the installer script, please choose "root" for now
26
24
27
25
The miniprobe should now be started. You should also be able to start/stop the same using the command /etc/init.d/probe.sh start resp. /etc/init.d/probe.sh stop
28
26
27
+
Instalation of DS18B20
28
+
----------------------
29
+
Requirements:
30
+
- DS18B20
31
+
- 4.7K Ohm resistor
32
+
33
+
Setup:
34
+
- Solder the resister between pin 2 and 3 of the DS18B20 (when the flat part of the DS18B20 is facing ou, then pin 2 and 3 is from the middle pin to the right)
35
+
- place Pin 1 on pin 6 on the Raspberry
36
+
- place Pin 2 on pin 7 on the Raspberry
37
+
- place Pin 3 on pin 1 on the Raspberry
38
+
- Run the installscript of the probe and answer Yes to the question if you want to use the Raspberry Pi temperature sensor.
39
+
- The installscript will now make a change to the raspberry boot process to include a special library and it will reboot the Raspberry. After the reboot, run the installer again and answer the same question again. It will now (if all is correct) detect your DS18B20 (using it's own unique serial number) and just confirm that this is correct by presing <Return> on your keyboard.
40
+
29
41
Debugging
30
42
---------
31
43
@@ -38,3 +50,90 @@ with
38
50
debug:True
39
51
40
52
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.
53
+
54
+
Changelog
55
+
=========
56
+
14-02-2015
57
+
----------
58
+
- Added full support for the DS18B20 and a lot of cleanup and fixes
59
+
- Also added the boot/config.txt fix for the DS18B20 that is needed on the RPi
60
+
- Removed the no longer needed W1ThermSensor module from the repo
61
+
as the Raspbian Image for raspberry already includes everything needed
62
+
63
+
02-02-2015
64
+
----------
65
+
- Installer cleanup and preparation for reading current config
66
+
- Fix typo :(
67
+
- Installer cleanup continued, added uninstall option to the installer, debug option added during installation
68
+
- added W1ThermSensor module to the repo
69
+
70
+
26-01-2015
71
+
----------
72
+
- Merge pull request #2 from eagle00789/master
73
+
-- Fixed Update-rd.d command
74
+
-- Removed duplicate defined baseinterval check
75
+
-- Fixed a bug in the installer that created the config file before any values where asked
76
+
-- Added ping check for PRTG Server availability with possibility to still continue
77
+
-- Added several checks and moved some code around to a function.
78
+
79
+
19-01-2015
80
+
----------
81
+
- added optional debug information
82
+
83
+
08-01-2015
84
+
----------
85
+
- fix for issue 1
86
+
87
+
05-11-2014
88
+
----------
89
+
- updated module requests
90
+
91
+
10-10-2014
92
+
----------
93
+
- dropped own logging
94
+
-- now using python built in logging function (you might delete the file logger.py if existant)
95
+
-- created file miniprobe.py which offers base functionality, probe.py now only does the work
96
+
-- various changes and code cleanup
97
+
-- added script templates for the probe_installer.py in folder /scripts
98
+
-- changed version number to reflect YY.QQ.Release
99
+
100
+
28-08-2014
101
+
----------
102
+
- added module retry
103
+
104
+
26-08-2014
105
+
----------
106
+
- Updated module requests
107
+
-- from now it is not necessary to use weakened security in the PRTG web server. There will be a one time warning if you are using a self signed certificate which can be ignored.
108
+
- added VERSION.txt file
109
+
-- the version number is built up from Year.Quarter.Buildnumber
110
+
- moved Python version check to the beginning of the script
111
+
- big code cleanup
112
+
- applied PEP 8 rules to the code, some other refactoring). To be continued... (Probably tomorrow)
0 commit comments