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

Apache restart and ssl Passphrase on Linux System



Hi, we have a linux system monitored by PRTG and sometimes we get a http failure, so an apache restart is necessary. I would love to do that automaticaly with PRTG. Is there a way?

The thing is a normal start of the apache doesn't do it, we need to input a ssl passphrase.

Anybody can help with that? Thanx in advance Susie

apache https linux linux-services prtg

Created on Sep 18, 2019 6:55:01 AM

1 Reply



Hi there,

A go to solution is not available for this issue as far as I know. Maybe other users are troubled with the same issue and found a solution.

From my perspective the best option would be to write a script on the Core Server (Bash or Python), which gets the current status of the sensor:
This call must be done authenticated:

Afterwards check the "statustext", when the value is not "Up", then fire the command to restart the Apache Server.
This script should run every X minutes, you can achieve this by using crontab:

Best regards.

Created on Sep 18, 2019 10:46:30 AM by  Dariusz Gorka [Paessler Support]

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.