--===============4809779504948419771==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C9C768.85478006"
This is a multi-part message in MIME format.
------_=_NextPart_001_01C9C768.85478006
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
kstat sounds like an idea.
=20
By the way, how did you get it to compile on SOlaris 10 to include Sun's
extra agents?
=20
Do you have a ./configure invocation you could share?
________________________________
From: Tackabury, Wayne [mailto:wayne.t...@mirror-image.com]=20
Sent: Friday, April 03, 2009 12:41 PM
To: net-snm...@lists.sourceforge.net
Subject: Net-snmp 5.4.2.1/Solaris 5.10 w/ enable-mfd-rewrites:
TCP-MIBscalar counters showing up as zero
Hi all:
=20
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.
=20
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.
=20
The problem we've discovered is certain objects in the TCP-MIB. The
scalar ones. Specifically:
=20
bash-3.00$ snmpwalk -v 2c -c <xxxx> localhost .1.3.6.1.2.1.6=20
TCP-MIB::tcpRtoAlgorithm.0 =3D INTEGER: 0
TCP-MIB::tcpRtoMin.0 =3D INTEGER: 0 milliseconds
TCP-MIB::tcpRtoMax.0 =3D INTEGER: 0 milliseconds
TCP-MIB::tcpMaxConn.0 =3D INTEGER: 0
TCP-MIB::tcpActiveOpens.0 =3D Counter32: 0
TCP-MIB::tcpPassiveOpens.0 =3D Counter32: 0
TCP-MIB::tcpAttemptFails.0 =3D Counter32: 0
TCP-MIB::tcpEstabResets.0 =3D Counter32: 0
TCP-MIB::tcpCurrEstab.0 =3D Gauge32: 0
TCP-MIB::tcpInSegs.0 =3D Counter32: 0
TCP-MIB::tcpOutSegs.0 =3D Counter32: 0
TCP-MIB::tcpRetransSegs.0 =3D Counter32: 0
=20
It's the tcpActiveOpens and friends I'm particularly interested in.
=20
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.
=20
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.
=20
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.
=20
Thanks!
Wayne Tackabury
Mirror Image Internet
=20
------_=_NextPart_001_01C9C768.85478006
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.3492" name=3DGENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in =
1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D873074618-27042009><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>kstat sounds like an idea.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D873074618-27042009><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN> </DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D873074618-27042009><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>By the way, how did you get it to compile on =
SOlaris 10 to=20
include Sun's extra agents?</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D873074618-27042009><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN> </DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D873074618-27042009><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Do you have a ./configure invocation you could=20
share?</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> Tackabury, Wayne=20
[mailto:wayne.t...@mirror-image.com] <BR><B>Sent:</B> Friday, April =
03,=20
2009 12:41 PM<BR><B>To:</B>=20
net-snm...@lists.sourceforge.net<BR><B>Subject:</B> Net-snmp =
5.4.2.1/Solaris=20
5.10 w/ enable-mfd-rewrites: TCP-MIBscalar counters showing up as=20
zero<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi =
all:<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">So, when I write in =
anymore these=20
days, it always seems to be about Solaris and the enable-mfd-rewrites =
build=20
option. I’ll stay true to form =
again.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">We’ve deployed (on =
non-zoned=20
systems—see prior mail about other problems there)—a =
net-snmp 5.4.2.1 build=20
using the enable-mfd-rewrites option to get 64-bit counter support, in=20
particular for the IfXTable. And all is good=20
there.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">The problem we’ve =
discovered is=20
certain objects in the TCP-MIB. The scalar ones. =20
Specifically:<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">bash-3.00$ snmpwalk -v 2c =
-c=20
<xxxx> localhost .1.3.6.1.2.1.6 <o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpRtoAlgorithm.0 =
=3D=20
INTEGER: 0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpRtoMin.0 =3D =
INTEGER: 0=20
milliseconds<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpRtoMax.0 =3D =
INTEGER: 0=20
milliseconds<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpMaxConn.0 =3D =
INTEGER:=20
0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpActiveOpens.0 =
=3D=20
Counter32: 0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpPassiveOpens.0 =
=3D=20
Counter32: 0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpAttemptFails.0 =
=3D=20
Counter32: 0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpEstabResets.0 =
=3D=20
Counter32: 0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpCurrEstab.0 =
=3D Gauge32:=20
0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpInSegs.0 =3D =
Counter32:=20
0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpOutSegs.0 =3D =
Counter32:=20
0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">TCP-MIB::tcpRetransSegs.0 =
=3D=20
Counter32: 0<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">It’s the =
tcpActiveOpens and friends=20
I’m particularly interested in.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now, the tcpConnTable =
(which is=20
officially deprecated in favor of the tcpConnectionTable, but work with =
what you=20
have) seems populated and reasonable (I’ve not exhaustively picked =
it apart, but=20
it has tons of entries with some remote endpoint addresses that seem=20
credible). Oh, and this works completely on the same system with a =
net-snmp 5.4.1, no enable-mfd-rewrites.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">My build does not specify =
TCP-MIB in=20
the –with-mibdirs line, but as a standard MIB, it doesn’t =
have to, right? =20
Besides, the agent knows the counter objects are in scope, it just =
thinks the=20
counter values are all zero for the duration of the=20
agent.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I’m going to work =
around this for=20
now by using some a pass object/script that goes directly to the Solaris =
kstat=20
value (which seems correct), but I wondered if anybody else had run into =
this or=20
can see the flaw in my approach.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Thanks!<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Wayne=20
Tackabury<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Mirror Image=20
Internet<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>
------_=_NextPart_001_01C9C768.85478006--
--===============4809779504948419771==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
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
--===============4809779504948419771==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--===============4809779504948419771==--