PHP Server Monitor

I think I have finally found the simple replacement for SiteScope that I have been trying to find. It is a little poorly documented, but provides a simple dashboard (see below) and email or SMS notifications.

To get this up on my Raspberry Pi, I first needed to install samba file sharing so I could transfer the zip file from my laptop to the R-Pi. I used the instructions from the trusty “PiMyLife” site:

https://pimylifeup.com/raspberry-pi-samba/

The PHP Server Monitor software can be found here:

And the documentation is here: http://docs.phpservermonitor.org/en/latest/intro.html

The installation instructions is hardly step-by-step. It says you simply copy the files to your web directory, but does not talk about the database set up. For that, I found this site useful:

https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/install-php-server-monitor-on-ubuntu-15-04-centos-7-fedora-22.html

Also, it says to “run install.php”. I tried to run it from the command line but it mean to access it via the web server.

Setting up the email/SMTP from the UI was tricky as I had to find the right settings. I could not get it to work with Google’s SMPT server but luckily could use one from my DNS provider (Ionos).

Finally, I would set up some failures to test the dashboard and email notifications. I unplugged my printer to see what happened. The dashboard went RED but I did not get an email. I used the email “TEST” button again and it worked. Somewhere online I noticed that I had to assign a “user” to each monitor (at the bottom of the monitor definition). Now it seems to be working.

I will need to try this for a while, but so far, other than the lack of auto-discovery, I may have found my home monitoring solution.

Add a Comment

Your email address will not be published. Required fields are marked *