1
0
Fork 0
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:
Kris Popendorf 2013-04-24 07:01:11 +09:00
parent dc30dc5c20
commit 92adac9dc2

View file

@ -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();