You are not logged in.
Hi Everyone,
I'm trying glpi server GLPI 10.0.2 and glpi server glpi-agent 1.4.1.
I can succesfully use Network discovery to my switches and network printers and Network Inventory (SNMP) unless i set a manual ip address to a discovered devices one by one !
I will give you an example
My main purpose is discover/import/poll a network printer.
I have two tasks
One of them is Network Discovery.
Other is Network inventory (SNMP)
1. I try to check my snmp credentials from agent server (there is no problem)
2. I try to check manual query to network printer from proxy server (there is no problem)
As you can see, TYPE Printer, I have hostname , model name and ip address.
root@glpi-srv-proxy:~/netdiscovery# more 192.168.1.5.xml
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
<CONTENT>
<DEVICE>
<AUTHPORT /> <AUTHPROTOCOL /> <AUTHSNMP>1</AUTHSNMP>
<DESCRIPTION>Canon iR-ADV C356 III /P</DESCRIPTION>
<DNSHOSTNAME>10.1.12.104</DNSHOSTNAME>
<IP>192.168.1.5</IP>
<IPS>
<IP>192.168.1.5</IP>
<IP>127.0.0.1</IP>
</IPS>
<LOCATION>MyLocation</LOCATION>
<MAC>9c:32:ce:ff:42:9f</MAC>
<MANUFACTURER>Canon</MANUFACTURER>
<MODEL>Canon iR-ADV C356 III 12.08</MODEL>
<SERIAL>12345678</SERIAL>
<SNMPHOSTNAME>XXXXXXX</SNMPHOSTNAME>
<TYPE>PRINTER</TYPE>
<UPTIME>1 day, 19:21:14.14</UPTIME>
</DEVICE>
<MODULEVERSION>5.1</MODULEVERSION>
<PROCESSNUMBER>1</PROCESSNUMBER>
</CONTENT>
<DEVICEID>foo</DEVICEID>
<QUERY>NETDISCOVERY</QUERY>
</REQUEST>
After Discovery when i check GLPI gui i can see printer properly without an ip adress. Network ports are empty. Therefore when i try to make Network Inventory( SNMP), my task give " Device have no ip"
After that i edit the device and set ip address to device then retry to Network Inventory( SNMP), task imported all interfaces and Vlans ip addresses.
As a result,
Although it knows the ip addresses of the devices you have discovered, it does not import.
if you manually define the correct ip address, the next xx can also pull all the data.
This scenario happens in all printers and switches that use SNMP method. There is no problem with agent-installed scenario. (Pc, Server)
)
Is this a problem or is there something I missed?
PS:I'm not a first time user of this product, I used to use it with fusion inventory. I have not encountered such a problem. I know import rules and task logic.
Best Regards.
Offline
Is it the same problem? https://github.com/glpi-project/glpi/issues/12128
--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS
Offline
Exactly WebGreg
I discover my all switches and printers. GLPi adds devices to network devices and printers section without ip. When you try to pool by snmp glpi cannot pool because device has no ip.
When i manually add ip to a device i can easly pool the data.
since snmp is a core function, I thought it was checked.
I didn't think it could be a bug.
Offline
Ok, so i linked your thread to that issue.
--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS
Offline