--===============2110042750==
Content-Type: multipart/alternative;
boundary="----=_Part_151736_6925800.1157385753623"

------=_Part_151736_6925800.1157385753623
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2006/9/4, Dave Shield :
>
> [ First - *please* don't mail me privately, without copying
> any responses to the mailing list. I don't have the time
> or inclination to offer private, unpaid, SNMP consultancy.
> Keep discussions to the list, where others can both learn
> and offer advice. Thanks. ]
>
> On 04/09/06, Fabio Pintus wrote:
> > Hi, many thanks for your support. You are the first people that is

> trying to
> > help me.
> > I have installed the package "net-snmp_5.1.2" from some other

> distribution
> > called OpenWRT.
> > This is the output of "net-snmp-config
> > --snmpd-module-list" :
> >
> > [mips@cbm bin]$ ./net-snmp-config --snmpd-module-list
> > host/hr_device host/hr_disk host/hr_filesys host/hr_network
> > host/hr_partition host/hr_proc host/hr_storage host/hr_system mibII/at
> > mibII/icmp mibII/interfaces mibII/ip mibII/snmp_mib mibII/sysORTable
> > mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_vars
> > snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats snmpv3/usmUser
> > ucd-snmp/disk ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory
> > ucd-snmp/pass ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/execute
> > mibII/kernel_linux mibII/ipAddr mibII/var_route mibII/route_write
> > mibII/tcpTable mibII/udpTable tunnel/tunnel

>
> That looks very much as if the agent was compiled without AgentX support.
> Two other things to try:
>
> a) net-snmp-config --configure-options


[mips@cbm bin]$ ./net-snmp-config --configure-options
'--target=mipsel-linux' '--host=mipsel-linux' '--build=i386-pc-linux-gnu'
'--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--datadir=/usr/share' '--includedir=/usr/include'
'--infodir=/usr/share/info' '--libdir=/usr/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--mandir=/usr/share/man' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--disable-nls' '--enable-shared' '--enable-static'
'--with-endianness=little' '--with-logfile=/var/log/snmpd.log'
'--with-persistent-directory=/usr/lib/snmp/' '--with-default-snmp-version=1'
'--with-sys-contact=root@localhost' '--with-sys-location=Unknown'
'--enable-applications' '--disable-debugging' '--disable-ipv6'
'--disable-manuals' '--disable-mib-loading' '--disable-mibs'
'--disable-scripts' '--with-out-mib-modules=agent_mibs agentx host
ieee802dot11 mibII notification snmpv3mibs target ucd_snmp utilities '
'--with-mib-modules=host/hr_device host/hr_disk host/hr_filesys
host/hr_network host/hr_partition host/hr_proc host/hr_storage
host/hr_system mibII/at mibII/icmp mibII/interfaces mibII/ip mibII/snmp_mib
mibII/sysORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context
mibII/vacm_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats
snmpv3/usmUser snmpv3mibs tunnel ucd-snmp/disk ucd-snmp/extensible
ucd-snmp/loadave ucd-snmp/memory ucd-snmp/pass ucd-snmp/proc ucd-snmp/vmstat
util_funcs utilities/execute ' '--with-out-transports=Callback TCP TCPv6
UDPv6 Unix' '--with-transports=UDP' '--without-opaque-special-types'
'--without-openssl' '--without-libwrap' '--without-rpm' '--without-zlib'
'CC=/home/nbd/rc5/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc'
'CFLAGS=-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time '
'CPPFLAGS=-I/home/nbd/rc5/openwrt/staging_dir_mipsel/usr/include
-I/home/nbd/rc5/openwrt/staging_dir_mipsel/include'
'LDFLAGS=-L/home/nbd/rc5/openwrt/staging_dir_mipsel/usr/lib
-L/home/nbd/rc5/openwrt/staging_dir_mipsel/lib'
'build_alias=i386-pc-linux-gnu' 'host_alias=mipsel-linux'
'target_alias=mipsel-linux'
[mips@cbm bin]$




b) snmpd -f -Le -v


root@linksys:/usr/bin# snmpd -f -Le -v

NET-SNMP version: 5.1.2
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net

root@linksys:/usr/bin#







Dave
>


------=_Part_151736_6925800.1157385753623
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline



2006/9/4, Dave Shield < =3D"mailto.T.Shield@csc.liv.ac.uk">D.T.Shield@csc.liv.ac.uk>: n>
, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    [ First - *please* don't mail me privately, without=
copying
     any responses to the mailing list.&nbs=
p; I don't have the time
     or inclination to=
offer private, unpaid, SNMP consultancy.
     Keep =
discussions to the list, where others can both learn

     and offer advice.  Thanks. &nbs=
p; ]

On 04/09/06, Fabio Pintus < il.com">joao.pintus@gmail.com> wrote:
> Hi, many thanks for yo=
ur support. You are the first people that is trying to

> help me.
> I have installed the package "net-snmp_5.1.2=
" from some other distribution
> called OpenWRT.
> This is=
the output of "net-snmp-config
> --snmpd-module-list" :

>
> [mips@cbm bin]$ ./net-snmp-config --snmpd-module-list
&=
gt; host/hr_device host/hr_disk host/hr_filesys host/hr_network
> hos=
t/hr_partition host/hr_proc host/hr_storage host/hr_system mibII/at

> mibII/icmp mibII/interfaces mibII/ip mibII/snmp_mib mibII/sysORTable r>> mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm_v=
ars
> snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats snmpv3/us=
mUser

> ucd-snmp/disk ucd-snmp/extensible ucd-snmp/loadave ucd-snmp/memory=

> ucd-snmp/pass ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/e=
xecute
> mibII/kernel_linux mibII/ipAddr mibII/var_route mibII/route_=
write

> mibII/tcpTable mibII/udpTable tunnel/tunnel

That looks very=
much as if the agent was compiled without AgentX support.
Two other thi=
ngs to try:

a)   net-snmp-config --configure-options kquote>
[mips@cbm bin]$ ./net-snmp-config --configure-options
'--target=3Dm=
ipsel-linux' '--host=3Dmipsel-linux' '--build=3Di386-pc-linux-gnu' '--progr=
am-prefix=3D' '--program-suffix=3D' '--prefix=3D/usr' '--exec-prefix=3D/usr=
' '--bindir=3D/usr/bin' '--datadir=3D/usr/share' '--includedir=3D/usr/inclu=
de' '--infodir=3D/usr/share/info' '--libdir=3D/usr/lib' '--libexecdir=3D/us=
r/lib' '--localstatedir=3D/var' '--mandir=3D/usr/share/man' '--sbindir=3D/u=
sr/sbin' '--sysconfdir=3D/etc' '--disable-nls' '--enable-shared' '--enable-=
static' '--with-endianness=3Dlittle' '--with-logfile=3D/var/log/snmpd.log' =
'--with-persistent-directory=3D/usr/lib/snmp/' '--with-default-snmp-version=
=3D1' '--with-sys-contact=3D
root@localhost' '--with-sys-location=3DUnknown' '--enable-applications' '--=
disable-debugging' '--disable-ipv6' '--disable-manuals' '--disable-mib-load=
ing' '--disable-mibs' '--disable-scripts' '--with-out-mib-modules=3Dagent_m=
ibs agentx host ieee802dot11 mibII notification snmpv3mibs target ucd_snmp =
utilities ' '--with-mib-modules=3Dhost/hr_device host/hr_disk host/hr_files=
ys host/hr_network host/hr_partition host/hr_proc host/hr_storage host/hr_s=
ystem mibII/at mibII/icmp mibII/interfaces mibII/ip mibII/snmp_mib mibII/sy=
sORTable mibII/system_mib mibII/tcp mibII/udp mibII/vacm_context mibII/vacm=
_vars snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats snmpv3/usmUser =
snmpv3mibs tunnel ucd-snmp/disk ucd-snmp/extensible ucd-snmp/loadave ucd-sn=
mp/memory ucd-snmp/pass ucd-snmp/proc ucd-snmp/vmstat util_funcs utilities/=
execute ' '--with-out-transports=3DCallback TCP TCPv6 UDPv6 Unix' '--with-t=
ransports=3DUDP' '--without-opaque-special-types' '--without-openssl' '--wi=
thout-libwrap' '--without-rpm' '--without-zlib' 'CC=3D/home/nbd/rc5/openwrt=
/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc' 'CFLAGS=3D-Os -pipe -mips3=
2 -mtune=3Dmips32 -funit-at-a-time ' 'CPPFLAGS=3D-I/home/nbd/rc5/openwrt/st=
aging_dir_mipsel/usr/include -I/home/nbd/rc5/openwrt/staging_dir_mipsel/inc=
lude' 'LDFLAGS=3D-L/home/nbd/rc5/openwrt/staging_dir_mipsel/usr/lib -L/home=
/nbd/rc5/openwrt/staging_dir_mipsel/lib' 'build_alias=3Di386-pc-linux-gnu' =
'host_alias=3Dmipsel-linux' 'target_alias=3Dmipsel-linux'

[mips@cbm bin]$


 

uote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0=
pt 0.8ex; padding-left: 1ex;">b)   snmpd -f -Le -v
iv>
root@linksys
:/usr/bin# snmpd -f -Le -v

NET-SNMP version:  5.1.2
Web:&nbs=
p;            &=
nbsp; http://www.net-snmp.org/
=
Email:           &nb=
sp;
net-snmp-coders@lists.sourceforge.net

root@linksys:/usr/bin#
=

 



 

_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt=
0pt 0.8ex; padding-left: 1ex;">
Dave