Collectd is already grabbing statistics from my services and drop them into InfluxDB so that I can get pretty graphes with Grafana. One thing I miss is a single page that shows the overall status for all those systems ; somehow also known as Status Page.
I’ve enabled an OpenBSD unbound(8) daemon that is used as a central DNS cache resolver. Now I needed to know what it was doing and how it performed. The question was answered grabbing statistics from unbound and render them using Grafana.
The whole monitoring stack is composed of Net-SNMP, Telegraf and InfluxDB for the metrics part ; and syslogd(8), Logstash and Elasticsearch for the logs part. Of course, most of those run on OpenBSD (6.3) ; except Telegraf, which is not available (yet).
In a “get pretty graphs” mood, I’m looking at what can be done regarding OpenBSD monitoring using the CollectD collector and Grafana dashboard renderer. OpenBSD 6.2-current provides InfluxDB and Grafana packages. A great stack for pretty reportings.
Imil wrote as nice 5 minutes collectd + facette setup article using NetBSD. After a quick look in the ports, I saw it was possible to monitor OpenBSD using Collectd and Facette too. Hang tight, it only takes seconds to achieve.
RRDcached is a daemon that caches a bunch of RRD write requests and apply them at once. This enables to speed up RRD files update. When you install Munin on OpenBSD, RRDcached is also installed by default. But there are things to do to actually use it. Here’s how I did it.