1 (edited by michal.moro 2018-03-27 05:12:20)

Topic: Problem with netdiscovery Epson printer

Hi,
When I try run netdiscovery to looking for my Epson AL-M300DN printer  I have got

 # fusioninventory-netdiscovery  --debug --first 10.20.7.44 --last 10.20.7.44 --control
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <AGENTVERSION>2.4-2</AGENTVERSION>
      <START>1</START>
    </AGENT>
    <MODULEVERSION>2.6</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug] scanning block 10.20.7.44-10.20.7.44
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <NBIP>1</NBIP>
    </AGENT>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug] creating 1 worker threads
[debug] [thread 1] creation
[debug] [thread 1] scanning 10.20.7.44:
[debug] partial match for sysobjectID .1.3.6.1.4.1.1248.1.1.2.1.3.7.65.76.45.77.51.48.48 in database: unknown device ID
[debug] [thread 1] - scanning 10.20.7.44 with SNMP, credentials 1: success
[debug] [thread 1] - scanning 10.20.7.44 with netbios: no result
[debug] [thread 1] - scanning 10.20.7.44 with nmap: no result
[debug] [thread 1] termination
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <END>1</END>
    </AGENT>
    <MODULEVERSION>2.6</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug] cleaning 1 worker threads
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <END>1</END>
    </AGENT>
    <MODULEVERSION>2.6</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>

And in Fusion inventory I don't have these printer.

# cat /usr/share/fusioninventory/lib/FusionInventory/Agent/SNMP/MibSupport/Epson.pm
package FusionInventory::Agent::SNMP::MibSupport::Epson;

use strict;
use warnings;

use parent 'FusionInventory::Agent::SNMP::MibSupportTemplate';

use FusionInventory::Agent::Tools;
use FusionInventory::Agent::Tools::SNMP;

use constant    epson   => '.1.3.6.1.4.1.1248' ;
use constant    model   => epson  .'.1.2.2.1.1.1.2.1' ;
use constant    serial  => epson  .'.1.2.2.1.1.1.5.1' ;
use constant    fw_base => epson . '.1.2.2.2.1.1' ;

our $mibSupport = [
    {
        name        => "epson-printer",
        sysobjectid => getRegexpOidMatch(epson)
    }
];

sub getSerial {
    my ($self) = @_;

    return $self->get(serial);
}

sub getModel {
    my ($self) = @_;

    return $self->get(model)
}

sub run {
    my ($self) = @_;

    my $device = $self->device
        or return;

    my $versions  = $self->walk(fw_base.'.2') || {};
    my $names     = $self->walk(fw_base.'.3') || {};
    my $firmwares = $self->walk(fw_base.'.4') || $names;
    if ($firmwares) {
        foreach my $index (keys(%{$firmwares})) {
            next unless $versions->{$index};
            my $firmware = {
                NAME            => "Epson ".($names->{$index} || "printer"),
                DESCRIPTION     => "Epson printer ".($names->{$index} || "firmware"),
                TYPE            => "printer",
                VERSION         => $versions->{$index},
                MANUFACTURER    => "Epson"
            };
            $device->addFirmware($firmware);
        }
    }
}

1;

__END__

=head1 NAME

Inventory module for Epson Printers

=head1 DESCRIPTION

The module enhances Epson printers devices support.

What can I do with this issue?

Re: Problem with netdiscovery Epson printer

Hi michal.moro,

can you provide a snmp walk of your printer so we can test with it ?
See: 4.4. snmpwalk output

Re: Problem with netdiscovery Epson printer

I added to /usr/share/fusioninventory/sysobject.ids
line:
1248.1.1.2.1.3.7.65.76.45.77.51.48.48           Epson   PRINTER AL-M300DN
and now when I run command:
fusioninventory-agent --logger=Stderr --debug --debug
I had reply:

[debug] [thread 9] - scanning 10.20.7.45 with netbios: no result
[debug] [thread 8] - scanning 10.20.7.45 with SNMP, credentials 1: success
[debug] full match for sysobjectID .1.3.6.1.4.1.1248.1.1.2.1.3.7.65.76.45.77.51.48.48 in database
[debug] [thread 9] - scanning 10.20.7.45 with nmap: no result

but still I had'n my Epson printer in Fusion.

4 (edited by michal.moro 2018-03-27 18:28:44)

