[mrtg] Description: 3Com SuperStack 4 Switch 5500-SI 28-Port Software Version 3Com OS V3.01.04s56

hanspeter schlapbach hanspeter.schlapbach at sofim.com
Wed Aug 16 17:11:09 MEST 2006


hello
we use mrtg with  a
  3Com SuperStack 4 Switch 5500-SI
  28-Port Software Version 3Com OS V3.01.04s56


# /usr/bin/cfgmaker
  --global 'WorkDir: /srv/www/htdocs/bastel/mrtg'
  --global 'Options[_]: growright,bits'
  --ifref=name
  --ifdesc=alias
  --show-op-down
  --no-down
  --zero-speed=12500000
  --if-filter=$if_is_ethernet
  public@<ip-adr>:::::2



nearly all is fine, but:
  mrtg does not read out the ifAlias
(so we had to adapt mrtg.cfg, which makes us so deeply sad)



we can read it out with snmpwalk and snmpget

snmpwalk -v 1 -c public 195.49.21.198  mib
...
IF-MIB::ifAlias.4227614 = STRING:  Aux1/0/0 Interface
IF-MIB::ifAlias.4227626 = STRING: 01 - centeractive
IF-MIB::ifAlias.4227634 = STRING: 02 - innobe (mehrzweckraum 1)
IF-MIB::ifAlias.4227642 = STRING: 03 - innobe (auditorium)
IF-MIB::ifAlias.4227650 = STRING: 04 - innobe (mehrzweckraum 2)
IF-MIB::ifAlias.4227658 = STRING: 05 - pageUp (walter systems)
IF-MIB::ifAlias.4227666 = STRING: 06 - sofim
IF-MIB::ifAlias.4227674 = STRING: 07 - pcsa
IF-MIB::ifAlias.4227682 = STRING: 08 - topal solutions
IF-MIB::ifAlias.4227690 = STRING: 09 - icm
IF-MIB::ifAlias.4227698 = STRING: 10 - comsol
IF-MIB::ifAlias.4227706 = STRING: 11 - dahinden gmbh
IF-MIB::ifAlias.4227714 = STRING: 12 - inforga
IF-MIB::ifAlias.4227722 = STRING: 13 - global online
IF-MIB::ifAlias.4227730 = STRING:
IF-MIB::ifAlias.4227738 = STRING:
IF-MIB::ifAlias.4227746 = STRING:
IF-MIB::ifAlias.4227754 = STRING:
IF-MIB::ifAlias.4227762 = STRING:
IF-MIB::ifAlias.4227770 = STRING:
IF-MIB::ifAlias.4227778 = STRING:
IF-MIB::ifAlias.4227786 = STRING:
IF-MIB::ifAlias.4227794 = STRING:
IF-MIB::ifAlias.4227802 = STRING:
IF-MIB::ifAlias.4227810 = STRING: 24 - * internet port *
IF-MIB::ifAlias.4227817 = STRING:
IF-MIB::ifAlias.4227825 = STRING:
IF-MIB::ifAlias.4227833 = STRING:
IF-MIB::ifAlias.4227841 = STRING:
...


snmpget -v 1 -c public 195.49.21.198 IF-MIB::ifAlias.4227626
IF-MIB::ifAlias.4227626 = STRING: 01 - centeractive


snmpwalk -O n -v 1 -c public 195.49.21.198  mib
...
.1.3.6.1.2.1.31.1.1.1.18.14 = STRING:  NULL0 Interface
.1.3.6.1.2.1.31.1.1.1.18.16 = STRING:  InLoopBack0 Interface
.1.3.6.1.2.1.31.1.1.1.18.31 = STRING:  Vlan-interface1 Interface
.1.3.6.1.2.1.31.1.1.1.18.4227614 = STRING:  Aux1/0/0 Interface
.1.3.6.1.2.1.31.1.1.1.18.4227626 = STRING: 01 - centeractive
.1.3.6.1.2.1.31.1.1.1.18.4227634 = STRING: 02 - innobe (mehrzweckraum 1)
.1.3.6.1.2.1.31.1.1.1.18.4227642 = STRING: 03 - innobe (auditorium)
.1.3.6.1.2.1.31.1.1.1.18.4227650 = STRING: 04 - innobe (mehrzweckraum 2)
.1.3.6.1.2.1.31.1.1.1.18.4227658 = STRING: 05 - pageUp (walter systems)
.1.3.6.1.2.1.31.1.1.1.18.4227666 = STRING: 06 - sofim
.1.3.6.1.2.1.31.1.1.1.18.4227674 = STRING: 07 - pcsa
.1.3.6.1.2.1.31.1.1.1.18.4227682 = STRING: 08 - topal solutions
.1.3.6.1.2.1.31.1.1.1.18.4227690 = STRING: 09 - icm
.1.3.6.1.2.1.31.1.1.1.18.4227698 = STRING: 10 - comsol
.1.3.6.1.2.1.31.1.1.1.18.4227706 = STRING: 11 - dahinden gmbh
.1.3.6.1.2.1.31.1.1.1.18.4227714 = STRING: 12 - inforga
.1.3.6.1.2.1.31.1.1.1.18.4227722 = STRING: 13 - global online
.1.3.6.1.2.1.31.1.1.1.18.4227730 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227738 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227746 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227754 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227762 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227770 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227778 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227786 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227794 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227802 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227810 = STRING: 24 - * internet port *
.1.3.6.1.2.1.31.1.1.1.18.4227817 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227825 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227833 = STRING:
.1.3.6.1.2.1.31.1.1.1.18.4227841 = STRING:
.1.3.6.1.2.1.31.1.4.1.2.4227626.6.0.0.0.0.0.0 = INTEGER: active(1)
...

do you have any tips / hints about this?

greetings
hanspeter schlapbach


-- Attached file removed by Ecartis and put at URL below --
-- Type: text/x-vcard
-- Size: 329 bytes
-- URL : http://lists.ee.ethz.ch/p/04-hanspeter.schlapbach.vcf


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list