]> git.itanic.dy.fi Git - rrdd/commitdiff
database.h.example: Update example data
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 11 Mar 2011 21:20:43 +0000 (23:20 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 11 Mar 2011 21:26:11 +0000 (23:26 +0200)
Some typo fixes and improvements

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
database.h.example

index 22f48e0bc9e1c0c42d9fd09a0ac35b1f2c646f92..c794fddc852e505736acc08c35ddd2f1d6cc9cc6 100644 (file)
@@ -5,10 +5,10 @@
 #include "scheduler.h"
 #include "parser.h"
 
-const char blank[] = "COMMENT:               ";
+const char blank[] = "COMMENT:           ";
 #define numfmt " % 8.2lf "
 
-#define SYSINFO_PATH           "/home/kaapeli/sysinfo/"
+#define SYSINFO_PATH           "/home/kaapeli/rrdd/sysinfo/"
 #define SYSINFO_RRD_PATH       SYSINFO_PATH "sysinfo.rrd"
 #define SYSINFO_IMAGES_PATH    SYSINFO_PATH "images/"
 
@@ -162,6 +162,7 @@ const char *systemptext[] = {
 
 const char *cpuoptions[] = {
        "--alt-autoscale-max",
+       "--lower-limit", "0",
        "--vertical-label",
        "CPU Tics",
        0
@@ -169,6 +170,7 @@ const char *cpuoptions[] = {
 
 const char *memoptions[] = {
        "--alt-autoscale-max",
+       "--lower-limit", "0",
        "--vertical-label",
        "Mem usage (MB)",
        "--units-exponent", "0",
@@ -340,7 +342,7 @@ struct rrd_data_source cpumem_sources[] = {
                .max = 1200,
        },
        {
-               .name = "User",
+               .name = "Nice",
                .type = "COUNTER",
                .heartbeat = 240,
                .min = 0,
@@ -543,6 +545,7 @@ static struct rrd_database cpumem_rrd = {
 static struct rrd_database systemp_rrd = {
        .interval       = 300,
        .parse          = NULL,
+       .filename       = NULL,
        .images         = (struct rrd_image **)&systemp_images,
        .name           = "systemp",
 };