Hi,
I have just upgraded from Net-SNMP 5.1.2 to 5.4.rc2 on a Centos 4.4
system. I compiled Net-SNMP with the following options, i.e.
> cat my_configure
./configure --with-persistent-directory=/var/net-snmp/5.4 \
--with-default-snmp-version=3 \
--with-sys-contact="xxx@" \
--with-sys-location="xxxxxx" \
--with-logfile="/var/log/snmpd.log" \
>
and the result:
SNMP Versions Supported: 1 2c 3
Net-SNMP Version: 5.4.rc2
Building for: linux
Network transport support: Callback Unix TCP UDP
SNMPv3 Security Modules: usm
Agent MIB code: default_modules => snmpv3mibs mibII
ucd_snmp notification notification-log-mib target agent_mibs agentx
disman/event disman/schedule utilities host
Embedded Perl support: enabled
SNMP Perl modules: building -- embeddable
SNMP Python modules: disabled
Authentication support: MD5 SHA1
Encryption support: DES AES
Here is the snmpd.conf:
> cat /usr/local/share/snmp/snmpd.conf
rocommunity public
>
and the snmp.conf:
> cat /usr/local/share/snmp/snmp.conf
###########################################################################
#
# snmp.conf
#
# $Id: snmp.conf,v 1.2 2006/04/21 17:01:11 mike Exp $
#
###########################################################################
# SECTION: Debugging output options
#
# This section allows debugging output of various kinds to
# be turned on or off.
# dodebugging: Turns debugging output on or off (0|1)
# arguments: (0|1)
dodebugging 0
###########################################################################
# SECTION: Default Authentication Options
#
# This section defines the default authentication
# information. Setting these up properly in your
# ~/.snmp/snmp.conf file will greatly reduce the amount of
# command line arguments you need to type (especially for snmpv3).
# defcommunity: The default snmpv1 and snmpv2c community name to use
when needed.
# If this is specified, you don't need to include the community
# name as an argument to the snmp applications.
# override: with -c on the command line.
# arguments: communityname
defcommunity public
# Default mib directories
mibdirs
+/iHotel/server/conf/snmp/mibs:/iHotel/server/conf/snmp/mibs/colubris:/iHotel/server/conf/snmp/mibs/3com:/iHotel/server/conf/snmp/mibs/tmp
defVersion 2c
mibs all
>
After restarting snmpd, I now get these error messages: (where I had
none before)
Nov 16 11:08:05 wifispot2 snmpd[20747]: error on subcontainer 'ia_addr'
insert (-1)
Nov 16 11:08:05 wifispot2 last message repeated 2 times
Nov 16 11:08:05 wifispot2 snmpd[20747]: error on subcontainer '' insert (-1)
Nov 16 11:08:05 wifispot2 last message repeated 2 times
Nov 16 11:08:12 wifispot2 snmpd[20747]: netsnmp_assert index == tmp
failed mibgroup/if-mib/data_access/interface.c:468
_access_interface_entry_save_name()
This is a development/test system, not a production system.
There must be something I am missing; would anyone be kind enough to let
me know what I can do?
Thanks greatly. In advance.
Mike
begin:vcard
fn:Mike Schmidt
n:Schmidt;Mike
org:Intello Technologies Inc.
adr;quoted-printable;quoted-printable:;;580 1=C3=A8re Rue;Saint-Jean-sur-Richelieu;Qu=C3=A9;J2X 3B4;Canada
email;internet:[EMAIL PROTECTED]
title:Vice-President
tel;work:450-358-2266 x223
tel;cell:514-835-9497
x-mozilla-html:FALSE
url:http://www.intello.com
version:2.1
end:vcard
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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