Menu

#205 Status update scan command on a subnet does not work :(

version 0.8
open
nobody
None
1
2017-05-02
2016-04-15
Anonymous
No

Hi there.

Upgraded from 1.1 to 1.2.1 today and everything seems ok except that when I try to do a status update scan on a subnet I get the following error,

Warning: Creating default object from empty value in /var/www/phpipam/app/subnets/scan/subnet-update-icmp.php on line 17
Scan results:

Warning: ksort() expects parameter 1 to be array, null given in /var/www/phpipam/app/subnets/scan/subnet-update-icmp.php on line 113

Warning: Invalid argument supplied for foreach() in /var/www/phpipam/app/subnets/scan/subnet-update-icmp.php on line 127

I can do an availability check on an individual IP and get a status back ok. Just not on the subnet.

Anyway know why?

Thanks
Peter

Discussion

  • Anonymous

    Anonymous - 2016-04-20
    Post awaiting moderation.
  • Laure D

    Laure D - 2016-07-08

    Hello,
    I face the same problem !!!!
    Did anyone find the solution ?
    Thank you

     
  • dmds

    dmds - 2017-05-02

    try to change in ../phpipam/functions/scripts/pingcheck.php
    if(sizeof($subnet_addresses)>1)
    to
    if(sizeof($subnet_addresses)>0)

     

    Last edit: dmds 2017-05-02

Anonymous
Anonymous

Add attachments
Cancel