[Fusioninventory-user] SNMP start working but...

Marco Gaiarin gaio at sv.lnf.it
Tue Feb 10 16:57:59 UTC 2015


I'm still here fighting against SNMP suport in FI.

With the push of 2.3.15 debian packages (thanks!!! ;), i've done some
mor tests, and revamped sme import rule now SNMP works.
I'm importing switches and printers, doing some tests. I'm using for
now three import rules: serial, mac, name. No auto add.

But some devices does not work. For example:

1) my wireless AP, in log i got:

	Importo rifiutato [itemtype]:NetworkEquipment, [name]:TW1039Z026

if i try manual FI run i get:

 <?xml version="1.0" encoding="UTF-8" ?>
 <REQUEST>
   <CONTENT>
     <DEVICE>
       <INFO>
         <COMMENTS>WAP-200 - Hardware revision 50-00-1022-03 - Serial number TW1039Z026 - Firmware version 5.1.10.0-03-9018</COMMENTS>
         <ID>0</ID>
         <IPS>
           <IP>10.99.1.237</IP>
           <IP>127.0.0.1</IP>
         </IPS>
         <NAME>TW1039Z026</NAME>
         <TYPE />  <UPTIME>51 days, 15:06:17.39</UPTIME>
       </INFO>
       <PORTS>
       [...]

This is an ''easy'' case: data missed S/N and MAC, and the name proposed
(TW1039Z026) is different from what in GLPI (m110-1).

I've also tried to add a rule tu match against IP, but the result is
the same.


2) two printers, with the same log on GLPI:

	Importo rifiutato [itemtype]:Printer, [name]:MP 161L

but this time the raw xml from FI client is more rich:

 <?xml version="1.0" encoding="UTF-8" ?>
 <REQUEST>
   <CONTENT>
     <DEVICE>
       <CARTRIDGES>
         <TONERBLACK /></CARTRIDGES>
       <INFO>
         <COMMENTS>NRG MP 161L / NRG Network Printer D model</COMMENTS>
         <ID>0</ID>
         <IPS>
           <IP>10.27.1.249</IP>
           <IP>127.0.0.1</IP>
         </IPS>
         <MAC>00:00:74:ad:8b:01</MAC>
         <MANUFACTURER>Ricoh</MANUFACTURER>
         <MEMORY>64</MEMORY>
         <MODEL>MP 161L</MODEL>
         <NAME>MP 161L</NAME>
         <TYPE>PRINTER</TYPE>
         <UPTIME>4 hours, 12:06.53</UPTIME>
         <VENDOR>NRG</VENDOR>
       </INFO>
       <PAGECOUNTERS>
       [...]

note that S/N missed, but there's IP and MAC. If i try to match (using
test button into import and link rules) with MAC, the match work.


Seems to me that FI, despite of the rules used, is able to match
against S/N and NAME only, MAC and IP is totally ineffective.


Right?

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
    http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the Fusioninventory-user mailing list