multi subnet scan fails
For me, multiple subnets scan with remote poller isn't working yet. Just downloaded the latest version however issue still exists:
Old ticket: https://github.com/phpipam/phpipam-agent/issues/15
I am able to see ping results success however it is not updated on phpipam page. Not sure if it is not properly updated on remote mysql.
Example:
172.16.200.177 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.29/0.29/0.29
172.16.200.178 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.27/0.27/0.27
172.16.200.179 : xmt/rcv/%loss = 1/0/100%
172.16.200.180 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 2.53/2.53/2.53
172.16.200.181 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.70/0.70/0.70
172.16.200.182 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.34/0.34/0.34
172.16.200.183 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.38/0.38/0.38
172.16.200.184 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 1.13/1.13/1.13
172.16.200.185 : xmt/rcv/%loss = 1/0/100%
172.16.200.186 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.34/0.34/0.34
172.16.200.187 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.28/0.28/0.28
172.16.200.188 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.36/0.36/0.36
172.16.200.189 : xmt/rcv/%loss = 1/0/100%
172.16.200.190 : xmt/rcv/%loss = 1/0/100%
172.16.200.191 : xmt/rcv/%loss = 1/0/100%
172.16.200.192 : xmt/rcv/%loss = 1/0/100%
172.16.200.193 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.19/0.19/0.19
172.16.200.194 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.26/0.26/0.26
172.16.200.195 : xmt/rcv/%loss = 1/0/100%
172.16.200.196 : xmt/rcv/%loss = 1/0/100%
172.16.200.197 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.32/0.32/0.32
172.16.200.198 : xmt/rcv/%loss = 1/0/100%
172.16.200.199 : xmt/rcv/%loss = 1/0/100%
172.16.200.200 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 2.12/2.12/2.12
172.16.200.201 : xmt/rcv/%loss = 1/0/100%
172.16.200.202 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.33/0.33/0.33
172.16.200.203 : xmt/rcv/%loss = 1/0/100%
172.16.200.204 : xmt/rcv/%loss = 1/0/100%
172.16.200.205 : xmt/rcv/%loss = 1/0/100%

Cron which I run: */15 * * * * root /usr/bin/php /var/www/html/phpipam-agent/index.php update 1>>/dev/null 2>&1
There seem to be 2 options for scanning under the agent, one is update which updates already discovered hosts and discover which discovers new hosts. Have you tried running with the discover option? We have but we get the error "Error: Didn't find any address to scan!" This was previously reported in #11 but still seems to persist.
Yep, I can confirm as well - even if I try to scan a single subnet:
phpipam-agent]$ php index.php discover 7
--------------------
Error: Didn't find any address to scan!
--------------------
phpipam-agent]$ php index.php discover
--------------------
Error: Didn't find any address to scan!
--------------------
The manual discovery from the interface does work, but ~ someone can check it out the agent, please?
I have the same problem.
I also have this issue and can replicate the above.
I have the same problem.
@phpipam
Please fix it, don't work for me
php /opt/phpipam-agent/index.php discover
--------------------
Error: Didn't find any address to scan!
--------------------
sorry, afte
php /opt/phpipam-agent/index.php update discover
no discovered new hosts