You are not logged in.
Pages: 1
Hello,
I'm using glpi & fusioninventory to update the previously manual added devices. Now I'm trying to Update the existing PDU/USV:
- made a network port with the IP adress for the pdu
- try to run a snmp import
=> Logfile: Import not allowed: [ip]:X.X.X.X, [name]:10, [entities_id]:0
Ideas how to update the device if there is only the IP as Networkport known?
Offline
Hi doesntMatter,
if you have too few informations, this may be just impossible or even useless if inventory is incomplete.
Firstly how do you make the snmp import ? And what informations are you setting for the devices ? Just name and ip ? Or what else ?
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Hi Guillaume,
i try to import via snmp agent. I created a pdu, setting only Networkports with IP, Mac and tried a snmp-import.
I believe there is somewhere a rule which prevents adding/updating the pdu.
=> I created rule for update/import PDU (based on Mac and Serial) because there was no rule in glpi and the same in fusioninventory.
=> Should I check there anything more according this? Updating of printer and so on is working fine...
fusioninventory-netdiscovery.bat --first X.X.X.X --last X.X.X.X--credentials version:1,community:public
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
<CONTENT>
<DEVICE>
<AUTHSNMP>1</AUTHSNMP>
<CONTACT>Service Informatique</CONTACT>
<DESCRIPTION>Netman 204</DESCRIPTION>
<DNSHOSTNAME>X.X.X.X</DNSHOSTNAME>
<FIRMWARE>SWMXXX-XX-XX</FIRMWARE>
<IP>X.X.X.X</IP>
<IPS>
<IP>X.X.X.X</IP>
<IP>127.0.0.1</IP>
</IPS>
<LOCATION>ASDF</LOCATION>
<MAC>ASDF</MAC>
<MANUFACTURER>RPS SpA</MANUFACTURER>
<MODEL>SEP 2200</MODEL>
<SNMPHOSTNAME>ASDF</SNMPHOSTNAME>
<TYPE>NETWORKING</TYPE>
<UPTIME>14 minutes, 15.65</UPTIME>
</DEVICE>
<MODULEVERSION>4.2</MODULEVERSION>
<PROCESSNUMBER>1</PROCESSNUMBER>
</CONTENT>
<DEVICEID>foo</DEVICEID>
<QUERY>NETDISCOVERY</QUERY>
</REQUEST>
Offline
You may try to enable the "NetworkEquipment update (by mac)" rule which is disabled by default as it can involve bad side-effects.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
I did and got some updates for printer which didn^t work before due missing information - but this do not change anything regarding this topic...
Last edited by doesntMatter (2022-09-19 11:40:31)
Offline
Any Idea why the fusioninventory-discover-job-logfile is not showing the mac-adress? Maybe that`s the point, fusioninventory-netdiscovery.bat is showing the Macadress.
In the Logfile of the job i see only [ip]:X.X.X.X, [name]:10, [entities_id]:0 and the IP-rule for import is disabled/not existing.
Last edited by doesntMatter (2022-09-19 14:56:47)
Offline
Pages: 1