[ixpmanager] Multi Macs
Joe Wooller
joe at waia.asn.au
Wed Jul 11 09:18:38 IST 2012
Oh I see,
it wasn't merged with the main branch when I grabbed it,
the new on removes the die statement.
I made a modification to get it work around it anyways :P
I know have some blank graphs generated and mrtg in cron has been modified to use the cfg file.
Yay!
Joe
On 11/07/2012, at 10:55 AM, Joe Wooller wrote:
> The Utils.pm I am using only mentions cisco or brocade switches.
>
> sub switchporttosnmpidentifier {
> my ($shortport, $vendorid) = @_;
>
> if ($vendorid == VENDORID_CISCO) {
> $shortport =~ s/tengigabitethernet/Te/gi;
> $shortport =~ s/gigabitethernet/Gi/gi;
> $shortport =~ s/fastethernet/Fa/gi;
> } elsif ($vendorid == VENDORID_BROCADE) {
> $shortport =~ s/10gigabitethernet/ethernet/gi;
> $shortport =~ s/gigabitethernet/ethernet/gi;
> } else {
> die "ARGH: unexpected vendorid: $vendorid\n";
> }
>
> return $shortport;
> }
>
>
>
> On 11/07/2012, at 4:27 AM, Nick Hilliard wrote:
>
>> On 10/07/2012 20:30, Joe Wooller wrote:
>>> Sync, and reinstalled teh modules, still getting the same error;
>>>
>>> ARGH: unexpected vendorid: 14
>>>
>>> Vendorid in my DB is Juniper
>>
>> Then you're still referencing the old version of IXPManager/Utils.pm
>> without the fix. Can you find out where this is located on your server and
>> ensure that you only have a single version installed?
>>
>> Nick
>>
>> _______________________________________________
>> INEX IXP Manager mailing list
>> ixpmanager at inex.ie
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>>
>>
>>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
> !DSPAM:1,4ffceb1b24051175019560!
>
>
More information about the ixpmanager
mailing list