Hello inet-admins@info.east.ru,
Дано:
catalyst 1912, mrtg 2.8.12
./cfgmaker public@1.2.3.4 >>catalyst.cfg
[ вместо 1.2.3.4 подставить реальный адрес по вкусу ]
Все хорошо, ошибок нет.
как написано в "Catalyst 1900 Series Installation and Configuration Guide",
берем MIBы:
ftp://ftp.cisco.com/pub/mibs/supportlists/wsc1900/wsc1900-supportlist.html
BRIDGE-MIB.my
CISCO-CDP-MIB-V1SMI.my
CISCO-CLUSTER-MIB.my
CISCO-PAGP-MIB.my
CISCO-SMI-V1SMI.my
CISCO-STP-EXTENSIONS-MIB.my
CISCO-TC-V1SMI.my
CISCO-VTP-MIB.my
CISCO-VLAN-MEMBERSHIP-MIB.my
ESSWITCH-MIB.my
RFC1213-MIB.my
RMON-MIB.my
RS-232-MIB-V1SMI.my
подключаем их.
./mrtg catalyst.cfg
получаем:
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.10.37)
SNMPv1_Session (remote host: "1.2.3.4" [1.2.3.4].161
community: "public"
request ID: 1788695549
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPGET Problem for ifInOctets.37 ifOutOctets.37 sysUptime sysName ifDescr.37 on
public@1.2.3.4
SNMPGET: Failed to reach target: "37:public@1.2.3.4". I tried multiple times
! public@1.2.3.4
Смотрим в catalyst.cfg:
Target[1.2.3.4.37]: 37:public@1.2.3.4
MaxBytes[1.2.3.4.37]: 12500000
Title[1.2.3.4.37]: catalyst.domain.org (No hostname defined for IP
address):CPU
PageTop[1.2.3.4.37]: <H1>Traffic Analysis for CPU
</H1>
<TABLE>
<TR><TD>System:</TD><TD>catalyst.domain.org </TD></TR>
<TR><TD>Maintainer:</TD><TD>Joe Dohn</TD></TR>
<TR><TD>Interface:</TD><TD>CPU (37)</TD></TR>
<TR><TD>IP:</TD><TD>No hostname defined for IP address (1.2.3.4)</TD></TR>
<TR><TD>Max Speed:</TD>
<TD>12.5 MBytes/s (ethernetCsmacd)</TD></TR>
</TABLE>
смотрим в mibhelp.txt:
Descriptor: ifInOctets
Identifier: 1.3.6.1.2.1.2.2.1.10
ASN.1 Syntax: Counter32
The total number of octets received on the
interface, including framing characters.
простите, но какое отношение к CPU имеет "The total number of octets
received on the interface, including framing characters" ?
для интереса был взят mrtg/contrib/cfgmaker.cisco, но ругань на
"Received SNMP response with error code error status: noSuchName" не
пропала.
смотрим snmpwalkом:
interfaces.ifTable.ifEntry.ifDescr.37 = CPU
interfaces.ifTable.ifEntry.ifInOctets.1....36
ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.37 = CPU
тогда, получается, что описание для CPU есть, а с цифирками - обломитесь,
господа? и что делать? закомментарить и забыть? что-то где-то поправить?
спасибо,
--
Sunday, April 16, 2000,
18:34
Best regards from future,
Martin McFlySr, HillDale.
=============================================================================
"inet-admins" Internet access mailing list. Maintained by East Connection ISP.
Mail "unsubscribe inet-admins" to Majordomo@info.east.ru if you want to quit.
Archive is accessible on http://info.east.ru/rus/inetadm.html