[AGENT++] Pdu::set_vblist returns PDU too big
Jochen Katz
katz at agentpp.com
Tue Feb 13 21:40:45 CET 2007
Hi,
> int iErr = pdu.set_vblist(pVb,trapCount);
> printf("pdu.set_vbList ierr = %s (%d)\n",Snmp::error_msg(iErr),iErr);
>
> And the return value is allways (1 - PDU too Big) what does it means, why can't I set vb list?
set_vblist() returns only true or false, so 1 is success. [Older
versions of snmp++ have a max limit for the number of Vbs, but
set_vblist returned zero if this limit was reached...]
> When this trap is fired, only the first vb (vbList[0]) is sent. and the rest aren't.
I cannot see this behaviour here: NotificationGenerator: sent v1 trap
(id)(tdomain)(addr)(vbs)(community): (1.3.6.1.6.3.1.1.5.1), (1),
(127.0.0.1/162), (--->5<---), (public)
Regards,
Jochen
More information about the AGENTPP
mailing list