Hi,
NET-SNMP version 5.7.2
I start the snmpd as:
/usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -I
versioninfo interface snmpEngine pass system_mib snmpTargetAddrEntry
snmpTargetParamsEntry target_counters target snmpCommunityTable
sysORTable setSerialNo snmp_mib
Hello,
I have been studying the code following function wrapper after function wrapper
down the snmp_send trail, trying to work out how the netsnmp_request_list is
involved to stop the listening for responses. I am trying to keep the session
open and listening for responses until a timeout
Hi, everyone
I am a snmp newbie developer, and want to write some new OIDs.
And generate sample code from mib2c MY-DEFINE-MIB file.
But when i develop this part, i meet a big problem:
when set string, requests-requestvb-val.string always remain some old
data, i don't know how to empty it.
Ex:
Den 20-08-2014 kl. 02:57 skrev L'oiseau de mer:
case MODE_SET_ACTION:
strncpy(A, requests-requestvb-val.string,
sizeof(A));
A[sizeof(A)-1]='\0';
A SNMP string is not a 0-terminated C string. You must respect (and
save) the length of the