summaryrefslogtreecommitdiff
path: root/sysutils/gather/files/pkg-message.in
blob: a9ba63018cc8893d1a65efa69d727adb363492bb (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
[
{ type: install
  message: <<EOM
To setup statistics gathering you could e.g. add something like this
to /etc/crontab:

  */5 * * * * root %%PREFIX%%/bin/gather collect
  18  0 * * * root %%PREFIX%%/bin/gather expire 7

Before adding this, please, review the configuration in
%%PREFIX%%/etc/gather.

To check that the configuration is correct, run:

  gather show utils
  gather -v collect

After setting cron up, you can check if gathering works running:

  gather show -t 1h grep . uptime

See gather(1) and %%DOCSDIR%%/README for more details.
EOM
}
]