Re: [mrtg] Monitoring trunk info on brocades

This is a discussion on Re: [mrtg] Monitoring trunk info on brocades within the MRTG forums, part of the Networking and Network Related category; Thanks for the feedback. I'm new to MRTG and still have a bit of a learnin= g curve. The ...


Go Back   Usenet Forums > Networking and Network Related > MRTG

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-21-2008
Barton Wold
 
Posts: n/a
Default Re: [mrtg] Monitoring trunk info on brocades

Thanks for the feedback. I'm new to MRTG and still have a bit of a learnin=
g curve. The output of the snmpwalk command is in hex, like:

bcsi.commDev.fibrechannel.fcSwitch.sw.swTrunk.swTr unkGrpTable.swTrunkGrpEnt=
ry.swTrunkGrpRx.1 : OCTET STRING- (hex): length =3D 8
0: 00 00 00 01 d1 ab 4c 8b -- -- -- -- -- -- -- -- ......L.......=
...
bcsi.commDev.fibrechannel.fcSwitch.sw.swTrunk.swTr unkGrpTable.swTrunkGrpEnt=
ry.swTrunkGrpRx.2 : OCTET STRING- (hex): length =3D 8
0: 00 00 00 00 00 00 1f ec -- -- -- -- -- -- -- -- ..............=
...

I am thinking that I need to use the ConversionCode parameter and convert t=
he hex input string into an integer. But I'm having a problem figuring thi=
s out. When I try to display the input string using a simple conversion co=
de:

sub Hex2Dec {
my $hex =3D $_[0];
print "HEX: $hex\n";
}

The output of the mrtg command is:

HEX: =A8=FA-
HEX: |=D0

I obviously can't parse this. Not surprisingly, the output string using a =
different OID that is working shows integer values in the output. So what =
am I missing? Is there a parameter I need to pass to the mrtg.cfg file?

-----Original Message-----
From: Daniel J McDonald [mailto:dan.mcdonald@austinenergy.com]
Sent: Thursday, April 17, 2008 4:23 PM
To: Barton Wold
Subject: Re: [mrtg] Monitoring trunk info on brocades

On Thu, 2008-04-17 at 14:57 -0500, Barton Wold wrote:
> I have recently setup snmp monitoring via MRTG to graph the read/write
> I/O on my brocade 48k and 24k. However, now I would like to use the
> SNMP OID for swTrunkGrpTx and swTrunkGrpRx so I can gather info on
> trunk throughput. I get successful output from the snmpwalk command,
> but MRTG fails with:
>


You probably need to append an instance. If it works with *snmpget*, then =
it will work with mrtg.



--
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX Austin Energy http://www.a=
ustinenergy.com

_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:15 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0