pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net/net-snmp problem



Hello everybody,

I'm using net-snmpd on many NetBSD servers without problems. But on one server, 
net-snmpd fail regularly with the following error:

error on subcontainer 'swrun container' insert (-1)
[repeated many times until process disappear]


I'm unable to find anything wrong, even in debug mode. Adding '-D all' print 
this:

[...]
compare:index: result was 1
compare:index: compare .29269 to .29269
compare:index: result was 0
compare:index: compare .29269 to .28088
compare:index: result was 1
compare:index: compare .11090 to .0
compare:index: result was 1
compare:index: compare .829 to .0
compare:index: result was 1
compare:index: compare .313 to .0
compare:index: result was 1
compare:index: compare .211 to .0
compare:index: result was 1
compare:index: compare .134 to .0
compare:index: result was 1
compare:index: compare .1 to .0
compare:index: result was 1
compare:index: compare .0 to .0
compare:index: result was 0
trace: netsnmp_binary_array_insert(): container_binary_array.c, 410:
container: not inserting duplicate key
error on subcontainer 'swrun container' insert (-1)


I'm using snmpv3 with DES/MD5 auth and privacy. The binary is the same on all 
servers. My configuration file is the same on all servers:

        agentAddress udp:161,udp6:[::]:161
        rocommunity  myCommunity  192.168.0.0/16
        rocommunity6 myCommunity  fd00::/16
        iquerySecName   myUser
        rouser          myUser
        defaultMonitors          yes
        linkUpDownNotifications  yes
        syslocation XXXXX
        syscontact XXXXX
        proc cron
        proc syslogd
        proc bbackupd
        proc smartd
        includeAllDisks 20%
        pass .1.3.6.1.4.1.2021.8367 /srv/bin/r210_snmp.sh

The only difference on this server is the CPU numbers: 8 logicals cpus.

Do you have any idea ?

Thanks for your help.

best,
jym



Home | Main Index | Thread Index | Old Index