RE: Snmpnetstat problem

"Jani Partanen" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sotapeli.fi Gaming Community
Message-ID <[email protected]>
> This may be a silly question, but have you checked that the agent
> does actually implement the ipv6TcpConnTable ?   Try running
> 'snmpgetnext' on this table.
>    If the agent doesn't report the necessary information, 
> then obviously 'snmpnetstat' can't display it!

It return one line as expected, also there is quite mush all kind of fancy
ipv6 stuff in mib tree:
[jiipee@rottelo ~]$ snmpwalk -v2c -c `cat ~/.community` localhost|grep
ipv6|wc -l
781


> Which version of the code did you use?

CentOS 5.2 distribute 5.3.1 and Fedora 9 comes with 5.4.1 both fails

> How did you run 'configure'?

Build section from net-snmp.spec file:

%build
%ifarch ia64 x86_64 s390x ppc64
export LDFLAGS="-L%{_libdir}"
%endif
export LIBDIR="%{_libdir}"
MIBS="host agentx smux \
         ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail \
         ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable \
         ip-mib/ipAddressPrefixTable/ipAddressPrefixTable \
         ip-mib/ipDefaultRouterTable/ipDefaultRouterTable \
         ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable"
INTEL_ONLY_MIBS="ucd-snmp/lmSensors disman/event-mib"
%configure \
        --enable-static --enable-shared                 \
        --with-cflags="$RPM_OPT_FLAGS -g -lcrypto"      \
        --with-ldflags="$LDFLAGS"                       \
        --with-sys-location="Unknown"                   \
        --with-logfile="/var/log/snmpd.log"             \
        --with-persistent-directory="/var/net-snmp"     \
%ifarch %{ix86} x86_64
        --with-mib-modules="$MIBS $INTEL_ONLY_MIBS" \
%else   
        --with-mib-modules="$MIBS" \
%endif
%if %{tcp_wrappers}
        --with-libwrap=%{_libdir}                       \
%endif  
        --sysconfdir=%{_sysconfdir}                     \
        --enable-ipv6                                   \
        --enable-ucd-snmp-compatibility                 \
        --with-openssl                                  \
        --with-pic                                      \
        --enable-embedded-perl                          \
        --enable-mfd-rewrites                           \
        --enable-local-smux                             \
        --with-sys-contact="root@localhost" <<EOF

EOF


> Check the 'agent/mibgroup/mibII' directory in the source 
> tree, after having compiled the agent.  Does this include the 
> object file for 'ipv6.o' ?

Yes it's there.


//JiiPee


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.