-#if defined(KERNEL_LINUX)
-# define VSERVER_HAVE_READ 1
-#else
-# define VSERVER_HAVE_READ 0
-#endif /* defined(KERNEL_LINUX) */
-
-static char *rrd_socket = "vserver-%s/socket.rrd";
-static char *rrd_thread = "vserver-%s/threads.rrd";
-static char *rrd_load = "vserver-%s/load.rrd";
-static char *rrd_procs = "vserver-%s/processes.rrd";
-static char *rrd_memory = "vserver-%s/memory.rrd";
-
-/* 9223372036854775807 == LLONG_MAX */
-/* bytes transferred */
-static char *ds_def_socket[] =
-{
- "DS:unix_in:COUNTER:25:0:9223372036854775807",
- "DS:unix_out:COUNTER:25:0:9223372036854775807",
- "DS:inet_in:COUNTER:25:0:9223372036854775807",
- "DS:inet_out:COUNTER:25:0:9223372036854775807",
- "DS:inet6_in:COUNTER:25:0:9223372036854775807",
- "DS:inet6_out:COUNTER:25:0:9223372036854775807",
- "DS:other_in:COUNTER:25:0:9223372036854775807",
- "DS:other_out:COUNTER:25:0:9223372036854775807",
- "DS:unspec_in:COUNTER:25:0:9223372036854775807",
- "DS:unspec_out:COUNTER:25:0:9223372036854775807",
- NULL
-};
-static int ds_num_socket = 10;
-
-static char *ds_def_threads[] =
-{
- "DS:total:GAUGE:25:0:65535",
- "DS:running:GAUGE:25:0:65535",
- "DS:uninterruptible:GAUGE:25:0:65535",
- "DS:onhold:GAUGE:25:0:65535",
- NULL
-};
-static int ds_num_threads = 4;
-
-static char *ds_def_load[] =
-{
- "DS:avg1:GAUGE:25:0:100",
- "DS:avg5:GAUGE:25:0:100",
- "DS:avg15:GAUGE:25:0:100",
- NULL
-};
-static int ds_num_load = 3;
-
-static char *ds_def_procs[] =
-{
- "DS:total:GAUGE:25:0:65535",
- NULL
-};
-static int ds_num_procs = 1;
-
-/* 9223372036854775807 == LLONG_MAX */
-/* bytes */
-static char *ds_def_memory[] =
-{
- "DS:vm:GAUGE:25:0:9223372036854775807",
- "DS:vml:GAUGE:25:0:9223372036854775807",
- "DS:rss:GAUGE:25:0:9223372036854775807",
- "DS:anon:GAUGE:25:0:9223372036854775807",
- NULL
-};
-static int ds_num_memory = 4;