mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
[snmp__if_combined] use snmp v2 description for root traffic graph
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
parent
e3c5515532
commit
2f2ed4e41a
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ END
|
||||||
print "\n";
|
print "\n";
|
||||||
|
|
||||||
foreach my $if (sort {$a <=> $b} keys %{$snmpinfo}) {
|
foreach my $if (sort {$a <=> $b} keys %{$snmpinfo}) {
|
||||||
my $alias = $snmpinfo->{$if}->{ifDescr} || "Interface $if";
|
my $alias = $snmpinfoX->{$if}->{ifAlias} || $snmpinfo->{$if}->{ifDescr} || "Interface $if";
|
||||||
|
|
||||||
if (! ($alias =~ /\d+/) ) {
|
if (! ($alias =~ /\d+/) ) {
|
||||||
# If there are no numbers in the $alias add the if index
|
# If there are no numbers in the $alias add the if index
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue