From d87036c4de7e54852163f8c19aa0061b4c6e2e6b Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Tue, 20 Aug 2019 21:31:27 +0300 Subject: [PATCH] Sample config: End of line white space removal Signed-off-by: Timo Kokkonen --- database.sysinfo.conf | 132 +++++++++++++++++++++--------------------- 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/database.sysinfo.conf b/database.sysinfo.conf index 1fc108c..bad8016 100644 --- a/database.sysinfo.conf +++ b/database.sysinfo.conf @@ -3,7 +3,7 @@ filename = "sysinfo/sysinfo.rrd"; interval = 120; parser = "cpu_mem"; - image = ( + image = ( { rrd_database = ""; filename = "sysinfo/images/cpu_daily.png"; @@ -75,19 +75,19 @@ "GPRINT:so:LAST: % 8.2lf \\n", "COMMENT: \\n" ); - }, + }, { filename = "sysinfo/images/cpu_weekly.png"; timestart = "end-1w"; - }, + }, { filename = "sysinfo/images/cpu_monthly.png"; timestart = "end-1m"; - }, + }, { filename = "sysinfo/images/cpu_yearly.png"; timestart = "end-1y"; - }, + }, { filename = "sysinfo/images/mem_daily.png"; timestart = "end-1d"; @@ -168,151 +168,151 @@ { filename = "sysinfo/images/mem_weekly.png"; timestart = "end-1w"; - }, + }, { filename = "sysinfo/images/mem_monthly.png"; timestart = "end-1m"; - }, + }, { filename = "sysinfo/images/mem_yearly.png"; timestart = "end-1y"; } ); - sources = ( + sources = ( { type = "COUNTER"; name = "User"; heartbeat = 240; min = 0.0; max = 1200.0; - }, + }, { type = "COUNTER"; name = "Nice"; - }, + }, { type = "COUNTER"; name = "Sys"; - }, + }, { type = "COUNTER"; name = "Idle"; - }, + }, { type = "COUNTER"; name = "Wait"; - }, + }, { type = "COUNTER"; name = "IRQ"; - }, + }, { type = "COUNTER"; name = "SoftIRQ"; - }, + }, { type = "GAUGE"; name = "Free"; max = 32768.0; - }, + }, { type = "GAUGE"; name = "Buffers"; - }, + }, { type = "GAUGE"; name = "Cached"; - }, + }, { type = "GAUGE"; name = "Active"; - }, + }, { type = "GAUGE"; name = "Inactive"; - }, + }, { type = "GAUGE"; name = "SwapFree"; - }, + }, { type = "GAUGE"; name = "Anon"; - }, + }, { type = "GAUGE"; name = "Slab"; - }, + }, { type = "GAUGE"; name = "Tables"; - }, + }, { type = "GAUGE"; name = "Other"; - }, + }, { type = "GAUGE"; name = "Swap"; } ); - archives = ( + archives = ( { type = "AVERAGE"; xff = 0.5; steps = 1; rows = 720; - }, + }, { type = "AVERAGE"; steps = 7; - }, + }, { type = "AVERAGE"; steps = 31; - }, + }, { type = "AVERAGE"; steps = 365; - }, + }, { type = "MIN"; steps = 1; - }, + }, { type = "MIN"; steps = 7; - }, + }, { type = "MIN"; steps = 31; - }, + }, { type = "MIN"; steps = 365; - }, + }, { type = "MAX"; steps = 1; - }, + }, { type = "MAX"; steps = 7; - }, + }, { type = "MAX"; steps = 31; - }, + }, { type = "MAX"; steps = 365; } ); - }, + }, { name = "network"; filename = "sysinfo/network.rrd"; interval = 120; parser = "netstats"; parser_data = ( "eth0", "eth1" ); - image = ( + image = ( { rrd_database = ""; filename = "sysinfo/images/eth0_daily.png"; @@ -349,19 +349,19 @@ "GPRINT:txb:LAST: % 3.2lf %sB\\n", "COMMENT: \\n" ); - }, + }, { filename = "sysinfo/images/eth0_weekly.png"; timestart = "end-1w"; - }, + }, { filename = "sysinfo/images/eth0_monthly.png"; timestart = "end-1m"; - }, + }, { filename = "sysinfo/images/eth0_yearly.png"; timestart = "end-1y"; - }, + }, { filename = "sysinfo/images/eth1_daily.png"; timestart = "end-1d"; @@ -385,102 +385,102 @@ "GPRINT:txb:LAST: % 3.2lf %sB\\n", "COMMENT: \\n" ); - }, + }, { filename = "sysinfo/images/eth1_weekly.png"; timestart = "end-1w"; - }, + }, { filename = "sysinfo/images/eth1_monthly.png"; timestart = "end-1m"; - }, + }, { filename = "sysinfo/images/eth1_yearly.png"; timestart = "end-1y"; } ); - sources = ( + sources = ( { type = "COUNTER"; name = "eth0rxb"; heartbeat = 240; min = 0.0; max = 1.2e+11; - }, + }, { type = "COUNTER"; name = "eth0rxp"; - }, + }, { type = "COUNTER"; name = "eth0txb"; - }, + }, { type = "COUNTER"; name = "eth0txp"; - }, + }, { type = "COUNTER"; name = "eth1rxb"; - }, + }, { type = "COUNTER"; name = "eth1rxp"; - }, + }, { type = "COUNTER"; name = "eth1txb"; - }, + }, { type = "COUNTER"; name = "eth1txp"; } ); - archives = ( + archives = ( { type = "AVERAGE"; xff = 0.5; steps = 1; rows = 720; - }, + }, { type = "AVERAGE"; steps = 7; - }, + }, { type = "AVERAGE"; steps = 31; - }, + }, { type = "AVERAGE"; steps = 365; - }, + }, { type = "MIN"; steps = 1; - }, + }, { type = "MIN"; steps = 7; - }, + }, { type = "MIN"; steps = 31; - }, + }, { type = "MIN"; steps = 365; - }, + }, { type = "MAX"; steps = 1; - }, + }, { type = "MAX"; steps = 7; - }, + }, { type = "MAX"; steps = 31; - }, + }, { type = "MAX"; steps = 365; -- 2.45.0