Dear Coders,
When attempting to add an entry to ipAddressTable, I get debug/error messages:
Error 1:
Received SNMP packet(s) from UDP: [192.168.1.80]:1409
SET message
-- iso.3.6.1.2.1.4.34.1.3.1.4.192.168.1.83 [=2]
-- iso.3.6.1.2.1.4.34.1.4.1.4.192.168.1.83 [=unicast(1)]
-- iso.3.6.1.2.1.4.34.1.7.1.4.192.168.1.83 [=preferred(1)]
-- iso.3.6.1.2.1.4.34.1.10.1.4.192.168.1.83 [=createAndGo(4)]
-- iso.3.6.1.2.1.4.34.1.11.1.4.192.168.1.83 [=volatile(2)]
netsnmp_assert 4 == rowreq_ctx->ipAddressRowStatus failed
ip-mib/ipAddressTable/ipAddressTable.c:1289 ipAddressTable_commit()
unhandled columns (0x64c) in commit
bad rc (5) from next handler in row_merge
ipAddressTable row dirty flag still set after undo_commit
Running under gdb:
1) RowStatus is being forced from CreateAndGo(4) to active(1) in
ipAddressTable_check_dependencies() (ipAddressTable.c).
2) The local variable save_flags in ipAddressTable_commit() which indicates
what columns are being set, does not get zeroised when the instrumentation code
signals success.
3) The row does actually get created but I don't have much confidence in this
result given the above messages.
Error 2:
If I try RowStatus = active(1), I get:
Received SNMP packet(s) from UDP: [192.168.1.80]:1409
SET message
-- iso.3.6.1.2.1.4.34.1.3.1.4.192.168.1.83 [=2]
-- iso.3.6.1.2.1.4.34.1.4.1.4.192.168.1.83 [=unicast(1)]
-- iso.3.6.1.2.1.4.34.1.7.1.4.192.168.1.83 [=preferred(1)]
-- iso.3.6.1.2.1.4.34.1.10.1.4.192.168.1.83 [=active(4)]
-- iso.3.6.1.2.1.4.34.1.11.1.4.192.168.1.83 [=volatile(2)]
bad rc (12) from next handler in row_merge
Running under gdb:
1) ipAddressRowStatus_check_value() returns 12 because
check_rowstatus_transition() in snmp-tc.c is being fed an invalid previous
RowStatus value of 0.
Before I wade in and start 'fixing' these 'problems', is there something I am
missing? I assume that someone has tested this code given that Linux is such a
common platform. Or am I the first?
Regards,
Steven Whittard-Swift
EADS UK Ltd.
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders