I’m having a bit of trouble with net-snmp-5.3.0.1. When I run an snmpwalk, It starts the walk but kills snmpd.

 

I used the following snmpwalk command.

 

./snmpwalk -v 2c -c commuity_here localhost

 

This system is running Tru64 5.1

Net-snmp 5.3.0.1 was compiled with:

 

./configure --with-cc=cc --prefix=/test_install_dir/test \

--with-persistent-directory="/var/net-snmp" \

--with-copy-persistent-files="no" \

--with-default-snmp-verion="3" \

--with-sys-contact="System Administrator" \

--with-sys-location="Unknown" \

--with-defaults \

--with-logfile="/var/adm/snmpd.log" \

--with-mib-modules="mibII ucd_snmp host"

 

I have a full dump of from the snmpd.log running snmpd –a –DALL and what snmpwalk did manage to output but the log is over 55k lines so I’ll only include the last 100 here.

 

snmpd.log contents:

 

trace:  snmpUDPDomain.c, 1032:

netsnmp_udp_getSecName: resolve <"community_string", 0x0100007f>

trace:  snmpUDPDomain.c, 1038:

netsnmp_udp_getSecName: compare <"community_string", 0x0100007f/0xffffffff>... SUCCESS

trace:  agent_registry.c, 151:

subtree: looking for subtree for context: ""

trace:  agent_registry.c, 156:

subtree: found one for: ""

trace:  mibgroup/mibII/vacm_conf.c, 1370:

mibII/vacm_vars: vacm_in_view: sn=comm1, gn=grpcomm1, vn=_all_

trace:  vacm.c, 551:

vacm:checkSubtree: , included

trace:  callback.c, 328:

callback: END calling callbacks for maj=1 min=12 (1 called)

trace:  callback.c, 148:

9:callback:lock: unlocked (APP,(null))

trace:  snmp_agent.c, 1913:

snmp_agent: tp->start TCP-MIB::tcpConnTable, tp->end TCP-MIB::tcpInErrs,

trace:  snmp_agent.c, 1932:

verbose:asp: asp 140188e80 reqinfo 140183fe0 assigned to request

trace:  snmp_agent.c, 1939:

verbose:asp: asp 140188e80 reqinfo 140183fe0 assigned to request

trace:  agent_handler.c, 502:

handler:calling: main handler cache_handler

trace:  agent_handler.c, 421:

handler:calling: calling handler cache_handler for mode GETNEXT

trace:  cache_handler.c, 427:

helper:cache_handler: Got request (161) for tcpTable: TCP-MIB::tcpConnTable

 cached (5)

trace:  cache_handler.c, 338:

verbose:helper:cache_handler:  adding 'cache_info:tcpTable' to 140183fe0

trace:  agent_handler.c, 430:

handler:returned: handler cache_handler returned 0

trace:  agent_handler.c, 421:

handler:calling: calling handler bulk_to_next for mode GETNEXT

trace:  agent_handler.c, 430:

handler:returned: handler bulk_to_next returned 0

trace:  agent_handler.c, 421:

handler:calling: calling handler table for mode GETNEXT

trace:  table.c, 178:

helper:table:req: Got request for handler table: base oid:TCP-MIB::tcpConnTable

TCP-MIB::tcpConnLocalAddress.0.0.0.0.0.0.0.0.0.0

trace:  table.c, 373:

helper:table:col:   have at least a column (2)

trace:  table.c, 449:

helper:table:     have 10 bytes of index

trace:  table.c, 497:

helper:table:   looking for 4 indexes

trace:  mib.c, 3700:

parse_oid_indexes: Parsed ipaddr(64): 0.0.0.0

trace:  table.c, 537:

helper:table:   got 1 (incomplete=0)

trace:  mib.c, 3673:

parse_oid_indexes: Parsed int(2): 0

trace:  table.c, 537:

helper:table:   got 1 (incomplete=0)

trace:  mib.c, 3700:

parse_oid_indexes: Parsed ipaddr(64): 0.0.0.0

trace:  table.c, 537:

helper:table:   got 1 (incomplete=0)

trace:  mib.c, 3673:

parse_oid_indexes: Parsed int(2): 0

trace:  table.c, 537:

helper:table:   got 1 (incomplete=0)

trace:  table.c, 551:

helper:table:results:   found 4 indexes

trace:  table.c, 557:

helper:table:results:   column: 2, indexes: 4trace:  mib.c, 1977:

output: sprint_by_type, type 64

   index: type=64(40), value=IpAddress: 0.0.0.0trace:  mib.c, 1977:

output: sprint_by_type, type 2

   index: type=2(02), value=INTEGER: 0trace:  mib.c, 1977:

output: sprint_by_type, type 64

   index: type=64(40), value=IpAddress: 0.0.0.0trace:  mib.c, 1977:

output: sprint_by_type, type 2

   index: type=2(02), value=INTEGER: 0

trace:  agent_handler.c, 421:

handler:calling: calling handler table_iterator for mode GETNEXT

trace:  data_list.c, 106:

data_list: adding key 'ti_cache'

trace:  mib.c, 3586:

build_oid_noalloc: generated: TCP-MIB::tcpConnLocalAddress.0.0.0.0.0.0.0.0.0.0

trace:  mib.c, 3586:

build_oid_noalloc: generated: TCP-MIB::tcpConnLocalAddress.172.30.217.212.23.172.30.209.130.2721

trace:  mib.c, 3586:

build_oid_noalloc: generated: TCP-MIB::tcpConnLocalAddress.172.30.217.212.1667.172.30.217.220.23

trace:  mib.c, 3586:

build_oid_noalloc: generated: TCP-MIB::tcpConnLocalAddress.172.30.217.212.22.172.30.209.150.1947

trace:  mib.c, 3586:

build_oid_noalloc: generated: TCP-MIB::tcpConnLocalAddress.172.30.217.212.22.172.30.209.150.1948

trace:  data_list.c, 106:

data_list: adding key 'table_iterator'

trace:  table_iterator.c, 769:

table_iterator: call subhandler for mode: GETNEXT

trace:  agent_handler.c, 421:

handler:calling: calling handler tcpTable for mode GET

trace:  mibII/tcpTable.c, 201:

mibII/tcpTable: Handler - mode GET

trace:  mibII/tcpTable.c, 207:

mibII/tcpTable: oid: TCP-MIB::tcpConnLocalAddress.172.30.217.212.22.172.30.209.150.1947

 

 

Any help would be appreciated.

 

Thanks,

David

 

Reply via email to