You are not logged in.
Hi all,
Been playing with this over the last few days and have tested with Fusion and now moving into GLPI Inventory. Fusion seemed to be ok when it found my Router, it did however label it as a "Computer". Now working with the GLPI Inventory on a fresh install, while performing a Network Discovery I am able to find my Router, however in the logs I get a "Import denied" with a Info of...
Message From Logs:
Import denied [type]: Computer, [name]: Router - Main, [mac]: **:**:**:**:**:**, [ips]: 10.16.0.2, 10.8.1.1, 127.0.0.1, 127.0.1.1, 169.254.39.15, ***.***.*.*, **.***.***.***,
[info]: If a real 'computer' please install agent on it (glpiinventory plugin is not design for this) otherwise check SNMP credentials from the IP range
Looking at it, for some reason my router is reporting the Type as a Computer and GLPI doesn't seem to like that and would rather have an agent. Now I'm at a loss, anyone have an idea how to get this imported? This doesn't seem to be in the rules that I can find, so I'm not sure how to either re-classify the router, or have GLPI take care of that.
A bit more info, it appears because of the import being denied the router doesn't even get added to the Unmanaged Devices, so there is no way to manually import it either.
Open to any thoughts, thanks all!
Last edited by wingman1487 (2023-04-05 15:50:25)
Offline
Hi wingman1487,
this happens when a router is not supported and then not recognized as a networking device.
What is the manufacturer of this router ? What's the model ?
If you can share a snmp walk, I may try to add some support for this router to GLPI-Agent. For that I need a walk generated like explained in documentation.
Anyway, sometime its sufficient to add an entry to the sysobject.ids database. Check the Contribution section there to provide required information so I can tell you if this can be sufficient.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Cool, I figured as much, and thanks for getting back!
Manufacture: Asus
Model: RT-AC87U
Firmware: ASUSWRT-MERLIN
Is there a location to upload the walk file to, lots of lines output from it to put in a post.
I did a Net Inventory from the GLPI Agent on one of my windows hosts and generated below, I removed the <PORTS> section
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
<CONTENT>
<DEVICE>
<INFO>
<COMMENTS>Linux RT-AC87U 2.6.36.4brcmarm #1 SMP PREEMPT Sun Jun 28 14:08:06 EDT 2020 armv7l</COMMENTS>
<CONTACT>root@localhost</CONTACT>
<ID>0</ID>
<IPS>
<IP>10.16.0.2</IP>
<IP>10.8.1.1</IP>
<IP>127.0.0.1</IP>
<IP>127.0.1.1</IP>
<IP>169.254.39.15</IP>
<IP>***.***.*.*</IP>
<IP>**.***.***.***</IP>
</IPS>
<LOCATION>IT Room</LOCATION>
<MAC>**:**:**:**:**:**</MAC>
<MANUFACTURER>Net-SNMP</MANUFACTURER>
<MEMORY>0</MEMORY>
<MODEL>Linux</MODEL>
<NAME>Router - Main</NAME>
<RAM>249</RAM>
<TYPE>COMPUTER</TYPE>
<UPTIME>16 hours, 37:31.52</UPTIME>
</INFO>
</DEVICE>
<MODULEVERSION>5.1</MODULEVERSION>
<PROCESSNUMBER>1</PROCESSNUMBER>
</CONTENT>
<DEVICEID>foo</DEVICEID>
<QUERY>SNMPQUERY</QUERY>
</REQUEST>
Checking out the sysobject.ids file on the Agent and running a --debug on the glpi-netinventory it looks like the reason it's being identified as a Linux Computer is because of this
Console Output
[debug] [thread 1] #1, full match for sysobjectID .1.3.6.1.4.1.8072.3.2.10 in database
[debug] [thread 1] #1, sysobjectID match: linux mib support enabled
Section in sysobject.ids
8072 Net-SNMP COMPUTER
...
8072.3.2.10 Net-SNMP COMPUTER Linux
...
Last edited by wingman1487 (2023-04-05 17:40:24)
Offline