[ixpmanager] Artisan not updating MRTG config when port speeds change

Kyle Spencer kyle at stormzero.com
Thu Feb 15 14:10:31 GMT 2018


Noted. So I definitely need that cron-job related to SNMP repolling.

On Thu, Feb 15, 2018 at 4:57 PM, Barry O'Donovan <barry.odonovan at inex.ie> wrote:
> Kyle,
>
> see code references [2,3] below.
>
> The way it works is:
>
> 1) if there is a value in detected port speed (via switch update via
> SNMP - see [1]) then this is used.
>
> 2) if not, then the configured speed is used.
>
> In other words, we try to use the actual port speed first and then fall
> back to the intended port speed.
>
>  - Barry
>
>
>
>
> [1]
> https://github.com/inex/IXP-Manager/wiki/Updating-Switches-and-Ports-via-SNMP
>
>
> [2]
> https://github.com/inex/IXP-Manager/blob/master/resources/views/services/grapher/mrtg/member-ports.foil.php#L50
>
> [3]
> https://github.com/inex/IXP-Manager/blob/master/database/Entities/PhysicalInterface.php#L482
>
>
>
>
> Kyle Spencer wrote:
>> I created a port for a customer that was 1Gbps. This worked well and
>> graphed fine. Then the customer upgraded to a 10Gbps port, and I
>> changed the port configuration in IXP Manager accordingly. However,
>> when I run:
>>
>> ./artisan grapher:generate-configuration -B mrtg
>>
>> I still get MaxBytes of 125000000 (expecting 1250000000).
>>
>> Is there some reason why artisan output would not match the values in
>> the IXP Manager front-end interface?
>>
>> Regards,
>> Kyle Spencer
>>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager



-- 
Cell/WhatsApp/Signal: +256790884905


More information about the ixpmanager mailing list