Re: Problem with netdiscovery Epson printer

# snmpwalk -v1 -c "community" -t 15 -Cc -On -Ox 10.20.7.45 .1  > /home/epson.txt

.1.3.6.1.2.1.1.1.0 = Hex-STRING: 45 50 53 4F 4E 20 42 75 69 6C 74 2D 69 6E 20 47
69 67 61 62 69 74 20 45 74 68 65 72 20 50 72 69
6E 74 20 53 65 72 76 65 72
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.1248.1.1.2.1.3.7.65.76.45.77.51.48.48
.1.3.6.1.2.1.1.3.0 = Timeticks: (245889394) 28 days, 11:01:33.94
.1.3.6.1.2.1.1.4.0 = Hex-STRING: 32 70 5F 42 5F 70 69 65 6C 77 65 77 33
.1.3.6.1.2.1.1.5.0 = ""
.1.3.6.1.2.1.1.6.0 = Hex-STRING: 32 70 5F 42 5F 6B 6F 6E 73 6F 6C 61 70 69 65 6C
5F 63 77 66
.1.3.6.1.2.1.1.7.0 = INTEGER: 72
.1.3.6.1.2.1.2.1.0 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.2.1 = Hex-STRING: 41 4C 2D 4D 33 30 30 20 48 61 72 64 20 56 65 72
2E 32 2E 30 30 20 46 69 72 6D 20 56 65 72 2E 32
2E 34 30
.1.3.6.1.2.1.2.2.1.2.2 = Hex-STRING: 53 6F 66 74 77 61 72 65 20 4C 6F 6F 70 62 61 63
6B
.1.3.6.1.2.1.2.2.1.3.1 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.3.2 = INTEGER: 24
.1.3.6.1.2.1.2.2.1.4.1 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.4.2 = INTEGER: 0
.1.3.6.1.2.1.2.2.1.5.1 = Gauge32: 100000000
.1.3.6.1.2.1.2.2.1.5.2 = Gauge32: 0
.1.3.6.1.2.1.2.2.1.6.1 = Hex-STRING: A4 EE 57 F6 B1 E2
.1.3.6.1.2.1.2.2.1.6.2 = ""
.1.3.6.1.2.1.2.2.1.7.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.7.2 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.8.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.8.2 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.9.1 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.2.2.1.9.2 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 1040853797
.1.3.6.1.2.1.2.2.1.10.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.11.1 = Counter32: 7417722
.1.3.6.1.2.1.2.2.1.11.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.12.1 = Counter32: 0
.1.3.6.1.2.1.2.2.1.12.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.13.1 = Counter32: 0
.1.3.6.1.2.1.2.2.1.13.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.14.1 = Counter32: 0
.1.3.6.1.2.1.2.2.1.14.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.15.1 = Counter32: 0
.1.3.6.1.2.1.2.2.1.15.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.16.1 = Counter32: 217388129
.1.3.6.1.2.1.2.2.1.16.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.17.1 = Counter32: 2177870
.1.3.6.1.2.1.2.2.1.17.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.18.1 = Counter32: 0
.1.3.6.1.2.1.2.2.1.18.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.19.1 = Counter32: 0
.1.3.6.1.2.1.2.2.1.19.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.20.1 = Counter32: 0
.1.3.6.1.2.1.2.2.1.20.2 = Counter32: 0
.1.3.6.1.2.1.2.2.1.21.1 = Gauge32: 0
.1.3.6.1.2.1.2.2.1.21.2 = Gauge32: 0
.1.3.6.1.2.1.2.2.1.22.1 = OID: .0.0
.1.3.6.1.2.1.2.2.1.22.2 = OID: .0.0
.1.3.6.1.2.1.4.1.0 = INTEGER: 2
.1.3.6.1.2.1.4.2.0 = INTEGER: 64
.1.3.6.1.2.1.4.3.0 = Counter32: 3174462
.1.3.6.1.2.1.4.4.0 = Counter32: 0
.1.3.6.1.2.1.4.5.0 = Counter32: 2196
.1.3.6.1.2.1.4.6.0 = Counter32: 0
.1.3.6.1.2.1.4.7.0 = Counter32: 0
.1.3.6.1.2.1.4.8.0 = Counter32: 0
.1.3.6.1.2.1.4.9.0 = Counter32: 2934516
.1.3.6.1.2.1.4.10.0 = Counter32: 2047705
.1.3.6.1.2.1.4.11.0 = Counter32: 0
.1.3.6.1.2.1.4.12.0 = Counter32: 0
.1.3.6.1.2.1.4.13.0 = INTEGER: 0
.1.3.6.1.2.1.4.14.0 = Counter32: 0
.1.3.6.1.2.1.4.15.0 = Counter32: 0
.1.3.6.1.2.1.4.16.0 = Counter32: 0
.1.3.6.1.2.1.4.17.0 = Counter32: 0
.1.3.6.1.2.1.4.18.0 = Counter32: 0
.1.3.6.1.2.1.4.19.0 = Counter32: 0
.1.3.6.1.2.1.4.20.1.1.10.20.7.45 = IpAddress: 10.20.7.45
.1.3.6.1.2.1.4.20.1.2.10.20.7.45 = INTEGER: 2
.1.3.6.1.2.1.4.20.1.3.10.20.7.45 = IpAddress: 255.255.255.0
.1.3.6.1.2.1.4.20.1.4.10.20.7.45 = INTEGER: 1
.1.3.6.1.2.1.4.20.1.5.10.20.7.45 = INTEGER: -1
.1.3.6.1.2.1.4.21.1.1.10.20.7.0 = IpAddress: 10.20.7.0
.1.3.6.1.2.1.4.21.1.2.10.20.7.0 = INTEGER: 1
.1.3.6.1.2.1.4.21.1.3.10.20.7.0 = INTEGER: 0
.1.3.6.1.2.1.4.21.1.4.10.20.7.0 = INTEGER: -1
.1.3.6.1.2.1.4.21.1.5.10.20.7.0 = INTEGER: -1
.1.3.6.1.2.1.4.21.1.6.10.20.7.0 = INTEGER: -1
.1.3.6.1.2.1.4.21.1.7.10.20.7.0 = IpAddress: 0.0.0.0
.1.3.6.1.2.1.4.21.1.8.10.20.7.0 = INTEGER: 3
.1.3.6.1.2.1.4.21.1.9.10.20.7.0 = INTEGER: 2
.1.3.6.1.2.1.4.21.1.10.10.20.7.0 = INTEGER: 0
.1.3.6.1.2.1.4.21.1.11.10.20.7.0 = IpAddress: 255.255.255.0
.1.3.6.1.2.1.4.21.1.12.10.20.7.0 = INTEGER: -1
.1.3.6.1.2.1.4.21.1.13.10.20.7.0 = OID: .0.0
.1.3.6.1.2.1.4.22.1.1.1.10.20.7.1 = INTEGER: 1
.1.3.6.1.2.1.4.22.1.1.1.10.20.7.3 = INTEGER: 1
.1.3.6.1.2.1.4.22.1.1.1.10.20.7.116 = INTEGER: 1
.1.3.6.1.2.1.4.22.1.1.1.10.20.7.127 = INTEGER: 1
.1.3.6.1.2.1.4.22.1.2.1.10.20.7.1 = Hex-STRING: 00 09 0F 09 00 02
.1.3.6.1.2.1.4.22.1.2.1.10.20.7.3 = Hex-STRING: 00 0C 29 80 ED FC
.1.3.6.1.2.1.4.22.1.2.1.10.20.7.116 = Hex-STRING: 6C 4B 90 1A C7 C3
.1.3.6.1.2.1.4.22.1.2.1.10.20.7.127 = Hex-STRING: 6C 4B 90 1A D6 4D
.1.3.6.1.2.1.4.22.1.3.1.10.20.7.1 = IpAddress: 10.20.7.1
.1.3.6.1.2.1.4.22.1.3.1.10.20.7.3 = IpAddress: 10.20.7.3
.1.3.6.1.2.1.4.22.1.3.1.10.20.7.116 = IpAddress: 10.20.7.116
.1.3.6.1.2.1.4.22.1.3.1.10.20.7.127 = IpAddress: 10.20.7.127
.1.3.6.1.2.1.4.22.1.4.1.10.20.7.1 = INTEGER: 3
.1.3.6.1.2.1.4.22.1.4.1.10.20.7.3 = INTEGER: 3
.1.3.6.1.2.1.4.22.1.4.1.10.20.7.116 = INTEGER: 3
.1.3.6.1.2.1.4.22.1.4.1.10.20.7.127 = INTEGER: 3
.1.3.6.1.2.1.4.23.0 = Counter32: 0
.1.3.6.1.2.1.5.1.0 = Counter32: 25108
.1.3.6.1.2.1.5.2.0 = Counter32: 0
.1.3.6.1.2.1.5.3.0 = Counter32: 162
.1.3.6.1.2.1.5.4.0 = Counter32: 0
.1.3.6.1.2.1.5.5.0 = Counter32: 0
.1.3.6.1.2.1.5.6.0 = Counter32: 0
.1.3.6.1.2.1.5.7.0 = Counter32: 0
.1.3.6.1.2.1.5.8.0 = Counter32: 24935
.1.3.6.1.2.1.5.9.0 = Counter32: 0
.1.3.6.1.2.1.5.10.0 = Counter32: 11
.1.3.6.1.2.1.5.11.0 = Counter32: 0
.1.3.6.1.2.1.5.12.0 = Counter32: 0
.1.3.6.1.2.1.5.13.0 = Counter32: 0
.1.3.6.1.2.1.5.14.0 = Counter32: 34151
.1.3.6.1.2.1.5.15.0 = Counter32: 0
.1.3.6.1.2.1.5.16.0 = Counter32: 9205
.1.3.6.1.2.1.5.17.0 = Counter32: 0
.1.3.6.1.2.1.5.18.0 = Counter32: 0
.1.3.6.1.2.1.5.19.0 = Counter32: 0
.1.3.6.1.2.1.5.20.0 = Counter32: 0
.1.3.6.1.2.1.5.21.0 = Counter32: 0
.1.3.6.1.2.1.5.22.0 = Counter32: 24935
.1.3.6.1.2.1.5.23.0 = Counter32: 0
.1.3.6.1.2.1.5.24.0 = Counter32: 11
.1.3.6.1.2.1.5.25.0 = Counter32: 0
.1.3.6.1.2.1.5.26.0 = Counter32: 0
.1.3.6.1.2.1.6.1.0 = INTEGER: 1
.1.3.6.1.2.1.6.2.0 = INTEGER: 200
.1.3.6.1.2.1.6.3.0 = INTEGER: 120000
.1.3.6.1.2.1.6.4.0 = INTEGER: -1
.1.3.6.1.2.1.6.5.0 = Counter32: 24
.1.3.6.1.2.1.6.6.0 = Counter32: 3361
.1.3.6.1.2.1.6.7.0 = Counter32: 24
.1.3.6.1.2.1.6.8.0 = Counter32: 1
.1.3.6.1.2.1.6.9.0 = Gauge32: 0
.1.3.6.1.2.1.6.10.0 = Counter32: 134017
.1.3.6.1.2.1.6.11.0 = Counter32: 76724
.1.3.6.1.2.1.6.12.0 = Counter32: 309
.1.3.6.1.2.1.6.13.1.1.0.0.0.0.80.0.0.0.0.0 = INTEGER: 2
.1.3.6.1.2.1.6.13.1.1.0.0.0.0.443.0.0.0.0.0 = INTEGER: 2
.1.3.6.1.2.1.6.13.1.1.0.0.0.0.515.0.0.0.0.0 = INTEGER: 2
.1.3.6.1.2.1.6.13.1.1.0.0.0.0.631.0.0.0.0.0 = INTEGER: 2
.1.3.6.1.2.1.6.13.1.1.0.0.0.0.9100.0.0.0.0.0 = INTEGER: 2
.1.3.6.1.2.1.6.13.1.2.0.0.0.0.80.0.0.0.0.0 = IpAddress: 0.0.0.0
.1.3.6.1.2.1.6.13.1.2.0.0.0.0.443.0.0.0.0.0 = IpAddress: 0.0.0.0
.1.3.6.1.2.1.6.13.1.2.0.0.0.0.515.0.0.0.0.0 = IpAddress: 0.0.0.0
.1.3.6.1.2.1.6.13.1.2.0.0.0.0.631.0.0.0.0.0 = IpAddress: 0.0.0.0
.1.3.6.1.2.1.6.13.1.2.0.0.0.0.9100.0.0.0.0.0 = IpAddress: 0.0.0.0
.1.3.6.1.2.1.6.13.1.3.0.0.0.0.80.0.0.0.0.0 = INTEGER: 80

