[mrtg] Reading ifAlias for WWP (Ciena)

Pavel Ruzicka pavouk at pavouk.org
Fri Mar 27 15:12:25 CET 2009


Hello,

new LEOS for CIENA switches includes correct Interface descriptions
in IF-MIB::ifAlias tree. My cfgmaker for mrtg-2.16.2 doesn't read this tree,
because "wwp" vendor is unknown for them.

I patched cfgmaker and everything works great for me.
--------------------------------------------------------------
diff cfgmaker.orig cfgmaker
173c173
<     } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks)/) {
---
>     } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~ /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks|wwp)/) 
{
988c988,989
<             '1.3.6.1.4.1.307.' =>       'portmaster'
---
>             '1.3.6.1.4.1.307.' =>       'portmaster',
>             '1.3.6.1.4.1.6141.' =>       'wwp'
-----------------------------------------------------------------

Is this the right solution?
If yes, can somebody patch development sources?

Thank you very much.

Best regards,

Pavel Ruzicka



More information about the mrtg mailing list