Annotation of embedaddon/bmon/examples/bmon.conf, revision 1.1.1.2
1.1 misho 1: /*
2: * read_interval = 1.0
3: * rate_interval = 1.0
4: * variance = 0.1
5: * history_variance = 0.1
6: * sleep_time = 20000
7: * lifetime = 30.0
8: * show_all = true
9: * policy = ""
10: */
11:
12: /*
13: * element eth0 {
14: * description = { "My description" }
15: * rxmax = { 10000 }
16: * txmax = { 10000 }
17: * max = { 12500000 }
18: * }
19: */
20:
21: /*
22: * Default configuration
23: *
24: * The following definitions is what is compiled into bmon and used
25: * by default.
26: */
1.1.1.2 ! misho 27: unit byte {
! 28: variant default {
! 29: div = { 1, 1024, 1048576, 1073741824, 1099511627776}
! 30: txt = { "B", "KiB", "MiB", "GiB", "TiB" }
! 31: }
! 32: variant si {
! 33: div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
! 34: txt = { "B", "KB", "MB", "GB", "TB" }
! 35: }
! 36: variant bit {
! 37: div = { 0.125, 125, 125000, 125000000, 125000000000 }
! 38: txt = { "b", "Kb", "Mb", "Gb", "Tb" }
! 39: }
! 40: }
! 41:
! 42: unit bit {
! 43: variant default {
! 44: div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
! 45: txt = { "b", "Kb", "Mb", "Gb", "Tb" }
! 46: }
! 47: variant si {
! 48: div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
! 49: txt = { "b", "Kb", "Mb", "Gb", "Tb" }
! 50: }
! 51: variant bit {
! 52: div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
! 53: txt = { "b", "Kb", "Mb", "Gb", "Tb" }
! 54: }
! 55: }
! 56:
! 57: unit number {
! 58: variant default {
! 59: div = { 1, 1000, 1000000, 1000000000, 1000000000000 }
! 60: txt = { "", "K", "M", "G", "T" }
! 61: }
! 62: }
! 63: unit percent {
! 64: variant default {
! 65: div = 1.
! 66: txt = "%"
! 67: }
! 68: }
! 69:
! 70: history second {
! 71: interval = 1.
! 72: size = 60
! 73: }
! 74:
! 75: history minute {
! 76: interval = 60.
! 77: size = 60
! 78: }
! 79:
! 80: history hour {
! 81: interval = 3600.
! 82: size = 60
! 83: }
! 84:
! 85: history day {
! 86: interval = 86400.
! 87: size = 60
! 88: }
! 89:
! 90: layout colors {
! 91: color default {
! 92: color_pair = {"white", "black"}
! 93: }
! 94: color statusbar {
! 95: color_pair = {"blue", "white", "reverse"}
! 96: }
! 97: color header {
! 98: color_pair = {"yellow", "black"}
! 99: }
! 100: color list {
! 101: color_pair = {"white", "black"}
! 102: }
! 103: color selected {
! 104: color_pair = {"white", "black", "reverse"}
! 105: }
! 106: color RX_graph {
! 107: color_pair = {"green", "black"}
! 108: }
! 109: color TX_graph {
! 110: color_pair = {"red", "black"}
! 111: }
! 112: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>