[racktables-users] Re: Can't add HP switch for snmp-port-finding

  • From: "Christoph // 777-Systems N.V." <christoph@xxxxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Tue, 10 May 2011 02:58:59 -0500 (CDT)

Hello Alexey,

the output is the problem. I have tried with an other switch (HP 2810-48G), the 
output is different and the import of the ports works.

snmpwalk 10.x.x.x1 -v2c -c public ifDescr
IF-MIB::ifDescr.1 = STRING: 1
IF-MIB::ifDescr.2 = STRING: 2
IF-MIB::ifDescr.3 = STRING: 3
IF-MIB::ifDescr.4 = STRING: 4
IF-MIB::ifDescr.5 = STRING: 5
IF-MIB::ifDescr.6 = STRING: 6
IF-MIB::ifDescr.7 = STRING: 7
IF-MIB::ifDescr.8 = STRING: 8
IF-MIB::ifDescr.9 = STRING: 9
IF-MIB::ifDescr.10 = STRING: 10
IF-MIB::ifDescr.11 = STRING: 11
IF-MIB::ifDescr.12 = STRING: 12
IF-MIB::ifDescr.13 = STRING: 13
IF-MIB::ifDescr.14 = STRING: 14
IF-MIB::ifDescr.15 = STRING: 15
IF-MIB::ifDescr.16 = STRING: 16
IF-MIB::ifDescr.17 = STRING: 17
IF-MIB::ifDescr.18 = STRING: 18
IF-MIB::ifDescr.19 = STRING: 19
IF-MIB::ifDescr.20 = STRING: 20
IF-MIB::ifDescr.21 = STRING: 21
IF-MIB::ifDescr.22 = STRING: 22
IF-MIB::ifDescr.23 = STRING: 23
IF-MIB::ifDescr.24 = STRING: 24
IF-MIB::ifDescr.25 = STRING: 25
IF-MIB::ifDescr.26 = STRING: 26
IF-MIB::ifDescr.27 = STRING: 27
IF-MIB::ifDescr.28 = STRING: 28
IF-MIB::ifDescr.29 = STRING: 29
IF-MIB::ifDescr.30 = STRING: 30
IF-MIB::ifDescr.31 = STRING: 31
IF-MIB::ifDescr.32 = STRING: 32
IF-MIB::ifDescr.33 = STRING: 33
IF-MIB::ifDescr.34 = STRING: 34
IF-MIB::ifDescr.35 = STRING: 35
IF-MIB::ifDescr.36 = STRING: 36
IF-MIB::ifDescr.37 = STRING: 37
IF-MIB::ifDescr.38 = STRING: 38
IF-MIB::ifDescr.39 = STRING: 39
IF-MIB::ifDescr.40 = STRING: 40
IF-MIB::ifDescr.41 = STRING: 41
IF-MIB::ifDescr.42 = STRING: 42
IF-MIB::ifDescr.43 = STRING: 43
IF-MIB::ifDescr.44 = STRING: 44
IF-MIB::ifDescr.45 = STRING: 45
IF-MIB::ifDescr.46 = STRING: 46
IF-MIB::ifDescr.47 = STRING: 47
IF-MIB::ifDescr.48 = STRING: 48
IF-MIB::ifDescr.97 = STRING: DEFAULT_VLAN
IF-MIB::ifDescr.4192 = STRING: HP ProCurve Switch software loopback interface


So long.
Christoph


