summaryrefslogtreecommitdiff
path: root/sysutils/munin-server/MESSAGE
blob: f3f5e8dd0c52e9a7e53d3b17f5c9e5e2d217ae73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
===========================================================================
$NetBSD: MESSAGE,v 1.5 2012/08/31 16:37:48 shattered Exp $

You can start the collection of statistics and production of graphs by
installing a crontab for the ${MUNIN_USER} user of the form

*/5 * * * * ${PREFIX}/bin/munin-cron

You may need to give ${MUNIN_USER} a valid shell to do so.


You may also want to add lines like

${VARBASE}/log/munin/munin-graph.log  munin:munin 644 7 *    24   Z
${VARBASE}/log/munin/munin-html.log   munin:munin 644 7 *    24   Z
${VARBASE}/log/munin/munin-limits.log munin:munin 644 7 *    24   Z
${VARBASE}/log/munin/munin-update.log munin:munin 644 7 *    24   Z

to your /etc/newsyslog.conf file to have the logs rotated.


'htmldir' should be owned by ${MUNIN_USER}; a subdirectory
named after munin's domain name should exist there for
munin-graph to work.  You also need to copy HTML templates from
${PREFIX}/share/examples/munin/templates to 'tmpldir'.

===========================================================================