1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

call need_multigraph() on top as this is what the module says

This commit is contained in:
Antoine Beaupré 2012-03-09 18:48:05 -05:00
parent 03b11d9257
commit dc02d80000

View file

@ -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'};