mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
call need_multigraph() on top as this is what the module says
This commit is contained in:
parent
03b11d9257
commit
dc02d80000
1 changed files with 2 additions and 1 deletions
|
@ -38,7 +38,6 @@ Requires the logtail command somewhere in path
|
||||||
* determine if the table is completely down (may be *impossible* if a partial
|
* determine if the table is completely down (may be *impossible* if a partial
|
||||||
downtime becomes complete between two runs)
|
downtime becomes complete between two runs)
|
||||||
* look again at Munin::Plugin to see if we can simplify things here (duh.)
|
* look again at Munin::Plugin to see if we can simplify things here (duh.)
|
||||||
* need_multigraph()
|
|
||||||
|
|
||||||
=head1 MAGIC MARKERS
|
=head1 MAGIC MARKERS
|
||||||
|
|
||||||
|
@ -56,6 +55,8 @@ my $logtail = '/usr/sbin/logtail';
|
||||||
my $offsetfile = "/var/munin/plugin-state/munin-relayd.offset";
|
my $offsetfile = "/var/munin/plugin-state/munin-relayd.offset";
|
||||||
my $configfile = "/usr/local/etc/relayd.conf";
|
my $configfile = "/usr/local/etc/relayd.conf";
|
||||||
|
|
||||||
|
need_multigraph();
|
||||||
|
|
||||||
(defined($ENV{'logfile'})) and $logfile = $ENV{'logfile'};
|
(defined($ENV{'logfile'})) and $logfile = $ENV{'logfile'};
|
||||||
(defined($ENV{'logtail'})) and $logtail = $ENV{'logtail'};
|
(defined($ENV{'logtail'})) and $logtail = $ENV{'logtail'};
|
||||||
(defined($ENV{'offsetfile'})) and $offsetfile = $ENV{'offsetfile'};
|
(defined($ENV{'offsetfile'})) and $offsetfile = $ENV{'offsetfile'};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue