SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
net/munin/pkg/README-server
Normal file
23
net/munin/pkg/README-server
Normal file
|
@ -0,0 +1,23 @@
|
|||
+-----------------------------------------------------------------------
|
||||
| Running ${PKGSTEM} 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.
|
Loading…
Add table
Add a link
Reference in a new issue