• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import denied for all printers
#1
this is the first time I have this error.
I have about 90 printers of various brands and types, but none are imported.

an example:
Import denied [mac]: 3c: 2a: f4: 69: a2: 09, [ip]: 192.168.0.2, [name]: BRN3C2AF469A209, [entities_id]: 0

if I ask the printer:

root@glpi:~# fusioninventory-netdiscovery --first 192.168.0.2 --last 192.168.0.2 --credentials version:2,comunity:public  --debug
[debug] scanning block 192.168.0.2-192.168.0.2
[debug] creating 1 worker threads
[debug] [thread 1] creation
[debug] [thread 1] #1, scanning 192.168.0.2
[debug] [thread 1] #1, - scanning 192.168.0.2 with netbios: success
[debug] [thread 1] #1, - scanning 192.168.0.2 with echo ping: success
[debug] [thread 1] #1, - scanning 192.168.0.2 in arp table: success
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <DEVICE>
      <DNSHOSTNAME>172.16.5.147</DNSHOSTNAME>
      <IP>192.168.0.2</IP>
      <MAC>3c:2a:f4:69:a2:09</MAC>
      <NETBIOSNAME>BRN3C2AF469A209</NETBIOSNAME>
    </DEVICE>
    <MODULEVERSION>4.2</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug] [thread 1] termination
[debug] All netdiscovery threads terminated

OS: Ubuntu 20
GLPI: 9.5.3
FUSIOINVENTORY: 2.6.1
  Reply
#2
what can be the problem, what's wrong with this new configuration?
With the glpi version 9.4 the printers are recognized correctly

fusioninventory-netinventory --host 192.168.0.9 -- credentials version:1,community:public --debug
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
<CONTENT>
<DEVICE>
<CARTRIDGES>
<CARTRIDGEBLACK>OK</CARTRIDGEBLACK>
<CARTRIDGECYAN>OK</CARTRIDGECYAN>
<CARTRIDGEMAGENTA>OK</CARTRIDGEMAGENTA>
<CARTRIDGEYELLOW>OK</CARTRIDGEYELLOW>
</CARTRIDGES>
<INFO>
<COMMENTS>Brother NC-180w, Firmware Ver.0.09 ,MID 8CA-F41-001</COMMENTS>
<ID>0</ID>
<IPS>
<IP>192.168.0.9</IP>
</IPS>
<MAC>00:1b:a9:0d:66:14</MAC>
<MANUFACTURER>Brother</MANUFACTURER>
<MEMORY>64</MEMORY>
<MODEL>MFC-9340CDW</MODEL>
<NAME>BRW00242BA166EE</NAME>
<RAM>64</RAM>
<SERIAL>BROC9F131826</SERIAL>
<TYPE>PRINTER</TYPE>
<UPTIME>3 hours, 42:51.40</UPTIME>
</INFO>
<PAGECOUNTERS>
<TOTAL>12920</TOTAL>
</PAGECOUNTERS>
<PORTS>
<PORT>
<IFDESCR>NC-180w</IFDESCR>
<IFINERRORS>0</IFINERRORS>
<IFINOCTETS>34097435</IFINOCTETS>
<IFINTERNALSTATUS>1</IFINTERNALSTATUS>
<IFLASTCHANGE>18.55 seconds</IFLASTCHANGE>
<IFMTU>1500</IFMTU>
<IFNAME>NC-180w</IFNAME>
<IFNUMBER>1</IFNUMBER>
<IFOUTERRORS>0</IFOUTERRORS>
<IFOUTOCTETS>423158</IFOUTOCTETS>
<IFSPEED>54000000</IFSPEED>
<IFSTATUS>1</IFSTATUS>
<IFTYPE>7</IFTYPE>
<MAC>00:24:2b:a1:66:ee</MAC>
</PORT>
<PORT>
<IFDESCR>NC-170h</IFDESCR>
<IFINERRORS>0</IFINERRORS>
<IFINOCTETS>0</IFINOCTETS>
<IFINTERNALSTATUS>2</IFINTERNALSTATUS>
<IFLASTCHANGE>0.00 seconds</IFLASTCHANGE>
<IFMTU>1500</IFMTU>
<IFNAME>NC-170h</IFNAME>
<IFNUMBER>2</IFNUMBER>
<IFOUTERRORS>0</IFOUTERRORS>
<IFOUTOCTETS>0</IFOUTOCTETS>
<IFSPEED>100000000</IFSPEED>
<IFSTATUS>2</IFSTATUS>
<IFTYPE>7</IFTYPE>
<IP>192.168.0.9</IP>
<IPS>
<IP>192.168.0.9</IP>
</IPS>
<MAC>00:1b:a9:0d:66:14</MAC>
</PORT>
<PORT>
<IFDESCR>SoftwareLoopBack</IFDESCR>
<IFINERRORS>0</IFINERRORS>
<IFINOCTETS>0</IFINOCTETS>
<IFINTERNALSTATUS>1</IFINTERNALSTATUS>
<IFLASTCHANGE>0.00 seconds</IFLASTCHANGE>
<IFMTU>1500</IFMTU>
<IFNAME>SoftwareLoopBack</IFNAME>
<IFNUMBER>3</IFNUMBER>
<IFOUTERRORS>0</IFOUTERRORS>
<IFOUTOCTETS>0</IFOUTOCTETS>
<IFSPEED>0</IFSPEED>
<IFSTATUS>1</IFSTATUS>
<IFTYPE>24</IFTYPE>
</PORT>
</PORTS>
</DEVICE>
<MODULEVERSION>4.2</MODULEVERSION>
<PROCESSNUMBER>1</PROCESSNUMBER>
</CONTENT>
<DEVICEID>foo</DEVICEID>
<QUERY>SNMPQUERY</QUERY>
</REQUEST>
  Reply
#3
Resolved.

I was sure it had saved the snmp settings linked to the agent, but it wasn't :-(
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)