This is a discussion on Re: SIGHUP w/ 5.2.1 results in netsnmp_assert "list key" == "is unique" within the SNMP Users forums, part of the Networking and Network Related category; Robert Story wrote: >On Tue, 08 Feb 2005 11:39:41 -0500 Rob wrote: >RK> /var/log/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Robert Story wrote:
>On Tue, 08 Feb 2005 11:39:41 -0500 Rob wrote: >RK> /var/log/snmpd.log >RK> NET-SNMP version 5.2.1 restarted >RK> netsnmp_assert "list key" == "is unique" failed data_list.c:108 >RK> netsnmp_data_list_add_node() >RK> WARNING: adding duplicate key 'mppLibraryVersionTable' to data list >RK> >RK> --note: the mppLibraryVersionTable comes from a custom MIB... > >This assert means that the data list key already exists. Looking at the code, >the data will still be added at the end of the list, but a get of the key will >return the first item. The the application may not get the value it thinks it >will. > >What is the mppLibraryVersionTable trying to do? Was it generate by mib2c? >If so, which conf file? > > It's coming from our custom MIB. From our MIB and structure file: mppLibraryVersionTable OBJECT-TYPE SYNTAX SEQUENCE OF mppStringStringPairListEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Version of each library which is used by mppd" ::= { mppMIBStats 22 } +--mppLibraryVersionTable(22) | | | +--mppStringStringPairListEntry(1) | | Index: mppStringStringPairListIndex | | | +-- ---- INTEGER mppStringStringPairListIndex(1) | | Range: 1..2147483647 | +-- -RW- String mppString6(2) | | Textual Convention: DisplayString | | Size: 0..255 | +-- -RW- String mppString7(3) | Textual Convention: DisplayString | Size: 0..255 This does not happen when you stop snmpd and start it--just on SIGHUP. Thanks, Rob http://www.messagepartners.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|