Hello I'm new to linux and with the help of prtg manual I was successfully able to install python miniprobe on Ubuntu servers and start the prtgprobe deamon.

But Im unable to start the prtgprobe daemon in Centos RedHat 7 servers. When I do "sudo python probe.py" ( work around ) inside miniprobe folder I can see the sensor gets connected to PRTG core server and metrics are visible..works as expected but the problem here is when I exit the server, probe gets disconnected and no data seen.

Based on the google search knowledge I understand that ubuntu has start-stop-daemon in the packages where as centos doesnt .

Did a lots of google and couldn't find straight answer can someone help me how to start the prtgprobe daemon on centos like ubuntu


Article Comments

That would be because the script runs inside of your user session :) You'll have to add the script to a so called runlevel. Here's a blog entry that describes how to do this on CentOS:
Start/Stop Script for Python Programs

This allows the mini probe to be started when the system is ready and your probe will work fine, wether you're logged in or not.


Sep, 2015 - Permalink

Excellent Thank you !!


Sep, 2015 - Permalink