php-snmptraps icon indicating copy to clipboard operation
php-snmptraps copied to clipboard

Invalid argument supplied for foreach() /var/www/html/php-snmptraps/app/host/index.php on line 77

Open cromulon-actual opened this issue 5 years ago • 3 comments

I am running into an issue whereby host page doesn't resolve any hosts. The error is presented in the gui under the host page.

image

cromulon-actual avatar Jan 28 '20 20:01 cromulon-actual

I had the same issue until the first traps arrived and processed.

sv1 avatar Oct 21 '20 16:10 sv1

and how did u managed to get the traps arriving how did u setup the host device to connect and fetch the traps?

on mine the hosts menu gives me the exact same error.

I think this is because you don t have rows in the traps table.

in /var/www/php-snmptraps/app/host/index.php $unique_hosts will be image and fetch_unique_hosts image

bnchdan avatar Jun 20 '22 12:06 bnchdan