Hey,
I've successfully setup the crontab and added an IP. When checking the IP manually it states that the IP is online (which is true). But when refreshing (or just executing the cron manually) the page states that the IP is offline (which is false). See attached screenshots.
Please note that I've correctly set the ping and nmap location, and that - when executing functions/scripts/pingCheck.php - I get no errors.
Please let me know how can I fix this.
Thanks!
Anonymous
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
yes! Still seeing this issue in 1.2
in ../phpipam/functions/scripts/pingcheck.php change
if(sizeof($subnet_addresses)>1)
to
if(sizeof($subnet_addresses)>0)
Last edit: dmds 2017-05-02
Online detection is triggered if two or more online hosts were previously detected.
if(sizeof($subnet_addresses)> 1) - 2 hosts or more.
If there is only 1 online host or all hosts are offline, detection will never start again, even if later all hosts are connected to the network. It seems that the size of the subnet is taken from the number of previously detected online hosts.
If you set the network size to be greater than 0, then the detection trigger will always work. (The size of the subnet is always 1 or more).
I could be wrong....
However, if(sizeof($subnet_addresses)> 0) works.
Last edit: dmds 2017-05-02
I am also facing the same issue on ipam v1.3
Last edit: sachin 2018-04-17