php-snmptraps
php-snmptraps copied to clipboard
Invalid argument supplied for foreach() /var/www/html/php-snmptraps/app/host/index.php on line 77
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.

I had the same issue until the first traps arrived and processed.
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
and fetch_unique_hosts