....

Re: Problem with netdiscovery Epson printer

snmpwalk -v1 -c "community" 10.20.7.45

iso.3.6.1.2.1.1.1.0 = STRING: "EPSON Built-in Gigabit Ether Print Server"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.1248.1.1.2.1.3.7.65.76.45.77.51.48.48
iso.3.6.1.2.1.1.3.0 = Timeticks: (245888445) 28 days, 11:01:24.45
iso.3.6.1.2.1.1.4.0 = STRING: "2p_B_pielwew3"
iso.3.6.1.2.1.1.5.0 = ""
iso.3.6.1.2.1.1.6.0 = STRING: "2p_B_konsolapiel_cwf"
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
iso.3.6.1.2.1.2.1.0 = INTEGER: 2
iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
iso.3.6.1.2.1.2.2.1.2.1 = STRING: "AL-M300 Hard Ver.2.00 Firm Ver.2.40"
iso.3.6.1.2.1.2.2.1.2.2 = STRING: "Software Loopback"
iso.3.6.1.2.1.2.2.1.3.1 = INTEGER: 6
iso.3.6.1.2.1.2.2.1.3.2 = INTEGER: 24
iso.3.6.1.2.1.2.2.1.4.1 = INTEGER: 1500
iso.3.6.1.2.1.2.2.1.4.2 = INTEGER: 0
iso.3.6.1.2.1.2.2.1.5.1 = Gauge32: 100000000
iso.3.6.1.2.1.2.2.1.5.2 = Gauge32: 0
iso.3.6.1.2.1.2.2.1.6.1 = Hex-STRING: A4 EE 57 F6 B1 E2
iso.3.6.1.2.1.2.2.1.6.2 = ""
iso.3.6.1.2.1.2.2.1.7.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.7.2 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.8.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.8.2 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.9.1 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.2.2.1.9.2 = Timeticks: (0) 0:00:00.00
iso.3.6.1.2.1.2.2.1.10.1 = Counter32: 1040794755
iso.3.6.1.2.1.2.2.1.10.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.11.1 = Counter32: 7417056
iso.3.6.1.2.1.2.2.1.11.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.12.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.12.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.13.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.13.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.14.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.14.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.15.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.15.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.16.1 = Counter32: 217328459
iso.3.6.1.2.1.2.2.1.16.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.17.1 = Counter32: 2177213
iso.3.6.1.2.1.2.2.1.17.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.18.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.18.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.19.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.19.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.20.1 = Counter32: 0
iso.3.6.1.2.1.2.2.1.20.2 = Counter32: 0
iso.3.6.1.2.1.2.2.1.21.1 = Gauge32: 0
iso.3.6.1.2.1.2.2.1.21.2 = Gauge32: 0
iso.3.6.1.2.1.2.2.1.22.1 = OID: ccitt.0
iso.3.6.1.2.1.2.2.1.22.2 = OID: ccitt.0
iso.3.6.1.2.1.4.1.0 = INTEGER: 2
iso.3.6.1.2.1.4.2.0 = INTEGER: 64
iso.3.6.1.2.1.4.3.0 = Counter32: 3173807
iso.3.6.1.2.1.4.4.0 = Counter32: 0
iso.3.6.1.2.1.4.5.0 = Counter32: 2196
iso.3.6.1.2.1.4.6.0 = Counter32: 0
iso.3.6.1.2.1.4.7.0 = Counter32: 0
iso.3.6.1.2.1.4.8.0 = Counter32: 0
iso.3.6.1.2.1.4.9.0 = Counter32: 2933861
iso.3.6.1.2.1.4.10.0 = Counter32: 2047050
iso.3.6.1.2.1.4.11.0 = Counter32: 0
iso.3.6.1.2.1.4.12.0 = Counter32: 0
iso.3.6.1.2.1.4.13.0 = INTEGER: 0
iso.3.6.1.2.1.4.14.0 = Counter32: 0
iso.3.6.1.2.1.4.15.0 = Counter32: 0
iso.3.6.1.2.1.4.16.0 = Counter32: 0
iso.3.6.1.2.1.4.17.0 = Counter32: 0
iso.3.6.1.2.1.4.18.0 = Counter32: 0
iso.3.6.1.2.1.4.19.0 = Counter32: 0
iso.3.6.1.2.1.4.20.1.1.10.20.7.45 = IpAddress: 10.20.7.45
iso.3.6.1.2.1.4.20.1.2.10.20.7.45 = INTEGER: 2
iso.3.6.1.2.1.4.20.1.3.10.20.7.45 = IpAddress: 255.255.255.0
iso.3.6.1.2.1.4.20.1.4.10.20.7.45 = INTEGER: 1
iso.3.6.1.2.1.4.20.1.5.10.20.7.45 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.1.10.20.7.0 = IpAddress: 10.20.7.0
iso.3.6.1.2.1.4.21.1.2.10.20.7.0 = INTEGER: 1
iso.3.6.1.2.1.4.21.1.3.10.20.7.0 = INTEGER: 0
iso.3.6.1.2.1.4.21.1.4.10.20.7.0 = INTEGER: -1
iso.3.6.1.2.1.4.21.1.5.10.20.7.0 = INTEGER: -1

