Today I’ve decided to document how I installed my munin monitoring system on OpenBSD and how to make two plugins work in particular.
I run an instance of Nginx and also a PostgreSQL server so I wanted my munin to be able to get some info about them.
The fact is that you need some additionnal dependencies in order to make them return values properly. The two required libraries are p5-libwww (for the Nginx plugin) and p5-DBD-Pg (for the PostgreSQL one). To install them you have to type the following commands :
# pkg_add p5-libwww # pkg_add p5-DBD-Pg
Both have dependencies, so these commands will install more libraries than just the two I mentionned before.