|
Lines 6-37
Link Here
|
| 6 |
mux 127.0.0.1 2100 |
6 |
mux 127.0.0.1 2100 |
| 7 |
|
7 |
|
| 8 |
source 127.0.0.1 { |
8 |
source 127.0.0.1 { |
| 9 |
accept { cpu(0), mem, |
9 |
accept { cpu(0), mem, |
| 10 |
if(lo0), |
10 |
if(lo), |
| 11 |
# pf, |
11 |
# if(eth0), if(eth1), |
| 12 |
# mbuf, |
12 |
# io(hdb), io(hdc), io(hdd), io(sda) |
| 13 |
# sensor(0), |
13 |
io(hda) |
| 14 |
# proc(httpd), |
|
|
| 15 |
# if(xl0), if(de0), if(wi0), |
| 16 |
# io(wd1), io(wd2), io(wd3), io(cd0) |
| 17 |
io(wd0) |
| 18 |
} |
14 |
} |
| 19 |
|
15 |
|
| 20 |
datadir "/var/www/symon/rrds/localhost" |
16 |
datadir "/var/lib/symon/rrds/localhost" |
| 21 |
} |
17 |
} |
| 22 |
|
18 |
|
| 23 |
# an example showing the write directive |
19 |
# an example showing the write directive |
| 24 |
# |
20 |
# |
| 25 |
# source 10.0.0.2 { |
21 |
# source 10.0.0.2 { |
| 26 |
# accept { cpu(0), mem, if(sis0), if(sis1), |
22 |
# accept { cpu(0), mem, if(eth0), if(eth1), |
| 27 |
# if(lo0), if(wi0), io(wd0) |
23 |
# if(lo), io(hda) |
| 28 |
# } |
24 |
# } |
| 29 |
# |
25 |
# |
| 30 |
# write cpu(0) in "/var/www/symon/rrds/4512/cpu0.rrd" |
26 |
# write cpu(0) in "/var/lib/symon/rrds/hostname/cpu0.rrd" |
| 31 |
# write mem in "/var/www/symon/rrds/4512/mem.rrd" |
27 |
# write mem in "/var/lib/symon/rrds/hostname/mem.rrd" |
| 32 |
# write if(sis0) in "/var/www/symon/rrds/4512/if_sis0.rrd" |
28 |
# write if(eth0) in "/var/lib/symon/rrds/hostname/if_eth0.rrd" |
| 33 |
# write if(sis1) in "/var/www/symon/rrds/4512/if_sis1.rrd" |
29 |
# write if(eth1) in "/var/lib/symon/rrds/hostname/if_eth1.rrd" |
| 34 |
# write if(lo0) in "/var/www/symon/rrds/if_lo0.rrd" |
30 |
# write if(lo) in "/var/lib/symon/rrds/hostname/if_lo.rrd" |
| 35 |
# write if(wi0) in "/var/www/symon/rrds/4512/if_wi0.rrd" |
31 |
# write io(hda) in "/var/lib/symon/rrds/hostname/io_hda.rrd" |
| 36 |
# write io(wd0) in "/var/www/symon/rrds/4512/io_wd0.rrd" |
|
|
| 37 |
# } |
32 |
# } |