....

Re: Problem with netdiscovery Epson printer

#fusioninventory-netdiscovery  --debug --first 10.20.7.44 --last 10.20.7.45 --control

<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <AGENTVERSION>2.4-2</AGENTVERSION>
      <START>1</START>
    </AGENT>
    <MODULEVERSION>2.6</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug] scanning block 10.20.7.44-10.20.7.45
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <NBIP>2</NBIP>
    </AGENT>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug] creating 1 worker threads
[debug] [thread 1] creation
[debug] [thread 1] scanning 10.20.7.44:
[debug] full match for sysobjectID .1.3.6.1.4.1.1248.1.1.2.1.3.7.65.76.45.77.51.48.48 in database
[debug] [thread 1] - scanning 10.20.7.44 with SNMP, credentials 1: success
[debug] [thread 1] - scanning 10.20.7.44 with netbios: no result
[debug] [thread 1] - scanning 10.20.7.44 with nmap: no result
[debug] [thread 1] scanning 10.20.7.45:
[debug] full match for sysobjectID .1.3.6.1.4.1.1248.1.1.2.1.3.7.65.76.45.77.51.48.48 in database
[debug] [thread 1] - scanning 10.20.7.45 with SNMP, credentials 1: success
[debug] [thread 1] - scanning 10.20.7.45 with netbios: no result
[debug] [thread 1] - scanning 10.20.7.45 with nmap: no result
[debug] [thread 1] termination
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <END>1</END>
    </AGENT>
    <MODULEVERSION>2.6</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug] cleaning 1 worker threads
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <AGENT>
      <END>1</END>
    </AGENT>
    <MODULEVERSION>2.6</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>

