[mrtg] Cisco Airnet and ODIs
Matthew L. Mandalek
mandalek at 4desertwireless.net
Tue Jun 10 15:08:02 MEST 2003
This is my first attempt at using OIDs for monitoring, so please bare with me...
The following is a .cfg for a Cisco Aironet 340 bridge, the first four items work, but the last two do not. Also, I am not sure that I have the TARGET line setup correctly as I am using the same OID for both entries.
RunAsDaemon: yes
Options[_]: bits
Refresh: 500
Interval: 5
WorkDir: C:\inetpub\wwwroot\mrtg\
ThreshDir: C:\inetpub\wwwroot\mrtg\Thresholds
AddHead[^]: \n<meta name="Microsoft Theme" content="corporat 1111, default">\n<meta name="Microsoft Border" content="l, default">
# PortolaIndio
# Round Trip Ping Test
Directory[PortolaIndio.pingtest]: test\PortolaIndio
SetEnv[PortolaIndio.pingtest]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="PortolaIndio"
Target[PortolaIndio.pingtest]: `perl c:\mrtg\scripts\pingp-210\mrtg-ping-probe 10.0.0.3`
Title[PortolaIndio.pingtest]: Round Trip Ping Time Analysis for PortolaIndio
PageTop[PortolaIndio.pingtest]: <H1>Round Trip Ping Time Analysis for PortolaIndio</H1>
AddHead[PortolaIndio.pingtest]:
MaxBytes[PortolaIndio.pingtest]: 180
AbsMax[PortolaIndio.pingtest]: 10000
WithPeak[PortolaIndio.pingtest]: ymwd
Options[PortolaIndio.pingtest]: gauge
YLegend[PortolaIndio.pingtest]: round trip time
ShortLegend[PortolaIndio.pingtest]: ms
Legend1[PortolaIndio.pingtest]: Maximum Round Trip Time in ms
Legend2[PortolaIndio.pingtest]: Minimum Round Trip Time in ms
Legend3[PortolaIndio.pingtest]: Maximal 5 Minute Maximum Round Trip Time in ms
Legend4[PortolaIndio.pingtest]: Maximal 5 Minute Minimum Round Trip Time in ms
LegendI[PortolaIndio.pingtest]: Max:
LegendO[PortolaIndio.pingtest]: Min:
# Packet Loss Test
Directory[PortolaIndio.packetloss]: test\PortolaIndio
SetEnv[PortolaIndio.packetloss]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="PortolaIndio"
Target[PortolaIndio.packetloss]: `perl c:\mrtg\scripts\pingp-210\mrtg-ping-probe -t 42 -p loss/loss 10.0.0.3`
Title[PortolaIndio.packetloss]: Packet Loss Analysis for PortolaIndio
PageTop[PortolaIndio.packetloss]: <H1>Packet Loss Analysis for PortolaIndio</H1>
AddHead[PortolaIndio.packetloss]:
MaxBytes[PortolaIndio.packetloss]: 100
AbsMax[PortolaIndio.packetloss]: 101
WithPeak[PortolaIndio.packetloss]: ymwd
Options[PortolaIndio.packetloss]: gauge
Unscaled[PortolaIndio.packetloss]: dwmy
YLegend[PortolaIndio.packetloss]: % Packet Loss
ShortLegend[PortolaIndio.packetloss]: %
Legend1[PortolaIndio.packetloss]: % Packet Loss
Legend2[PortolaIndio.packetloss]: % Packet Loss
Legend3[PortolaIndio.packetloss]: Maximal 5 Minute % Packet Loss
Legend4[PortolaIndio.packetloss]: Maximal 5 Minute % Packet Loss
LegendI[PortolaIndio.packetloss]: % loss:
LegendO[PortolaIndio.packetloss]: % loss:
# Radio Traffic Test
Directory[PortolaIndio.radiotraffic]: test\PortolaIndio
Target[PortolaIndio.radiotraffic]: 1:public at 10.0.0.3:
SetEnv[PortolaIndio.radiotraffic]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="PortolaIndio - Radio"
MaxBytes[PortolaIndio.radiotraffic]: 1250000
Title[PortolaIndio.radiotraffic]: Radio Traffic Analysis for PortolaIndio - Radio
PageTop[PortolaIndio.radiotraffic]: <H1>Radio Traffic Analysis for PortolaIndio - Radio</H1>
AddHead[PortolaIndio.radiotraffic]:
# Ethernet Traffic Test
Directory[PortolaIndio.ethernettraffic]: test\PortolaIndio
Target[PortolaIndio.ethernettraffic]: 2:public at 10.0.0.3:
SetEnv[PortolaIndio.ethernettraffic]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="PortolaIndio - Ethernet"
MaxBytes[PortolaIndio.ethernettraffic]: 1250000
Title[PortolaIndio.ethernettraffic]: Ethernet Traffic Analysis for PortolaIndio - Ethernet
PageTop[PortolaIndio.ethernettraffic]: <H1>Ethernet Traffic Analysis for PortolaIndio - Ethernet</H1>
AddHead[PortolaIndio.ethernettraffic]:
# Receive Strenght
Directory[PortolaIndio.strenght]: test\PortolaIndio
Target[PortolaIndio.strenght]: 1.3.6.1.4.1.522.3.12.5.1.9&1.3.6.1.4.1.522.3.12.5.1.9:public at 10.0.0.3
Options[PortolaIndio.strenght]: growright, gauge
WithPeak[PortolaIndio.strenght]: ymwd
YLegend[PortolaIndio.strenght]: Receive Strength
MaxBytes[PortolaIndio.strenght]: 100
LegendI[PortolaIndio.strenght]: Strength:
LegendO[PortolaIndio.strenght]: Strength:
Title[PortolaIndio.strenght]: Receive Strength for PortolaIndio
Legend1[PortolaIndio.strenght]: Strenght
Legend2[PortolaIndio.strenght]: Strenght
Legend3[PortolaIndio.strenght]: Maximal Strenght
Legend4[PortolaIndio.strenght]: Maximal Strenght
ShortLegend[PortolaIndio.strenght]: %
Suppress[PortolaIndio.strenght]: y
PageTop[PortolaIndio.strenght]: <H1>Receive Strenght for PortolaIndio</H1>
AddHead[PortolaIndio.strenght]:
# Receive Quality
Directory[PortolaIndio.Quality]: test\PortolaIndio
Target[PortolaIndio.Quality]: 1.3.6.1.4.1.522.3.12.5.1.10&1.3.6.1.4.1.522.3.12.5.1.10:public at 10.0.0.3
Options[PortolaIndio.Quality]: growright, gauge
WithPeak[PortolaIndio.Quality]: ymwd
YLegend[PortolaIndio.Quality]: Receive Quality
MaxBytes[PortolaIndio.Quality]: 100
LegendI[PortolaIndio.Quality]: Quality:
LegendO[PortolaIndio.Quality]: Quality:
Title[PortolaIndio.Quality]: Receive Quality for PortolaIndio
Legend1[PortolaIndio.Quality]: Receive Quality
Legend2[PortolaIndio.Quality]: Receive Quality
Legend3[PortolaIndio.Quality]: Maximal Receive
Legend4[PortolaIndio.Quality]: Maximal Receive
ShortLegend[PortolaIndio.Quality]: %
Suppress[PortolaIndio.Quality]: y
PageTop[PortolaIndio.Quality]: <H1>Receive Quality for PortolaIndio</H1>
AddHead[PortolaIndio.Quality]:
Here are the errors I receive:
Daemonizing MRTG ...
Do Not close this window. Or MRTG will die
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.522.3.12.5.1.9)
SNMPv1_Session (remote host: "10.0.0.3" [10.0.0.3].161)
community: "public"
request ID: -1924755671
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 458
SNMPGET Problem for 1.3.6.1.4.1.522.3.12.5.1.9 1.3.6.1.4.1.522.3.12.5.1.9 sysUpt
ime sysName on public at 10.0.0.3
at mrtg.pl line 1678
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.522.3.12.5.1.10)
SNMPv1_Session (remote host: "10.0.0.3" [10.0.0.3].161)
community: "public"
request ID: -1924755670
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 458
SNMPGET Problem for 1.3.6.1.4.1.522.3.12.5.1.10 1.3.6.1.4.1.522.3.12.5.1.10 sysU
ptime sysName on public at 10.0.0.3
at mrtg.pl line 1678
ERROR: Target[portolaindio.strenght][_IN_] ' $$target[4]{$mode} ' did not eval i
nto defined data
ERROR: Target[portolaindio.strenght][_OUT_] ' $$target[4]{$mode} ' did not eval
into defined data
WARNING: Skipping Update of portolaindio.strenght, inlast is not defined
WARNING: Skipping Update of portolaindio.strenght, outlast is not defined
ERROR: Target[portolaindio.quality][_IN_] ' $$target[5]{$mode} ' did not eval in
to defined data
ERROR: Target[portolaindio.quality][_OUT_] ' $$target[5]{$mode} ' did not eval i
nto defined data
WARNING: Skipping Update of portolaindio.quality, inlast is not defined
WARNING: Skipping Update of portolaindio.quality, outlast is not defined
Any help with fixing these erros is greatly appreciated. I got the OID from http://www.mibdepot.com/cgi-bin/xsearch_index3.cgi?id=2333
Thanks
Matt
<<Matthew Mandalek (E-mail).vcf>>
-- Attached file removed by Ecartis and put at URL below --
-- Type: text/x-vcard
-- Desc: Matthew Mandalek (E-mail).vcf
-- Size: 1k (1840 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/06-Matthew%20Mandalek%20(E-mail).vc
--
Unsubscribe mailto:mrtg-request at 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
More information about the mrtg
mailing list