What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

MiniProbe Centos issue

Votes:

0

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

centos miniprobe prtg

Created on Sep 25, 2015 5:06:51 PM



2 Replies

Accepted Answer

Votes:

1

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.

Created on Sep 28, 2015 8:37:07 AM by  Stephan Linke [Paessler Support]

Last change on Mar 26, 2020 4:10:34 PM by  Matthias Kupfer [Paessler Support]



Votes:

0

Excellent Thank you !!

Created on Sep 28, 2015 2:45:30 PM




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.