On Thu, 10 Nov 2016 12:49:25 + Pavan wrote:
PT> 1. Send multiple (more than 1, for example 5) Snmpv3
PT> traps to a given 'trapsess'
I think you mean send multiple traps in a single PDU.
PT> 1. Is this the intended or correct usage from an 'snmpd'
PT> point of view ?
No. The stan
er created with
createUser trapuser MD5 "passwordTest"
trapsess -v 3 -u trapuser1 -l authNoPriv a.b.c.d:162
3. Call snmp_add_var(pdu, trapOID1, trapOIDLeng, type, trap) 5 times and
then call send_trap_to_sess(ss, pdu) only once to send all the 5 messages to
the trapserver in
2009/7/15 Sudarshan Soma :
> Hi All , I was using ucd-snmp-4.2 package for snmp support.
That is a *VERY* old version of the software.
The 4.x code has been unsupported for several years now.
The "ucd-snmp" package has been superceded by "net-snmp".
Please try using a more current version.
> Can
Hi All , I was using ucd-snmp-4.2 package for snmp support.
When i try to send snmp message of length more than SPRINT_MAX_LEN, it
crashes in snmp_api.c at this line
strcpy((char*)buf, value); // as buf is of max size SPRINT_MAX_LEN,.
I have applied the following patch to fix the problem
http://
hi!
snmp_add_var fails with "Unknown Object Identifier" why?
1)snmp_add_var return SNMPERR_UNKNOWN_OBJID ,
2)snmp_perror been printing '.1.3.6.1.2.1.2.2.1.1.12: Unknown Object Identifier
(189727085)'
my application run on solaris
please help me. thank you every mush!
On Tue, 29 Mar 2005 09:17:55 +0100 Dave wrote:
DS> HL> How can I tell snmp_add_var this is a hex value?
DS>
DS> RS> prefix it with '0x'.
DS>
DS> Are you sure, Robert?
Nope, but it was a good guess! I would have actually looked at code if they
came back and said &q
HL> string subnet_prefix = "fe80"; -> should be all hex
HL> snmp_add_var(pdu, smNetPartitionConfigSubnetPrefix_oid,
HL> sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), 's',
HL> subnet_prefix.data());
HL>
HL> How can I t
On Mon, 14 Mar 2005 15:44:38 -0500 Haizhu wrote:
HL> string subnet_prefix = "fe80"; -> should be all hex
HL> snmp_add_var(pdu, smNetPartitionConfigSubnetPrefix_oid,
HL> sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), 's',
HL>
I failed on the snmp set with wrongValue:
string subnet_prefix = "fe80"; -> should be all hex
snmp_add_var(pdu, smNetPartitionConfigSubnetPrefix_oid,
sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), 's',
subnet_prefix.data());
How can I tell snm