6
my $rrdlog = "/var/log/rrd";
7
$ENV{PATH}="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin";
9
RRDs::tune ("$rrdlog/cpu.rrd",
14
RRDs::tune ("$rrdlog/mem.rrd",
17
"-h", "memshared:600",
18
"-h", "membuffers:600",
21
"-h", "swapfree:600");
23
RRDs::tune ("$rrdlog/disk.rrd",
25
"-h", "writesect:600");
27
RRDs::tune ("$rrdlog/RED.rrd",
29
"-h", "outgoing:600");
31
RRDs::tune ("$rrdlog/GREEN.rrd",
33
"-h", "outgoing:600");