mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
need autoconf before config
This commit is contained in:
parent
dc30dc5c20
commit
92adac9dc2
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,6 @@ init();
|
|||
sub autoconf {
|
||||
$0 =~ /bandwidth_(.+)*$/;
|
||||
$interface = $1;
|
||||
exit 2 unless defined $interface;
|
||||
$history = "/var/lib/munin/plugin-state/bandwidth_$interface.state";
|
||||
}
|
||||
|
||||
|
@ -281,8 +280,9 @@ sub munin_output {
|
|||
}
|
||||
|
||||
sub init {
|
||||
arg();
|
||||
autoconf();
|
||||
arg();
|
||||
exit 2 unless defined $interface;
|
||||
retrieve_history();
|
||||
read_traffic();
|
||||
bit32or64();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue