RE: Net-snmp 5.4.2.1/Solaris 5.10 w/ enable-mfd-rewrites: TCP-MIBscalar counters showing up as zero
"Bruce Shaw" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <7B6F3C2940227D4E8AF3AA6770B0DE403DB27A@EDM-GOA-EXCC-1A.goa.ds.gov.ab.ca> |
kstat sounds like an idea. By the way, how did you get it to compile on SOlaris 10 to include Sun's extra agents? Do you have a ./configure invocation you could share? ________________________________ From: Tackabury, Wayne [mailto:[email protected]] Sent: Friday, April 03, 2009 12:41 PM To: [email protected] Subject: Net-snmp 5.4.2.1/Solaris 5.10 w/ enable-mfd-rewrites: TCP-MIBscalar counters showing up as zero 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 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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