I went to my port on the switch 5/33, and found it to have an interface index of
88.
So I used 88: (I saw that the MRTG.CFG can use external MIB files, do I need to
include one?)
--------------------------MRTG GFC file
------------------------------------------
Target[158.68.91.129.88]: 88:public@158.68.91.129
MaxBytes[158.68.91.129.88]: 1250000
Title[158.68.91.129.88]: Port 5/33 (Nick)
PageTop[158.68.91.129.88]:
Traffic Analysis for Port 5/33 (Nick)
System: | Cisco 6509 Switch on 5th Floor, Main CPU Room |
Maintainer: | Richard Weigel (503)952-6486 |
Interface: | Port 5/33 (Nick) (1) |
IP: | No hostname defined for IP address (158.68.205.254) | <
/TR>
Max Speed: |
1250.0 kBytes/s (ethernetCsmacd) |
-------------------------------- Output -------------------------
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.2.1.2.2.1.10.88)
SNMPv1_Session (remote host: "158.68.91.129" [158.68.91.129].161
community: "public"
request ID: 479997879
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
SNMPGET Problem for ifInOctets.88 ifOutOctets.88 sysUptime sysName ifDescr.88 on
public@158.68.91.129
SNMPGET: Failed to reach target: "88:public@158.68.91.129". I tried multiple tim
es! public@158.68.91.129
"Hahn, Michael {GY-O~Mannheim}" on 07/13/2000 11:17:32
PM
To: Nick Ellson/ORSO/OR/BLM/DOI@BLM,
mrtg@list.ee.ethz.ch
cc:
Subject: [mrtg] AW: Cisco 6500 switch port monitoring?
you do not have to use the oids. you can just use the interface index.
for example switch is "e-switch.x.com". with "sho port 1/1" you find out that
the interface-index of port 1/1 is 3, so the command would be:
target[e-switch]: 3:password@e-switch.x.com
or if to be seen as from the station on the port:
target[e-switch]: -3:password@e-switch.x.com
-----Urspr
-- Binary/unsupported file stripped by Listar --
-- Err : No filename to use for decode, file stripped.
-- Type: text/plain
--
Unsubscribe mailto:mrtg-request@list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi