#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/"
const char *cpuoptions[] = {
"--alt-autoscale-max",
+ "--lower-limit", "0",
"--vertical-label",
"CPU Tics",
0
const char *memoptions[] = {
"--alt-autoscale-max",
+ "--lower-limit", "0",
"--vertical-label",
"Mem usage (MB)",
"--units-exponent", "0",
.max = 1200,
},
{
- .name = "User",
+ .name = "Nice",
.type = "COUNTER",
.heartbeat = 240,
.min = 0,
static struct rrd_database systemp_rrd = {
.interval = 300,
.parse = NULL,
+ .filename = NULL,
.images = (struct rrd_image **)&systemp_images,
.name = "systemp",
};