Ip Addresses plugin doesn't search in sub entities.
Hi, When I put subnet and look for Ip Addressing in sub entities, nothing appears.
Franck
Hi, I have the same problem, has anyone found a solution? This plugin is essential to manage the IP addressing of my network. Thanks
I have the same question. I understand that crawling all sub entities could be no desired but in some case (mine) i have to know all ip of a my public subnet affected into many entities.
As i saw in the db structure there is no "recurse" option allowed for the moment, i think that we need to make a patch (database and code) to have this feature.
A quick and dirty patch you can do if you need only recursive requests in the file inc/addressing.class.php line 525:
$dbu = new DbUtils(); //if (isset($entities)) { // $sql .= $dbu->getEntitiesRestrictRequest(" AND ", "dev", "entities_id", $entities); //} else { // $sql .= $dbu->getEntitiesRestrictRequest(" AND ", "dev", "entities_id", $this->fields['entities_id']); //} if (isset($type_filter)) {
Maybe we could do better with adding "is_recursive" field into the table "glpi_plugin_addressing_addressing" and update the code to have the recursive option
Any fix planned for this one ?
Same issue here - it really complicates things as items have to be in the same entity as the IP addresses
Same issue here - it really complicates things as items have to be in the same entity as the IP addresses
I found something, you have to migrate entity of your IP range. In addressing plugin, select your IP range -> Actions -> Transfer -> Choose the good entity. After the hosts in this entity appear in the report.