flexible network host monitoring, server
Project homepage: https://munin-monitoring.org/
Description
Munin the monitoring tool surveys all your computers and
remembers what it saw. It presents all the information in graphs
through a web interface. Its emphasis is on plug and play
capabilities. After completing an installation a high number
of monitoring plugins will be playing with no more effort.
Using Munin you can easily monitor the performance of your
computers, networks, SANs, applications, weather measurements
and whatever comes to mind. It makes it easy to determine
"what's different today" when a performance problem crops up. It
makes it easy to see how you're doing capacity-wise on any
resources.
This package, munin-server, contains the files to install on a
server monitoring various machines running munin-node.
Package information
- Ports path
- net/munin,-server
- Package architecture
- *
- Maintainer
- Kirill Bychkov <kirby@openbsd.org>
- Categories
- net, lang/python, lang/ruby
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
- devel/p5-File-Copy-Recursive
- net/rrdtool
- security/p5-Net-SSLeay
- www/fcgi
- www/p5-CGI-Fast
- www/p5-HTML-Template
- www/p5-URI
- net/munin
Build
- devel/p5-Module-Build
- devel/p5-Log-Log4perl
- net/p5-Net-SNMP
- security/p5-Net-SSLeay
- www/p5-HTML-Template
- devel/gmake
Test
OpenBSD README
This README contains unresolved ports variables; replace them before using its commands.
+-----------------------------------------------------------------------
| Running munin-server on OpenBSD
+-----------------------------------------------------------------------
After configuring at least one munin-node instance and adapting
${SYSCONFDIR}/munin/munin.conf as desired, you may run the periodic
tasks from cron with the following line:
*/5 * * * * su -s /bin/sh _munin ${TRUEPREFIX}/bin/munin-cron
Log files in /var/log/munin will need to be rotated. Here is a sample
newsyslog.conf fragment:
/var/log/munin/munin-graph.log _munin:_munin 644 7 250 * Z
/var/log/munin/munin-html.log _munin:_munin 644 7 250 * Z
/var/log/munin/munin-limits.log _munin:_munin 644 7 250 * Z
/var/log/munin/munin-update.log _munin:_munin 644 7 250 * Z
Optionally you may want to use rrdcached to reduce disk I/O. Here is a sample
/etc/rc.conf.local part:
rrdcached_flags=-b /var/db/munin -l unix:/var/run/munin/rrdcached.sock -j /var/db/munin/journal -p /var/run/munin/rrdcached.pid -m 0660 -s _munin -w 1800 -z 1800 -f 3600 -F
rrdcached_user=_munin
Add www user to _munin group to grant write permissions on rrdcached socket.