[Fusioninventory-devel] Problem with SNMP/CDP oid in last stable version of agent

David DURIEUX d.durieux at siprossii.com
Fri Feb 14 10:51:25 UTC 2014


I have a problem with function _getConnectedDevicesInfoCDP in
FusionInventory::Agent::Tools::Hardware;

In my case :

    my $cdpCacheAddress    = $snmp->walk(
        $model->{oids}->{cdpCacheAddress}    ||
    '.1.3.6.1.4.1.9.9.23.1.2.1.1.4' );

return undefined;

if I use 

    my $cdpCacheAddress    = $snmp->walk(
        $model->{oids}->{cdpCacheAddress}    ||
    '.1.3.6.1.4.1.9.9.23.1.2.1.1' );

it return 

$VAR1 = {
          '8.10105.34' => 'cisco WS-C2950G-48-EI',
          '6.10107.8' => 'WLC5508-1',
          '7.10112.37' => 'GigabitEthernet1/4',
          '3.10107.8' => 1,
          '9.10107.8' => '0x00000010',
          '4.10101.35' => '0xc0a82905',
          '12.10101.35' => 3,
          '24.10112.37' => '294 days, 13:37:45.97',
          '11.10107.8' => 0,
          '3.10105.34' => 1,
          '3.10112.37' => 1,
          '10.10101.35' => 'hide',
          '9.10110.43' => '(',
          '9.10112.37' => ')',
          '4.10110.43' => '0xc0a82919',
          '11.10110.43' => 1,
          '10.10112.37' => 'hide',
          '6.10101.35' => 'c2960-EPCS-BUS.hide.fr',
          '7.10105.34' => 'GigabitEthernet0/2',
          '12.10107.8' => 3,

so we have right '4.10101.35' so why when
query .1.3.6.1.4.1.9.9.23.1.2.1.1.4 it not find '10101.35'?


I have no idea about this problem/bug. Perhaps Guillaume you have a
solution

David
++



More information about the Fusioninventory-devel mailing list