From Caleb Khor, 6 Months ago, written in Plain Text.
Embed
  1. ...
  2. Array to string conversion {"exception":"[object] (ErrorException(code: 0): Array to string conversion at /opt/librenms/LibreNMS/Data/Source/NetSnmpQuery.php:449)"}
  3.  
  4.  
  5. In NetSnmpQuery.php line 449:
  6.                              
  7.   [ErrorException]            
  8.   Array to string conversion  
  9.                              
  10.  
  11.  
  12. Exception trace:
  13.   at /opt/librenms/LibreNMS/Data/Source/NetSnmpQuery.php:449
  14.  Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:254
  15.  Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}() at n/a:n/a
  16.  
  17.  call_user_func() at /opt/librenms/app/Providers/ErrorReportingProvider.php:173
  18.  App\Providers\ErrorReportingProvider->handleError() at /opt/librenms/LibreNMS/Data/Source/NetSnmpQuery.php:449
  19.  LibreNMS\Data\Source\NetSnmpQuery->mibDirectories() at /opt/librenms/LibreNMS/Data/Source/NetSnmpQuery.php:311
  20.  
  21.  LibreNMS\Data\Source\NetSnmpQuery->buildCli() at /opt/librenms/LibreNMS/Data/Source/NetSnmpQuery.php:389
  22.  LibreNMS\Data\Source\NetSnmpQuery->exec() at /opt/librenms/LibreNMS/Data/Source/NetSnmpQuery.php:372
  23.  LibreNMS\Data\Source\NetSnmpQuery->execMultiple() at /opt/librenms/LibreNMS/Data/Source/NetSnmpQuery.php:255
  24.  
  25.  LibreNMS\Data\Source\NetSnmpQuery->get() at /opt/librenms/LibreNMS/Polling/ConnectivityHelper.php:137
  26.  LibreNMS\Polling\ConnectivityHelper->isSNMPable() at /opt/librenms/LibreNMS/Polling/ConnectivityHelper.php:83
  27.  
  28.  LibreNMS\Polling\ConnectivityHelper->isUp() at /opt/librenms/LibreNMS/Poller.php:101
  29.  LibreNMS\Poller->poll() at /opt/librenms/app/Console/Commands/DevicePoll.php:44
  30.  App\Console\Commands\DevicePoll->handle() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36
  31.  Illuminate\Container\BoundMethod::Illuminate\Container\{closure}() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Util.php:41
  32.  
  33.  Illuminate\Container\Util::unwrapIfClosure() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93
  34.  Illuminate\Container\BoundMethod::callBoundMethod() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37
  35.  
  36.  Illuminate\Container\BoundMethod::call() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php:662
  37.  Illuminate\Container\Container->call() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Console/Command.php:208
  38.  Illuminate\Console\Command->execute() at /opt/librenms/vendor/symfony/console/Command/Command.php:326
  39.  
  40.  Symfony\Component\Console\Command\Command->run() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Console/Command.php:178
  41.  Illuminate\Console\Command->run() at /opt/librenms/vendor/symfony/console/Application.php:1081
  42.  
  43.  Symfony\Component\Console\Application->doRunCommand() at /opt/librenms/vendor/symfony/console/Application.php:320
  44.  Symfony\Component\Console\Application->doRun() at /opt/librenms/vendor/symfony/console/Application.php:174
  45.  Symfony\Component\Console\Application->run() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:201
  46.  
  47.  Illuminate\Foundation\Console\Kernel->handle() at /opt/librenms/app/Console/Kernel.php:66
  48.  App\Console\Kernel->handle() at /opt/librenms/lnms:40
  49. ...