Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_mk and pi-hole #12

Closed
chris240189 opened this issue Aug 13, 2019 · 1 comment
Closed

check_mk and pi-hole #12

chris240189 opened this issue Aug 13, 2019 · 1 comment

Comments

@chris240189
Copy link

I was trying to use check_mk and pi-hole on the same RPi3 3B+, but it looks like they don't like each other.

I played a bit with the lighttpd conf etc. but it seems either one or the other breaks or atleast the web-gui.

Do you have any experience with that? Could check_mk be made compatible? Is there even enough power on a RPi3 B+ to make both work simultaneously?

@chrisss404
Copy link
Owner

chrisss404 commented Aug 15, 2019

This issue is a bit off-topic, but let's see if I can help you.

https://discourse.pi-hole.net/t/hardware-software-requirements/273

Port 80 should be used by lighttpd

If you have another Web server already running, such as Apache, Pi-hole’s Web server will not work. You can either disable the other Web server or change the port on which lighttpd listens, which allows you keep both Web servers running.

The problem you are facing is that two web servers compete for port 80. So you can configure one of them to use a different port, or you can get rid of one of them.

I would suggest the second solution: getting rid of lighttpd. For more information, see: https://discourse.pi-hole.net/t/migrating-pi-hole-from-lighttpd-to-apache/152/4.

# Stop and disable lighttpd service
systemctl stop lighttpd.service
systemctl disable lighttpd.service

# Get PHP support for apache2
apt-get install libapache2-mod-php

# Restart apache2 service
systemctl restart apache2.service

In terms of performance there should not be any problems for your RPi.

HTH & BR
Christian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants