diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-07-06 13:41:04 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2014-07-06 13:41:04 +0200 |
commit | e30ab3ad3d352cffc4b7fb29795cab5372f02ddd (patch) | |
tree | 91a104a7ba1b4424696844e792e644e145bcc71c /examples | |
parent | be8ef18b742757e2a722bdc60bca546553f4d15c (diff) |
Install bmon.conf in examples dir in package doc
Defaults are fine, no need to clutter sysconfdir with a useless
default config file.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile.am | 6 | ||||
-rw-r--r-- | examples/bmon.conf | 89 |
2 files changed, 95 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am new file mode 100644 index 0000000..a85ff55 --- /dev/null +++ b/examples/Makefile.am @@ -0,0 +1,6 @@ +# -*- Makefile -*- + +exampledir = $(datarootdir)/doc/@PACKAGE@/examples +example_DATA = bmon.conf + +EXTRA_DIST = $(example_DATA) diff --git a/examples/bmon.conf b/examples/bmon.conf new file mode 100644 index 0000000..d545229 --- /dev/null +++ b/examples/bmon.conf @@ -0,0 +1,89 @@ +/* + * read_interval = 1.0 + * rate_interval = 1.0 + * variance = 0.1 + * history_variance = 0.1 + * sleep_time = 20000 + * lifetime = 30.0 + * show_all = true + * policy = "" + */ + +/* + * element eth0 { + * description = { "My description" } + * rxmax = { 10000 } + * txmax = { 10000 } + * max = { 12500000 } + * } + */ + +/* + * Default configuration + * + * The following definitions is what is compiled into bmon and used + * by default. + * + * unit byte { + * variant default { + * div = { 1, 1024, 1048576, 1073741824, 1099511627776} + * txt = { "B", "KiB", "MiB", "GiB", "TiB" } + * } + * variant si { + * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } + * txt = { "B", "KB", "MB", "GB", "TB" } + * } + * variant bit { + * div = { 0.125, 125, 125000, 125000000, 125000000000 } + * txt = { "b", "Kb", "Mb", "Gb", "Tb" } + * } + * } + * + * unit bit { + * variant default { + * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } + * txt = { "b", "Kb", "Mb", "Gb", "Tb" } + * } + * variant si { + * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } + * txt = { "b", "Kb", "Mb", "Gb", "Tb" } + * } + * variant bit { + * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } + * txt = { "b", "Kb", "Mb", "Gb", "Tb" } + * } + * } + * + * unit number { + * variant default { + * div = { 1, 1000, 1000000, 1000000000, 1000000000000 } + * txt = { "", "K", "M", "G", "T" } + * } + * } + * unit percent { + * variant default { + * div = { 1. } + * txt = { "%" } + * } + * } + * + * history second { + * interval = { 1. } + * size = { 60 } + * } + * + * history minute { + * interval = { 60. } + * size = { 60 } + * } + * + * history hour { + * interval = { 3600. } + * size = { 60 } + * } + * + * history day { + * interval = { 86400. } + * size = { 60 } + * } + */ |