use File::Spec::Functions;
use subs 'die';
+$ENV{"RRDCACHED_ADDRESS"} = "/var/run/munin/rrdcached.sock";
+
our %graph_types =
(cpu =>
{
}
foreach my $sub_type (@sub_types) {
- my $cdef = $sub_type->{"cdef"} or $type{"cdef"};
+ my $cdef = $sub_type->{"cdef"} || $type{"cdef"};
my $suffix = $sub_type->{"suffix"};
my $path = catfile(GRAPH_DIR, "*-$type{plugin_name}-uuid_$uuid$suffix-?.rrd");