[mrtg] Re: CPU monitoring on Xylan switch....again.

Jeff Meisner jeff at meisner.com
Wed Mar 15 13:28:50 MET 2000


Unfortunately, the Xylan CPU Utilization is an OCTET STRING, and MRTG cannot
interpret this properly
I had to write a small perl script to do extract the values from the octet
string and then feed it to MRTG.



-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Sevald-Olaf.Lund at gjensidige.no
Sent: Wednesday, March 15, 2000 2:14 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] CPU monitoring on Xylan switch....again.


Hi !
Well here I go again:
I am trying to get somthing usefull out of this mibstring :
The switch is a omniswitch5.

.iso.org.dod.internet.private.enterprises.xylan.xylanArch.xylanHealthArch.he
althDeviceInfo.healthDeviceCpuData

Device-level cpu utilization information.
       Octet 0: average cpu #1 utilization over the latest sample period
(percent)
       Octet 1: average cpu #1 utilization over the latest minute (percent)
       Octet 2: average cpu #1 utilization over the latest hour (percent)
       Octet 3: maximum cpu #1 utilization over the latest hour (percent)
       Octet 4: average cpu #2 utilization over the latest sample period
(percent)
       Octet 5: average cpu #2 utilization over the latest minute (percent)
       Octet 6: average cpu #2 utilization over the latest hour (percent)
       Octet 7: maximum cpu #2 utilization over the latest hour (percent)
       Octet 8: average cpu #3 utilization over the latest sample period
(percent)
       Octet 9: average cpu #3 utilization over the latest minute (percent)
       Octet 10: average cpu #3 utilization over the latest hour (percent)
       Octet 11: maximum cpu #3 utilization over the latest hour (percent)
       Octet 12: average cpu #4 utilization over the latest sample period
(percent)
       Octet 13: average cpu #4 utilization over the latest minute
(percent)
       Octet 14: average cpu #4 utilization over the latest hour (percent)
       Octet 15: maximum cpu #4 utilization over the latest hour (percent).

>From Getif I get :
.iso.org.dod.internet.private.enterprises.xylan.xylanArch.xylanHealthArch.he
althDeviceInfo.healthDeviceCpuData.0

:1617181E000000000000000000000000

But no data are saved in the log file, what am I dooing wrong??

My .cfg file looks like this:

Target[router2.cpu]:1.3.6.1.4.1.800.2.18.1.15.0&1.3.6.1.4.1.800.2.18.1.11.0:
public at device
MaxBytes1[router2.cpu]:56000000
MaxBytes2[router2.cpu]:100

Title[router2.cpu]: Testswitch CPU Usage
PageTop[router2.cpu]: <H1> TestSwitch Free Memory and CPU Usage </H1>
WithPeak[router2.cpu]:w
YLegend[router2.cpu]: Memory/CPU
ShortLegend[router2.cpu]: %
Legend1[router2.cpu]: Bytes of Free Memory
Legend2[router2.cpu]: Percent of CPU Usage
Legend3[router2.cpu]: Maximal 5 Minute Free Memory
Legend4[router2.cpu]: Maximal 5 Minute CPU Usage
LegendI[router2.cpu]: &nbsp;Memory:
LegendO[router2.cpu]: &nbsp;CPU:
#Supress[router2.cpu]: y
Options[router2.cpu]: absolute, gauge

I have tied many different option settings

-Sevald Lund...going silly :)

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list