Re: Problem with netdiscovery Epson printer

# fusioninventory-netinventory --host 10.20.7.45 --credentials version:1 --community "community" --debug
[debug] creating 1 worker threads
[debug] [thread 1] creation
[debug] [thread 1] scanning 0
[debug] full match for sysobjectID .1.3.6.1.4.1.1248.1.1.2.1.3.7.65.76.45.77.51.48.48 in database
[error] [thread 1] invalid module name 'FusionInventory::Agent::Tools::Hardware::AL-M300DN' at /usr/share/fusioninventory/lib/FusionInventory/Agent/Tools.pm line 518 thread 1.
[debug] [thread 1] termination
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <DEVICE>
      <ERROR>
        <ID>0</ID>
        <MESSAGE>invalid module name &apos;FusionInventory::Agent::Tools::Hardware::AL-M300DN&apos; at /usr/share/fusioninventory/lib/FusionInventory/Agent/Tools.pm line 518 thread 1.</MESSAGE>
        <TYPE /></ERROR>
    </DEVICE>
    <MODULEVERSION>2.6</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>SNMPQUERY</QUERY>
</REQUEST>
[debug] cleaning 1 worker threads

Re: Problem with netdiscovery Epson printer

Hi michal.moro,

I see the error "invalid module name 'FusionInventory::Agent::Tools::Hardware::AL-M300DN' at /usr/share/fusioninventory/lib/FusionInventory/Agent/Tools.pm line 518 thread 1.". This means you tried to add some code and it would be hard to help you if you don't share what you modified.

Also, I see you walks are truncated. We can't test them as they miss the private OIDs part.

By the way, I just added you sysobjectid for Epson AL-M300DN, see this sysobject.ids commit.