Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
mrtg
mrtg-switches.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mrtg-switches.patch of Package mrtg
--- bin/cfgmaker | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: bin/cfgmaker =================================================================== --- bin/cfgmaker.orig +++ bin/cfgmaker @@ -173,11 +173,11 @@ sub InterfaceInfo($$$$$) { if ($routers->{$router}{deviceinfo}{Vendor} eq 'cisco' && $routers->{$router}{deviceinfo}{sysDescr} =~ m/Version\s+(\d+\.\d+)/) { push @Variables, ($1 > 11.0 or $1 < 10.0 ) ? "ifAlias" : "CiscolocIfDescr"; if ($1 > 11.2) {push @Variables, "vmVlan";}; if ($1 > 11.3) {push @Variables, "vlanTrunkPortDynamicStatus";}; - } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|dlink|wwp|foundry|dellLan|force10|3com|extremenetworks|openBSD|arista|enterasys|zyxel|vyatta)/i) { + } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:cisco|hp|nortel|avaya|juniper|dlink|wwp|foundry|dellLan|force10|3com|extremenetworks|openBSD|arista|enterasys|zyxel|vyatta)/i) { push @Variables, "ifAlias"; } my $descr = $routers->{$router}{deviceinfo}{sysDescr}; if ($routers->{$router}{deviceinfo}{Vendor} eq 'cisco' && @@ -991,11 +991,12 @@ sub DeviceInfo ($$$) { '1.3.6.1.4.1.6027.' => 'force10', '1.3.6.1.4.1.2636.' => 'juniper', '1.3.6.1.4.1.94.' => 'nokiaipsofw', '1.3.6.1.4.1.307.' => 'portmaster', '1.3.6.1.4.1.890.' => 'zyxel', - '1.3.6.1.4.1.2272.30' => 'nortel', + '1.3.6.1.4.1.2272.30' => 'nortel', + '1.3.6.1.4.1.45.' => 'avaya', '1.3.6.1.4.1.30155.' => 'openBSD', '1.3.6.1.4.1.30065.' => 'arista', '1.3.6.1.4.1.5624.' => 'enterasys', '1.3.6.1.4.1.30803.' => 'Vyatta', '1.3.6.1.4.1.3955.' => 'LinkSys'
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor