Server monitoring with graphical output required, but no need to run a monitoring suite like nagios? With existing debian lamp server you might want to use SmokePing.
Setup is fairly easy:
- apt-get install smokeping
- edit /etc/smokeping/config.d/General
let cgiurl point to your server https://your_domain.tld/cgi-bin/smokeping.cgi - edit /etc/smokeping/config.d/Targets and define the servers which should be monitored
- restart smokeping: systemctl restart smokeping (or smokeping –restart)
- open https://your_domain.tld/smokeping/smokeping.cgi
Add password protection:
- edit /etc/apache2/conf-available/smokeping.conf and add two Location sections:
<Location /cgi-bin/smokeping.cgi>
AuthUserFile /etc/apache2/your_password_file
AuthName “protected”
AuthType Digest
AuthDigestProvider file
require valid-user
</Location>
<Location /smokeping/smokeping.cgi>
… (see above)
</Location> - htdigest -c /etc/apache2/your_password_file “protected” your_user
- apache2ctl configtest
apache2ctl graceful
Credits go to Tobi Oetiker, the author of this well made tool!