Forums FusionInventory
Network Discovery and Network Inventory SNMP not works for me. - Printable Version

+- Forums FusionInventory (https://forum.fusioninventory.org)
+-- Forum: English (https://forum.fusioninventory.org/forumdisplay.php?fid=3)
+--- Forum: FusionInventory for GLPI (https://forum.fusioninventory.org/forumdisplay.php?fid=10)
+--- Thread: Network Discovery and Network Inventory SNMP not works for me. (/showthread.php?tid=10347)



Network Discovery and Network Inventory SNMP not works for me. - ramses.sevilla@gmail.com - 2020-07-08

Hi everyone,

I have installed a server with GLPI 9.4.6 + FusionInventory 9.4+2.4 over UBUNTU Server 20.04 and
FusionInventory-Agent 2.5 on computers and It works well, I can see the assets Computers.

Now I need discover the Network Devices (Routers, Switches, Printers,...) by SNMP.

I have installed the FusionInventory-Agent on the Server and I have configured FusionInventory Network Discovery following this process:
http://fusioninventory.org/documentation/tasks/networkdiscovery.html

I think that all is configured fine but don't work.

If I check the tasks in the Agent it show me the next:

-------------------------------------------------
glpi@glpi:~$ sudo fusioninventory-agent --list-tasks
Available tasks :
Inventory (v1.9)
WMI (v0.3)
Maintenance (v1.1)
NetInventory (v4.1)
WakeOnLan (v2.2)
NetDiscovery (v4.1)

server target: https://glpi.test.com/plugins/fusioninventory/
Planned tasks:
- Inventory (v1.9)
- NetDiscovery (v4.1)
- NetInventory (v4.1)

scheduler target: scheduler0
No planned task
glpi@glpi:~$
-------------------------------------------------

If I look into Networking > Network Inventory Status It does not show any task.

The FusionInventory-Agent Service is running correctly:

--------------------------------------------------
glpi@glpi:~$ sudo systemctl status fusioninventory-agent.service
[sudo] password for glpi:
● fusioninventory-agent.service - FusionInventory agent
    Loaded: loaded (/lib/systemd/system/fusioninventory-agent.service; enabled; vendor preset: enabled)
    Active: active (running) since Wed 2020-07-08 11:27:43 CEST; 3h 2min ago
      Docs: man:fusioninventory-agent
  Main PID: 82622 (fusioninventory)
      Tasks: 1 (limit: 2282)
    Memory: 106.7M
    CGroup: /system.slice/fusioninventory-agent.service
            └─82622 fusioninventory-agent: waiting

Jul 08 14:29:02 glpi fusioninventory-agent[82622]: sending prolog request to server0
Jul 08 14:29:02 glpi fusioninventory-agent[82622]: [info] sending prolog request to server0
Jul 08 14:29:02 glpi fusioninventory-agent[91727]: running task Inventory
Jul 08 14:29:02 glpi fusioninventory-agent[91727]: [info] running task Inventory
Jul 08 14:29:02 glpi fusioninventory-agent[91727]: [info] New inventory from glpi-2020-07-06-13-22-59 for server0
Jul 08 14:29:02 glpi fusioninventory-agent[91727]: New inventory from glpi-2020-07-06-13-22-59 for server0
Jul 08 14:29:26 glpi fusioninventory-agent[91800]: running task NetDiscovery
Jul 08 14:29:26 glpi fusioninventory-agent[91800]: [info] running task NetDiscovery
Jul 08 14:29:37 glpi fusioninventory-agent[91800]: Scalars leaked: -1
Jul 08 14:29:38 glpi fusioninventory-agent[91800]: Scalars leaked: 1
glpi@glpi:~$
--------------------------------------------------

What I can be doing wrong?

Do I need define a rule or something to works Network Discovery and Network Inventory SNMP?


Regards,

Ramsés


RE: Network Discovery and Network Inventory SNMP not works for me. - ddurieux - 2020-08-06

In agent form in glpi, you must enable the netdiscovery module