BUG with ACKP Devices with suddently interface 511152!

i post it here because laf close the issue :

Please confirm each of the sections below by putting an x in the box like [x].

[ x] Is your install up to date? Updating your install
Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.

[x ] Please include all of the information between the ==================================== section of ./validate.php which you can run from the cli.

Component Version
LibreNMS 1.30-68-gf3d7a44
DB Schema 203
PHP 5.4.16
MySQL 5.5.52-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

Please provide ALL info asked for here.

[ x] Please provide as much detail as possible.

suddently the akcp device not work -> it is not possible to open devices wthin librenms web interface
I need to delete the akcp devices -> the devices have 511152 Interfaces seen after delete in cmd line :

I think that this is a bug !!!

LIBRENMS can also not poll the device and crash !

bash-4.2$ ./delhost.php 10.254.103.22
Removed interface 511152 (AKCP)
Removed device 10.254.103.22

I closed the github issue as that is not the place to ask for help.

Nothing changed with ackp that would effect ports being detected. Provide the output of:

./discovery.php -h HOSTNAME -d -m ports
./poller.php -h HOSTNAME -d -m ports

Hi laf !

after the git reset -> the error Unable to parse at line 7 if add new device is away !

I hope the interfaces problem is also solve -> please check :

Here the outputs:

https://pastebin.com/JACiL2Mv
https://pastebin.com/fijjSsfx

Neither of those 1000’s of interfaces. Are you sure that’s what you see?

Yes sure ! After i use the delete.php script i see that 511152 interfaces were deleted ! the 2nd akcp had also this high amount of interfaces ! on the web interface i doesn’ t see this interfaces !

SELECT COUNT(*) FROM ports WHERE device_id=X;

Database changed
MariaDB [librenms]> SELECT COUNT() FROM ports WHERE device_id=423;
±---------+
| COUNT(
) |
±---------+
| 1 |
±---------+
1 row in set (0.00 sec)

So that device has just one port which is what the poller / disco files showed.