I added support for Arista and got the ifAlias working,
For a some reason html_escape removes the alias entry for me so I just don't
use it for the if_descr entry,
Here is a diff from cfgmaker 2.16.3
173c173
< } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~
/(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks|arista)/) {
---
> } elsif ( $routers->{$router}{deviceinfo}{Vendor} =~
> /(?:hp|juniper|foundry|dellLan|force10|3com|extremenetworks)/) {
698,699c698
< $if_snmp_alias = $$i{ifAlias};
< last };
---
> last };
718a718
>
721c721
< #my $html_if_snmp_alias = html_escape($if_snmp_alias);
---
> my $html_if_snmp_alias = html_escape($if_snmp_alias);
995,996c995
< '1.3.6.1.4.1.2272.30' => 'nortel',
< '1.3.6.1.4.1.30065' => 'arista',
---
> '1.3.6.1.4.1.2272.30' => 'nortel'
John Belshaw
IT Architecture advisor : Network
_______________________________________________
mrtg-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers