0c06 = 3078
73b6 = 29622
5e81 = 24193
etc...etc...etc...

unsigned long = 32 bits  with a value range of 0-4294967295


fyi....

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lars Gaarden
Sent: Monday, July 14, 2003 3:35
To: [EMAIL PROTECTED]
Subject: Re: [smartBridges] SNMP


Marcin Żelaznowski wrote:
> How to decode this information from snmp query (ethernet rx) :
>
> snmpget ip_address community .1.3.6.1.4.1.410.1.1.7.1.0
>
> enterprises.410.1.1.7.1.0 =  Hex: 0C 06 73 B6 5E 81 51 01 00 00 00 00 6F
00 00 00
> 4D C0 05 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Take a look at the .mib file in the simpleMonitor install directory.

EthRxStatistics OBJECT-TYPE
                SYNTAX OCTET STRING (SIZE (64))
                ACCESS read-only
                STATUS mandatory
                DESCRIPTION
                "Ethernet Rx Statistics
                EthernetRxStatistics{
                        unsigned long   TotalBytesRx;
                        unsigned long   TotalPacketsRx;
                        unsigned long   PacketCRCErrorRx;
                        unsigned long   MulticastPacketRx;
                        unsigned long   BroadcastPacketRx;
                        unsigned long   ControlFramesRx;
                        unsigned long   PauseFramesRx;
                        unsigned long   UnknownOPCodeRx;
                        unsigned long   AlignmentRxError;
                        unsigned long   LengthOutOfRangeRx;
                        unsigned long   CodeErrorRx;
                        unsigned long   FalseCarrierRx;
                        unsigned long   UndersizePacketsRx;
                        unsigned long   OversizePacketsRx;
                        unsigned long   TotalFragmentsRx;
                        unsigned long   TotalJabberRx;
                }"
                ::= {EthStatisticsGRP 1 }

EthTxStatistics OBJECT-TYPE
                SYNTAX OCTET STRING (SIZE (56))
                ACCESS read-only
                STATUS mandatory
                DESCRIPTION
                "Ethernet Tx Statistics
                EthernetTxStatistics{
                        unsigned long   TotalBytesTx;
                        unsigned long   TotalPacketsTx;
                        unsigned long   PacketCRCErrorTx;
                        unsigned long   MulticastPacketTx;
                        unsigned long   BroadcastPacketTx;
                        unsigned long   UnicastPacketTx;
                        unsigned long   PauseFramesTx;
                        unsigned long   SingleDeferPacketTx;
                        unsigned long   MultiDeferPacketsTx;
                        unsigned long   SingleCollisionsTx;
                        unsigned long   MultiCollisionsTx;
                        unsigned long   LateCollisionsTx;
                        unsigned long   ExcessiveCollisionTx;
                        unsigned long   TotalCollisionsTx;
                }"

                ::= {EthStatisticsGRP 2 }

--
LarsG

The PART-15.ORG smartBridges Discussion List
To Join: mailto:[EMAIL PROTECTED] (in the body type subscribe
smartBridges <yournickname>
To Remove: mailto:[EMAIL PROTECTED] (in the body type unsubscribe
smartBridges)
Archives: http://archives.part-15.org

The PART-15.ORG smartBridges Discussion List
To Join: mailto:[EMAIL PROTECTED] (in the body type subscribe smartBridges 
<yournickname>
To Remove: mailto:[EMAIL PROTECTED] (in the body type unsubscribe smartBridges)
Archives: http://archives.part-15.org  

Reply via email to