• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not all SNMP info are collected
My config: FI 0.83+2.0b2, GLPI 0.83.4, Agent 2.2.3 on Ubuntu 12.04

I can do Network Discovery but not all SNMP info are collected.

This is extracted from agent log:

$VAR1 = {
          'MODELSNMP' => 'Printer0385',
          'SNMPHOSTNAME' => 'xxx',
          'TYPE' => '3',
          'MAC' => 'xx:xx:xx:xx:xx:xx',
          'AUTHSNMP' => '1',
          'SERIAL' => 'xxx',
          'NETPORTVENDOR' => 'Hewlett Packard',
          'DESCRIPTION' => 'hp LaserJet 2430',
          'IP' => 'xxx.xxx.xxx.xxx'

But if I look into Printer0385 model, I can see there are others info that could be collected (eg. Informations or Location) that are available with snmpwalk.

Is there any option to have full SNMP discovery or is not yet implemented?

Thank you
You must do network inventory to have all data
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
Thank you for quick response!

Every time I got Network Inventory (scheduled as Network Discovery but calling correct module) I get this error: No devices to inventory.

After some testing, I realized that I had not installed the correct package from the repository for ubuntu ...

My mistake!
Hi David!

I have a big doubt!
Can I use one Ubuntu machine to do both Network Discovery and Network Inventory?

At the moment I can do Discovery with these packages (CONFIG A):
sudo dpkg -l *fusioninv*

ii  fusioninventory-agent             2.2.3-3
ii  libfusioninventory-agent-task-deploy-perl 2.0.3-1
ii  libfusioninventory-agent-task-esx-perl 2.1.0-1
ii  libfusioninventory-agent-task-netdiscovery-perl 2.1-1
un  libfusioninventory-agent-task-netinventory-perl <none>
un  libfusioninventory-agent-task-network-perl <none>
ii  libfusioninventory-agent-task-ocsdeploy-perl 1.0.8-1
un  libfusioninventory-agent-task-snmp-query <none>

For Inventory I need these packages (CONFIG B)
ii  fusioninventory-agent             2.2.3-3
ii  libfusioninventory-agent-task-deploy-perl 2.0.3-1
ii  libfusioninventory-agent-task-esx-perl 2.1.0-1
un  libfusioninventory-agent-task-netdiscovery-perl <none>
ii  libfusioninventory-agent-task-netinventory-perl 1:1.0.1-1
ii  libfusioninventory-agent-task-network-perl 1:1.0.1-1
ii  libfusioninventory-agent-task-ocsdeploy-perl 1.0.8-1
ii  libfusioninventory-agent-task-snmp-query 1:1.0.1-1

If I try to install libfusioninventory-agent-task-netdiscovery-perl (2.1-1) I got dependencies errors.

* libfusioninventory-agent-task-netdiscovery-perl
* libfusioninventory-agent-task-netinventory-perl 1:1.0.1-1

use libfusioninventory-agent-task-network-perl (this package have new netdiscovery and netinventory version)
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
Hi David!
Thanks for quick response!

I tried as you wrote with this configuration (CONFIG C):
$ sudo dpkg -l *fusioninv*

ii  fusioninventory-agent                            2.2.3-3
ii  libfusioninventory-agent-task-deploy-perl        2.0.3-1
ii  libfusioninventory-agent-task-esx-perl           2.1.0-1
un  libfusioninventory-agent-task-netdiscovery-perl  <none>
ii  libfusioninventory-agent-task-netinventory-perl  <none>
ii  libfusioninventory-agent-task-network-perl       1:1.0.1-1
ii  libfusioninventory-agent-task-ocsdeploy-perl     1.0.8-1
ii  libfusioninventory-agent-task-snmp-query         1:1.0.1-1

Now I can do discovery and inventory on the same machine but discovery results are different than before.

discovering this printer: iso. = STRING: "HP LaserJet P3010 Series"

My previous CONFIG A returned me also serial number while CONFIG C no.

For our purpose, it would be nice to have SN because usually we:
  1. buy new printer
  2. receive new printer
  3. create new printer in GLPI with administrative data (like SN, serial inventory) but we don't have MAC address
  4. install new printer
  5. network discovery

After network discovery, new printer will be automatically linked to existing GLPI record according "Printer serial" rule.
Then network inventory collect SNMP informations about new printer.

So, is it possible to get SN during network discovery?

Thanks a lot!

Forum Jump:

Users browsing this thread: 1 Guest(s)