Interwebs.life

Configuring avahi-daemon on Raspberry Pi

avahi raspberry-pi docker mdns

I’ve been having intermittent issues connecting to my Raspberry Pi using the local domain name `interwebs.local`. After the most recent issue, I decided to actually figure out the root cause...

read more...

GeoIP with MaxMind

analytics goaccess geoip maxmind

We don’t get ip geolocation out of the box with GoAccess. But we can integrate MaxMind’s geoIP database to get location support in our analytics...

read more...

Docker monitoring with cAdvisor

monitoring raspberry-pi cloud docker cadvisor prometheus grafana

In the last post we set up monitoring at the machine level, but we don’t get a good picture of what is happening inside docker. Let’s set up cAdvisor to get stats about each of the containers running in docker...

read more...

Server monitoring with node_exporter, Prometheus, and Grafana

monitoring raspberry-pi cloud node-exporter prometheus grafana

Our servers are up, but are they healthy? We can set up a monitoring stack to answer that question using node_exporter, Prometheus, and Grafana...

read more...

Log analysis with GoAccess

analytics nginx goaccess

Now that we’re serving data from our Rasberry Pi, let’s see if anyone is actually consuming that data by analyzing our web server logs...

read more...

Analytics - the tracking pixel

analytics cdn cloudflare nginx

A CDN will reduce load on the backend server, but since traffic doesn’t hit our server we can’t get accurate analytics from the server logs. To mitigate this, we can add a tiny image to each page and tell the CDN not to cache it...

read more...