Hi,

 Am using net-snmp 5.4 to query a host/application. Having my own C++ class
which has four methods,



1.     SNMP Session creation

2.     SnmpGet

3.     SnmpGetNext

4.     SnmpWalk



I should query a list of OIDs using this class. So, for each OID,  first am
calling SNMP Session Creation method. If that Succeeds, then I go for
Snmpget()/Snmpgetnext()/SNMPWalk() based on user input (each OID will
associate with one PDU type). If I have only one or two OIDs in an input
list, everything is working fine (creating session & getting oid value) not
a matter that PDU type is get or getnext or walk. Now the problem is, if I
have more than two oids in an input list, when I go for 3rd oid, am getting



“No log handling enabled - turning on stderr logging

Failure in sendto (No such file or directory)”



This failure happens with all those three methods get, getnext & walk. For
each OID am opening & closing the snmp session. What will be the
reason?….Please someone help me….I would be thankful to you.



Thanks & Regards,

Malar
------------------------------------------------------------------------------
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to