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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to