]> git.itanic.dy.fi Git - rrdd/commitdiff
itanic: database.h: Fixes
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 13 Mar 2011 09:20:12 +0000 (11:20 +0200)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 13 Mar 2011 09:20:12 +0000 (11:20 +0200)
min and max values adjusted

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

index eaaf52a511c6f2c57d320d466e2d4e3e70bb5247..3a230070783295f4320a5a99a68f166efa01a612 100644 (file)
@@ -5,7 +5,7 @@
 #include "scheduler.h"
 #include "parser.h"
 
-const char blank[] = "COMMENT:           ";
+const char blank[] = "COMMENT:       ";
 #define numfmt " % 8.2lf "
 
 #define SYSINFO_PATH           "/home/kaapeli/rrdd/sysinfo/"
@@ -700,7 +700,7 @@ struct rrd_data_source power_sources[] = {
                .name = "tuonti",
                .type = "GAUGE",
                .heartbeat = 360,
-               .min = 0,
+               .min = -3000,
                .max = 3000,
        },
        {
@@ -735,8 +735,8 @@ struct rrd_data_source power_sources[] = {
                .name = "aikapoikkeama",
                .type = "GAUGE",
                .heartbeat = 360,
-               .min = 0,
-               .max = 3000,
+               .min = -30,
+               .max = 30,
        },
 };