[ixpmanager] Issues adding a C4500 via SNMP

Nick Hilliard (INEX) nick at inex.ie
Thu Dec 31 11:21:41 GMT 2020


Hi Mauricio,

This should work ok on a reasonably recent version of the OSS_SNMP 
library.  Can you ensure that you're using the latest recommended 
version? From the upgrade notes on 
https://docs.ixpmanager.org/install/upgrading/ :

> Install latest required libraries from composer *(see notes below)* 
> <https://docs.ixpmanager.org/install/upgrading/#updating-composer-dependancies>. 
> Note that composer may be in different locations.
>
> |# This assumes composer is in the IXP Manager install directory. # 
> (Typical for IXP Manager on Ubtuntu 18.04): sudo -u $MY_WWW_USER bash 
> -c "HOME=${IXPROOT}/storage && cd ${IXPROOT}\ && php ./composer.phar 
> install --no-dev --prefer-dist" # OR: # This assumes composer is 
> installed globally. # (Typical for IXP Manager on Ubtuntu 20.04): sudo 
> -u $MY_WWW_USER bash -c "HOME=${IXPROOT}/storage && cd ${IXPROOT}\ && 
> composer install --no-dev --prefer-dist" |
>#
> |systemctl restart memcached.service php $IXPROOT/artisan cache:clear|

Nick

Mauricio Oviedo wrote on 01/12/2020 23:05:
>
> Hi folks,
>
> I’m having some issues adding a C4500 to IXP Manager:
>
> root at IXPManager# snmpget -v2c -On -c ***** switch_hostname 
> .1.3.6.1.2.1.1.1.0
>
> .1.3.6.1.2.1.1.1.0 = STRING: "Cisco IOS Software, IOS-XE Software, 
> Catalyst 4500 L3 Switch  Software (cat4500e-UNIVERSAL-M), Version 
> 03.08.08.E RELEASE SOFTWARE (fc3)
>
> Technical Support: http://www.cisco.com/techsupport
>
> Copyright (c) 1986-2019 by Cisco Systems, Inc.
>
> Compiled Fri 15-"
>
> root at IXPManager# snmpget -v2c -On -c ***** switch_hostname 
> .1.3.6.1.2.1.1.2.0
>
> .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.9.1.1606
>
> I’m using the default vendor_cisco.php file.
>
> Debug messages below.
>
> Any help will be much appreciated.
>
> --Mauricio
>
> *(1/1)** ErrorException*
>
> Undefined offset: 1
>
> in *vendor_cisco.php* line 45
>
> at HandleExceptions->*handleError*()in *vendor_cisco.php* line 45
>
> at 
> *include*('/srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platforms/vendor_cisco.php')in 
> *Platform.php* line 133
>
> at Platform->*parse*()in *Platform.php* line 107
>
> at Platform->*__construct*()in *SNMP.php* line 964
>
> at SNMP->*getPlatform*()in *SwitchController.php* line 464
>
> at SwitchController->*storeBySmtp*()
>
> at *call_user_func_array*()in *Controller.php* line 54
>
> at Controller->*callAction*()in *ControllerDispatcher.php* line 45
>
> at ControllerDispatcher->*dispatch*()in *Route.php* line 219
>
> at Route->*runController*()in *Route.php* line 176
>
> at Route->*run*()in *Router.php* line 681
>
> at Router->*Illuminate\Routing\{closure}*()in *Pipeline.php* line 130
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *Doctrine2Frontend.php* line 158
>
> at Doctrine2Frontend->*IXP\Http\Controllers\{closure}*()in 
> *Pipeline.php* line 153
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in *Google2FA.php* line 74
>
> at Google2FA->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *Doctrine2Frontend.php* line 71
>
> at Doctrine2Frontend->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *ControllerEnabled.php* line 96
>
> at ControllerEnabled->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *SubstituteBindings.php* line 41
>
> at SubstituteBindings->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *VerifyCsrfToken.php* line 77
>
> at VerifyCsrfToken->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *ShareErrorsFromSession.php* line 49
>
> at ShareErrorsFromSession->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *StartSession.php* line 56
>
> at StartSession->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *AddQueuedCookiesToResponse.php* line 37
>
> at AddQueuedCookiesToResponse->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *EncryptCookies.php* line 67
>
> at EncryptCookies->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in *Pipeline.php* line 105
>
> at Pipeline->*then*()in *Router.php* line 683
>
> at Router->*runRouteWithinStack*()in *Router.php* line 658
>
> at Router->*runRoute*()in *Router.php* line 624
>
> at Router->*dispatchToRoute*()in *Router.php* line 613
>
> at Router->*dispatch*()in *Kernel.php* line 170
>
> at Kernel->*Illuminate\Foundation\Http\{closure}*()in 
> *Pipeline.php* line 130
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *TrustProxies.php* line 57
>
> at TrustProxies->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *TransformsRequest.php* line 21
>
> at TransformsRequest->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *TransformsRequest.php* line 21
>
> at TransformsRequest->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *ValidatePostSize.php* line 27
>
> at ValidatePostSize->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in 
> *CheckForMaintenanceMode.php* line 63
>
> at CheckForMaintenanceMode->*handle*()in *Pipeline.php* line 171
>
> at Pipeline->*Illuminate\Pipeline\{closure}*()in *Pipeline.php* line 105
>
> at Pipeline->*then*()in *Kernel.php* line 145
>
> at Kernel->*sendRequestThroughRouter*()in *Kernel.php* line 110
>
> at Kernel->*handle*()in *index.php* line 85
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20201231/8983cecd/attachment-0001.htm>


More information about the ixpmanager mailing list