error on subcontainer '' insert (-1) with severity LOG_DEBUG in 5.6.1

ESWAR RAO <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
 Hi,

I am using Net snmp 5.4 version and the openhpi subagent.

>From the logs I could see the error messages(error on subcontainer '' insert
(-1)) while adding rows for only the event table (saHpiEventTable).

>From the net-snmp code:

int CONTAINER_INSERT(netsnmp_container *x, const void *k)
{
...................
 rc2 = x->insert(x,k);
 if (rc2) {
     snmp_log(LOG_ERR,"error on subcontainer '%s' insert (%d)\n",
               x->container_name ? x->container_name : "", rc2);
...................

Please let me know the case in which the row addition could fail??

I observed that the row is inserted into the corresponding table even though
the error log appears (by using snmpwalk on corresponding table).

Also I observed that in 5.6 the message is now with severity LOG_DEBUG
instead of LOG_ERR in 5.4. So I think the message by default would not be
logged into syslog.

Thanks & Regards,
Eswar

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.