----- Original Message -----
> From: "Christoph // 777-Systems N.V." <christoph@xxxxxxxxxxx>
> To: racktables-users@xxxxxxxxxxxxx
> Sent: Tuesday, May 10, 2011 9:26:11 AM
> Subject: [racktables-users] Re: Can't add HP switch for snmp-port-finding
> Hello Alexey,
> 
> the output of 'snmpwalk 10.x.x.x -v2c -c public ifDescr' :
> IF-MIB::ifDescr.1 = STRING: IP Interface
> IF-MIB::ifDescr.101 = STRING: Port #1
> IF-MIB::ifDescr.102 = STRING: Port #2
> IF-MIB::ifDescr.103 = STRING: Port #3
> IF-MIB::ifDescr.104 = STRING: Port #4
> IF-MIB::ifDescr.105 = STRING: Port #5
> IF-MIB::ifDescr.106 = STRING: Port #6
> IF-MIB::ifDescr.107 = STRING: Port #7
> IF-MIB::ifDescr.108 = STRING: Port #8
> IF-MIB::ifDescr.109 = STRING: Port #9
> IF-MIB::ifDescr.110 = STRING: Port #10
> IF-MIB::ifDescr.111 = STRING: Port #11
> IF-MIB::ifDescr.112 = STRING: Port #12
> IF-MIB::ifDescr.113 = STRING: Port #13
> IF-MIB::ifDescr.114 = STRING: Port #14
> IF-MIB::ifDescr.115 = STRING: Port #15
> IF-MIB::ifDescr.116 = STRING: Port #16
> IF-MIB::ifDescr.117 = STRING: Port #17
> IF-MIB::ifDescr.118 = STRING: Port #18
> IF-MIB::ifDescr.119 = STRING: Port #19
> IF-MIB::ifDescr.120 = STRING: Port #20
> IF-MIB::ifDescr.121 = STRING: Port #21
> IF-MIB::ifDescr.122 = STRING: Port #22
> IF-MIB::ifDescr.123 = STRING: Port #23
> IF-MIB::ifDescr.124 = STRING: Port #24
> 
> Seems okay to me.
> 
> So long.
> Christoph
> 
> ----- Original Message -----
> > From: "Alexey Andriyanov" <alan-74@xxxxxxx>
> > To: racktables-users@xxxxxxxxxxxxx
> > Cc: "Christoph // 777-Systems N.V." <christoph@xxxxxxxxxxx>
> > Sent: Monday, May 9, 2011 6:52:49 PM
> > Subject: Re: [racktables-users] Re: Can't add HP switch for
> > snmp-port-finding
> > What does return snmpwalk by ifDescr ?
> >
> > 09.05.2011 20:41, Christoph // 777-Systems N.V. пишет:
> > > Hello World,
> > >
> > > I disabled all HP Mibs and activated all default Mibs. Than I
> > > didn't
> > > get the error messages anymore, but there are still no ports on
> > > the
> > > port tab.
> > > Now I see 'SNMP: completed 'generic' work
> > > SNMP: completed 'procurve-generic' work
> > > SNMP: completed 'procurve-chassis-1000T' work' on the port tab,
> > > but
> > > no ports.
> > >
> > > Any idea? Thanks for your help.
> > >
> > > So long.
> > > Christoph
> > >
> > >
> > >
> > > ----- Original Message -----
> > >> From: "Christoph // 777-Systems N.V."<christoph@xxxxxxxxxxx>
> > >> To: racktables-users@xxxxxxxxxxxxx
> > >> Sent: Monday, May 9, 2011 5:00:46 PM
> > >> Subject: [racktables-users] Re: Can't add HP switch for
> > >> snmp-port-finding
> > >> I have turned off the OID translation in /etc/snmp/snmp.conf. Now
> > >> I
> > >> get 'Unknown OID 'OID: iso.3.6.1.4.1.11.2.3.7.11.65''.
> > >>
> > >> So long,
> > >>
> > >> Christoph
> > >>
> > >>
> > >> ----- Original Message -----
> > >>> From: "Alexey Andriyanov"<alan-74@xxxxxxx>
> > >>> To: racktables-users@xxxxxxxxxxxxx
> > >>> Cc: "Christoph // 777-Systems N.V."<christoph@xxxxxxxxxxx>
> > >>> Sent: Monday, May 9, 2011 4:27:15 PM
> > >>> Subject: Re: [racktables-users] Can't add HP switch for
> > >>> snmp-port-finding
> > >>> Hello Christoph.
> > >>>
> > >>> Racktables does not expect that OID will be returned translated.
> > >>> It
> > >>> is
> > >>> set numerically in the code, as you can see. So it compares
> > >>> 'HP-ICF-OID::hpSwitchJ9028A' with '11.2.3.7.11.65', and gets no
> > >>> luck.
> > >>>
> > >>> This certainly is a subject to fix, but for now you can get
> > >>> round
> > >>> of
> > >>> this by hiding HP's SNMP MIBs from RT installation somehow.
> > >>>
> > >>> 09.05.2011 18:13, Christoph // 777-Systems N.V. пишет:
> > >>>> Hello World,
> > >>>>
> > >>>> I have tried to add a HP J9028A 1800-24G switch to snmp.php,
> > >>>> but
> > >>>> I
> > >>>> still get an 'Unknown OID 'OID: HP-ICF-OID::hpSwitchJ9028A'' on
> > >>>> the
> > >>>> SNMP sync tab.
> > >>>>
> > >>>> I am using RackTables 0.19.4 and Ubuntu 11.04
> > >>>>
> > >>>> snmp.php:
> > >>>> 798a799,804
> > >>>>>         '11.2.3.7.11.65' => array
> > >>>>>         (
> > >>>>>                 'dict_key' => 850,
> > >>>>>                 'text' => 'J9028A: 24 RJ-45/10-100-1000T(X)',
> > >>>>>                 'processors' => array
> > >>>>>                 ('procurve-chassis-1000T'),
> > >>>>>         ),
> > >>>> Can someone give me a hint, what's wrong?
> > >>>> Thanks for your help, I am new to RackTables and a little lost
> > >>>> with
> > >>>> this problem.
> > >>>>
> > >>>> So long,
> > >>>> Christoph
> > >>>>
> > >>>>
> > >>>>
> > >

Other related posts: