diff --git a/plugins/relayd/relayd b/plugins/relayd/relayd index d6931178..72c6c621 100755 --- a/plugins/relayd/relayd +++ b/plugins/relayd/relayd @@ -38,7 +38,6 @@ Requires the logtail command somewhere in path * determine if the table is completely down (may be *impossible* if a partial downtime becomes complete between two runs) * look again at Munin::Plugin to see if we can simplify things here (duh.) - * need_multigraph() =head1 MAGIC MARKERS @@ -56,6 +55,8 @@ my $logtail = '/usr/sbin/logtail'; my $offsetfile = "/var/munin/plugin-state/munin-relayd.offset"; my $configfile = "/usr/local/etc/relayd.conf"; +need_multigraph(); + (defined($ENV{'logfile'})) and $logfile = $ENV{'logfile'}; (defined($ENV{'logtail'})) and $logtail = $ENV{'logtail'}; (defined($ENV{'offsetfile'})) and $offsetfile = $ENV{'offsetfile'};