Net-snmp 5.4.2.1/Solaris 5.10 w/ enable-mfd-rewrites: TCP-MIB scalar counters showing up as zero

"Tackabury, Wayne" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <F26A9AA488D81043AD772F8CF14370AF272E700A@triton.mii-us.mirrorimage.net>
Hi all:

So, when I write in anymore these days, it always seems to be about Solaris and the enable-mfd-rewrites build option.  I'll stay true to form again.

We've deployed (on non-zoned systems-see prior mail about other problems there)-a net-snmp 5.4.2.1 build using the enable-mfd-rewrites option to get 64-bit counter support, in particular for the IfXTable.  And all is good there.

The problem we've discovered is certain objects in the TCP-MIB.  The scalar ones.  Specifically:

bash-3.00$ snmpwalk -v 2c -c <xxxx> localhost .1.3.6.1.2.1.6
TCP-MIB::tcpRtoAlgorithm.0 = INTEGER: 0
TCP-MIB::tcpRtoMin.0 = INTEGER: 0 milliseconds
TCP-MIB::tcpRtoMax.0 = INTEGER: 0 milliseconds
TCP-MIB::tcpMaxConn.0 = INTEGER: 0
TCP-MIB::tcpActiveOpens.0 = Counter32: 0
TCP-MIB::tcpPassiveOpens.0 = Counter32: 0
TCP-MIB::tcpAttemptFails.0 = Counter32: 0
TCP-MIB::tcpEstabResets.0 = Counter32: 0
TCP-MIB::tcpCurrEstab.0 = Gauge32: 0
TCP-MIB::tcpInSegs.0 = Counter32: 0
TCP-MIB::tcpOutSegs.0 = Counter32: 0
TCP-MIB::tcpRetransSegs.0 = Counter32: 0

It's the tcpActiveOpens and friends I'm particularly interested in.

Now, the tcpConnTable (which is officially deprecated in favor of the tcpConnectionTable, but work with what you have) seems populated and reasonable (I've not exhaustively picked it apart, but it has tons of entries with some remote endpoint addresses that seem credible).  Oh, and this works completely on the same system with a net-snmp 5.4.1, no enable-mfd-rewrites.

My build does not specify TCP-MIB in the -with-mibdirs line, but as a standard MIB, it doesn't have to, right?  Besides, the agent knows the counter objects are in scope, it just thinks the counter values are all zero for the duration of the agent.

I'm going to work around this for now by using some a pass object/script that goes directly to the Solaris kstat value (which seems correct), but I wondered if anybody else had run into this or can see the flaw in my approach.

Thanks!
Wayne Tackabury
Mirror Image Internet

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.