Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cromulon-actual opened this issue Jan 28, 2020 · 3 comments

Comments

@cromulon-actual
Copy link

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

@sv1
Copy link

sv1 commented Oct 21, 2020

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

@AlbertEinsteinGlitchPoint

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.

@bnchdan
Copy link

bnchdan commented Jun 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants