[ixpmanager] "ERROR: Undefined offset" from switch-cli.snmp-poll]
Barry O'Donovan
barry.odonovan at inex.ie
Thu Feb 1 19:38:55 GMT 2018
Thanks for the below.
That error is propagated from the OSS_SNMP library we use.
I've pushed this fix to that project:
https://github.com/opensolutions/OSS_SNMP/commit/e92972473776391014f6c6e06639e4132f494cde#diff-bdbf492f60df7fa452aa8a8ea1aac98aR74
Can you open an issue on that project with the output of the following
from your switch to properly fix:
snmpget -c $community -On -v 2c $hostname .1.3.6.1.2.1.1.1.0
snmpget -c $community -On -v 2c $hostname .1.3.6.1.2.1.1.2.0
Thanks,
- Barry
Marco d'Itri wrote:
> On Jan 31, Barry O'Donovan <barry.odonovan at inex.ie> wrote:
>
>> Can you run it with verbosity?
>>
>> /srv/ixpmanager/bin/ixptool.php -v -a switch-cli.snmp-poll
> Polling sw-seeweb with SNMP request to sw-seeweb.minap.it
> ERROR: Undefined offset: 3
>
> #0 /srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platforms/vendor_c
> isco.php(74): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/srv/ixpmanager...', 74, Array)
> #1 /srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platform.php(128): include('/srv/ixpmanager...')
> #2 /srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platform.php(107): OSS_SNMP\Platform->parse()
> #3 /srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/SNMP.php(948): OSS_SNMP\Platform->__construct(Object(OSS_SNMP\SNMP))
> #4 /srv/ixpmanager/database/Entities/Switcher.php(627): OSS_SNMP\SNMP->getPlatform()
> #5 /srv/ixpmanager/application/controllers/SwitchCliController.php(93): Entities\Switcher->snmpPoll(Object(OSS_SNMP\SNMP), Object(OSS_Log))
> #6 /srv/ixpmanager/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): SwitchCliController->snmpPollAction()
> #7 /srv/ixpmanager/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('snmpPollAction')
> #8 /srv/ixpmanager/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Simple), Object(Zend_Controller_Response_Cli))
> #9 /srv/ixpmanager/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
> #10 /srv/ixpmanager/vendor/zendframework/zendframework1/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
> #11 /srv/ixpmanager/bin/ixptool.php(153): Zend_Application->run()
> #12 {main}
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
--
Kind regards,
Barry O'Donovan
INEX Operations
https://www.inex.ie/support/
+353 1 531 3339
More information about the ixpmanager
mailing list