summaryrefslogtreecommitdiff
path: root/src/pmview/front-ends/config.webvis
blob: 08394fcdeb217d2975acfecadec6262a8fec826f (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#
# pmlogger(1) configuration file suitable creating an archive to be
# used with webvis(1)
#

# file system and hinv stats
# (log these once so they _definitely_ exist at start of archive)
log advisory on once {
    hinv.ncpu
    hinv.physmem
    hinv.ndisk
    mem.physmem
    disk.dev.read
}

log advisory on 60 seconds {
    # Kernel, disk and swap and paging metrics 
    disk.all.read
    disk.all.write
    disk.all.avg_disk.active
    kernel.all.cpu.idle
    kernel.all.cpu.intr
    kernel.all.cpu.sys
    kernel.all.cpu.user
    kernel.all.cpu.wait.total
    mem.freemem
    mem.util.kernel
    mem.util.fs_ctl
    mem.util.fs_dirty
    mem.util.fs_clean
    mem.util.user
    swap.pagesout
    network.interface.out.drops
    network.interface.out.errors
    network.interface.out.packets
    network.interface.in.drops
    network.interface.in.errors
    network.interface.in.packets
    network.interface.total.bytes
    # Network data rates and error conditions
    network.tcp.drops
    network.tcp.conndrops
    network.tcp.timeoutdrop
    network.tcp.sndrexmitpack
    network.tcp.rcvbadsum
    network.tcp.rexmttimeo
    network.mbuf.failed
    network.mbuf.waited
    # Web logs - both frequent and infrequent samples
    web.allservers
}