Open jeffd-dev opened 6 years ago
Hi,
Example available in documentation is for v2.
My problem is I didn't find example to send Trap with EnterpriseOID so I do: pdu.setComponentByName('enterprise', mytrap.getEnterpriseOid())
pdu.setComponentByName('enterprise', mytrap.getEnterpriseOid())
As read in #78 : "when you are sending v1 TRAPs you still need to pass v2 TRAPs to pysnmp"
So I don't know if I should:
Or there is a way to set EnterpriseOid using sendNotification? Thank you
TRAP v1 messages can be sent via high-level API, according to the documentation,
/examples/hlapi/asyncio/agent/ntforg/default-v1-trap.py
Hi,
Example available in documentation is for v2.
My problem is I didn't find example to send Trap with EnterpriseOID so I do:
pdu.setComponentByName('enterprise', mytrap.getEnterpriseOid())
As read in #78 : "when you are sending v1 TRAPs you still need to pass v2 TRAPs to pysnmp"
So I don't know if I should:
Or there is a way to set EnterpriseOid using sendNotification? Thank you