[ixpmanager] /usr/local/bin/ixp-periodic-update.sh

Rasmus Åberg rasmus at sthix.net
Mon Sep 5 14:17:57 IST 2016


Applied it and now I’m getting this output instead:

PHP Notice:  Undefined offset: 49001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 49001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 49001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 49001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 49001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 50001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 50001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 50001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 50001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 50001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 51001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 51001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 51001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 51001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 51001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 52001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 52001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 52001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 52001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 52001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 53001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 53001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 53001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 53001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 53001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 54001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 54001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 54001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 54001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 54001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 999001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 999001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 999001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 610
PHP Notice:  Undefined offset: 999001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612
PHP Notice:  Undefined offset: 999001 in /usr/local/ixp/application/Entities/SwitchPort.php on line 612

Related to ports 49/1 – 54/1 on the switch I guess.

FYI:
+ Found item [ifDescr='Ethernet49/1'] index: 49001 [from value]
+ Found item [ifDescr='Ethernet50/1'] index: 50001 [from value]
+ Found item [ifDescr='Ethernet51/1'] index: 51001 [from value]
+ Found item [ifDescr='Ethernet52/1'] index: 52001 [from value]
+ Found item [ifDescr='Ethernet53/1'] index: 53001 [from value]
+ Found item [ifDescr='Ethernet54/1'] index: 54001 [from value]
+ Found item [ifDescr='Management1'] index: 999001 [from value]


On 05/09/16 14:39, "ixpmanager on behalf of Barry O'Donovan" <ixpmanager-bounces at inex.ie on behalf of barry.odonovan at inex.ie> wrote:


Rasmus Åberg wrote:
> “PHP Fatal error:  Call to a member function debug() on boolean in
> /usr/local/ixp/application/Entities/SwitchPort.php on line 615”
>
> Known error? Workaround? Etc.

Yip, already fixed in v4 (nearly polished). Just committed a fix to 
master now. You can pull from master or just hack in the minor change:

https://github.com/inex/IXP-Manager/commit/00a8948b959cbd69449bf788a17c882fc5b0a07b

  - Barry


_______________________________________________
INEX IXP Manager mailing list
ixpmanager at inex.ie
https://www.inex.ie/mailman/listinfo/ixpmanager





More information about the ixpmanager mailing list