]> git.itanic.dy.fi Git - rrdd/commitdiff
Sample config: End of line white space removal
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Tue, 20 Aug 2019 18:31:27 +0000 (21:31 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Tue, 20 Aug 2019 18:31:27 +0000 (21:31 +0300)
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
database.sysinfo.conf

index 1fc108c6fbc1e0906816c59228fe1999e6f7bf0b..bad80160b230223727945686cc30252d3a6f0c4c 100644 (file)
@@ -3,7 +3,7 @@
         filename = "sysinfo/sysinfo.rrd";
         interval = 120;
         parser = "cpu_mem";
-        image = ( 
+        image = (
             {
                 rrd_database = "";
                 filename = "sysinfo/images/cpu_daily.png";
                     "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";
             {
                 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";
                     "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";
                     "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;