<html theme="themeKey88rand710" iconset="monochrome"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#000000">Hi Jay,<br>
<br>
looks like an issue for the OSS_SNMP lib. Can you file a bug at:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/opensolutions/OSS_SNMP">https://github.com/opensolutions/OSS_SNMP</a><br>
<br>
and can you include the full<span style="font-family: monospace;"> </span>sysDescr
string please?<br>
<br>
- Barry<br>
<br>
<br>
<br>
<span>Jay Hanke via ixpmanager wrote on 06/12/2022 14:56:</span><br>
<blockquote type="cite"
cite="mid:CAOp6Gi+mpBNLbHm10C_s7ZdUR9=75rHK=xcUStu4jkBruvpdVw@mail.gmail.com">
<pre wrap="">I did a little more digging. It looks like it might be an issue
between the NCS and the OSS_SNMP module.
We see successful queries for teh sysDescr and the sysObjectID and
then an error in the Cisco module.
[2022-12-06 14:49:21] production.ERROR: Undefined array key 1
{"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined
array key 1 at /srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platforms/vendor_cisco.php:100)
[stacktrace]
#0 /srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platforms/vendor_cisco.php(100):
Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platform.php(133):
include('...')
#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(964):
OSS_SNMP\\Platform->__construct()
#4 /srv/ixpmanager/app/Models/Switcher.php(296): OSS_SNMP\\SNMP->getPlatform()
#5 /srv/ixpmanager/app/Http/Controllers/Switches/SwitchPortController.php(539):
IXP\\Models\\Switcher->snmpPoll()
#6 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54):
IXP\\Http\\Controllers\\Switches\\SwitchPortController->listOpStatus()
#7 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45):
Illuminate\\Routing\\Controller->callAction()
#8 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262):
Illuminate\\Routing\\ControllerDispatcher->dispatch()
#9 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205):
Illuminate\\Routing\\Route->runController()
#10 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721):
Illuminate\\Routing\\Route->run()
#11 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#12 /srv/ixpmanager/app/Utils/Http/Controllers/Frontend/EloquentController.php(188):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#13 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(149):
IXP\\Utils\\Http\\Controllers\\Frontend\\EloquentController->IXP\\Utils\\Http\\Controllers\\Frontend\\{closure}()
#14 /srv/ixpmanager/app/Http/Middleware/Google2FA.php(79):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#15 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
IXP\\Http\\Middleware\\Google2FA->handle()
#16 /srv/ixpmanager/app/Http/Middleware/Eloquent2Frontend.php(72):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#17 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
IXP\\Http\\Middleware\\Eloquent2Frontend->handle()
#18 /srv/ixpmanager/app/Http/Middleware/ControllerEnabled.php(94):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#19 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
IXP\\Http\\Middleware\\ControllerEnabled->handle()
#20 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#21 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Routing\\Middleware\\SubstituteBindings->handle()
#22 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#23 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle()
#24 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#25 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle()
#26 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#27 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64):
Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#28 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Session\\Middleware\\StartSession->handle()
#29 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#31 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#33 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723):
Illuminate\\Pipeline\\Pipeline->then()
#35 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698):
Illuminate\\Routing\\Router->runRouteWithinStack()
#36 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662):
Illuminate\\Routing\\Router->runRoute()
#37 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651):
Illuminate\\Routing\\Router->dispatchToRoute()
#38 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167):
Illuminate\\Routing\\Router->dispatch()
#39 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128):
Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#40 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#41 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31):
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#42 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#43 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#44 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40):
Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#45 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#46 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#47 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#48 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#49 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#50 /srv/ixpmanager/vendor/fruitcake/laravel-cors/src/HandleCors.php(38):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#51 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fruitcake\\Cors\\HandleCors->handle()
#52 /srv/ixpmanager/vendor/fideloper/proxy/src/TrustProxies.php(57):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#53 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167):
Fideloper\\Proxy\\TrustProxies->handle()
#54 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103):
Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#55 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142):
Illuminate\\Pipeline\\Pipeline->then()
#56 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111):
Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#57 /srv/ixpmanager/public/index.php(89):
Illuminate\\Foundation\\Http\\Kernel->handle()
#58 {main}
"}
On Fri, Dec 2, 2022 at 8:00 AM Jay Hanke <a class="moz-txt-link-rfc2396E" href="mailto:jayhanke@southfront.io"><jayhanke@southfront.io></a> wrote:
</pre>
<blockquote type="cite"><pre wrap="">
I'm working on adding a Cisco NCS switch to IXP manager.
I added the switch without issue, when I went to view the port state
with access-op-status (or snmp-poll) I get a
500 Server Error :: Undefined array key 1
I removed the switch and attempted to readd the switch with snmp and
it failed with the same error. I added the switch manually and then
went to view port state and had the same issue.
I'm running IXP Manager V6.3.0
Any suggestions?
--
Jay Hanke, President
South Front Networks
<a class="moz-txt-link-abbreviated" href="mailto:jayhanke@southfront.io">jayhanke@southfront.io</a>
Phone 612-204-0000
</pre></blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br><br>
Kind regards,
<br>
Barry O'Donovan
<br>
INEX <br>
<br>
<a class="moz-txt-link-freetext" href="https://www.inex.ie/support/">https://www.inex.ie/support/</a>
<br>
+353 1 531 3339<br>
<br>
<br>
</div>
</body></html>