Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ioguix:check_pgactivity
mrtg
mrtg-ifHiSpeed-SG10G.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mrtg-ifHiSpeed-SG10G.patch of Package mrtg
diff -Nur mrtg-2.17.10/bin/cfgmaker new/bin/cfgmaker --- mrtg-2.17.10/bin/cfgmaker 2022-01-19 11:25:15.000000000 +0100 +++ new/bin/cfgmaker 2022-01-23 15:39:48.415325741 +0100 @@ -235,6 +235,11 @@ debug('base',"Speed: $if - $value"); } + if ( ($descr =~ m/10-Gigabit Stackable/) && ($value == 10) && (defined $ifHighSpeed[$i]) ) { + ($if, $value) = split /:/, $ifHighSpeed[$i], 2; + $value = $value * 1000000; # highSpeed = contador * 10^6 + debug('base',"Speed: $if - $value"); + } $routers->{$router}{$if}{'ifSpeed'} = $value; } } else {
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