Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Question about Net-SNMP IF-MIB on HP-UX 11.31

85 views
Skip to first unread message

Hackley, Brian (Customer Solution Center - Unix Network L2 Support)

unread,
Jun 13, 2013, 5:24:08 PM6/13/13
to

Hi all,

 

I am in HP-UX Support and occasionally we get asked “Why doesn’t the HP-UX Emanate” SNMP Agent do XXXX?   Often, the Network Managers are looking for Host Resources data and we provide them with a link to the Net-SNMP “Internet Express” download site of the Build that HP updates on a fairly regular basis.  https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1131

 

 

A few months back, one of our customers asked why Emanate didn’t return ifXtable data.  We checked with the Emanate Agent Engineer, and they said, the Agent supplied with the OpenView Network Node Manager provides it, (extra money for customer).  But the base Emanate Agent supplied with the OS does not.  Submitted enhancement request, which is gathering dust.   This week another customer asked a similar question, which was why weren’t we reporting the 10Gig Interface speed correctly when he looks at an HPUX Agent with SolarWinds.

 

I checked the latest Net-SNMP 5.7.2 from the HP Download site, and it does not return ifXtable data in IF-MIB either. A walk agains ifSpeed on Emanate and on Net-SNMP is the same:

 

IF-MIB::ifSpeed.1 = Gauge32: 1000000000

IF-MIB::ifSpeed.2 = Gauge32: 1000000000

IF-MIB::ifSpeed.3 = Gauge32: 1000000000

IF-MIB::ifSpeed.4 = Gauge32: 1000000000

IF-MIB::ifSpeed.5 = Gauge32: 4294967295 << This appears by design / see below

IF-MIB::ifSpeed.6 = Gauge32: 4294967295 <<

IF-MIB::ifSpeed.7 = Gauge32: 1000000000

IF-MIB::ifSpeed.8 = Gauge32: 1000000000

IF-MIB::ifSpeed.9 = Gauge32: 1000000000

 

 

crete # snmpbulkwalk -v 2c -c public  -Cc -t 10 crete:163 ifHighSpeed

IF-MIB::ifHighSpeed = No Such Object available on this agent at this OID

crete # snmpbulkwalk -v 2c -c public  -Cc -t 10 crete:161 ifHighSpeed

IF-MIB::ifHighSpeed = No Such Object available on this agent at this OID

 

Given a tip while investing this issue, I looked in the Net-SNMP and found this file:  /opt/iexpress/net-snmp/share/snmp/mibs/ IF-MIB.txt

 

ifSpeed OBJECT-TYPE

    SYNTAX      Gauge32

    MAX-ACCESS  read-only

    STATUS      current

    DESCRIPTION

            "An estimate of the interface's current bandwidth in bits

            per second.  For interfaces which do not vary in bandwidth

            or for those where no accurate estimation can be made, this

            object should contain the nominal bandwidth.  If the

            bandwidth of the interface is greater than the maximum value

            reportable by this object then this object should report its

            maximum value (4,294,967,295) and ifHighSpeed must be used

            to report the interace's speed.  For a sub-layer which has

            no concept of bandwidth, this object should be zero."

    ::= { ifEntry 5 }

 

 

ifHighSpeed OBJECT-TYPE

   SYNTAX      Gauge32

    MAX-ACCESS  read-only

    STATUS      current

    DESCRIPTION

            "An estimate of the interface's current bandwidth in units

            of 1,000,000 bits per second.  If this object reports a

            value of `n' then the speed of the interface is somewhere in

            the range of `n-500,000' to `n+499,999'.  For interfaces

            which do not vary in bandwidth or for those where no

            accurate estimation can be made, this object should contain

            the nominal bandwidth.  For a sub-layer which has no concept

            of bandwidth, this object should be zero."

    ::= { ifXEntry 15 }

 

I have not opened up the source to go through it.  Being a support guy, it appears a daunting task to research completely on my own, and I figured to ask you guys for help. 

 

Can you please help me understand how  Net-SNMP gets IF-MIB data on HP-UX, and offer any suggestions or clues on how to get the ifXtable data populated in the IF-MIB  on HP-UX Systems???    

 

Thank you VERY much for your help,

 

Brian E. Hackley

Unix Network Support Engineer
Hewlett-Packard Company

brian....@hp.com / E-Mail

7am-5pm EDT (GMT-4) Mon-Fri / Working Hours

Mark Bailey / Manager

mba...@hp.com / Manager E-mail

 

0 new messages