Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sending a v1 trap does not sent agent_addr #255

Open
noeltimothy opened this issue Oct 13, 2017 · 0 comments
Open

sending a v1 trap does not sent agent_addr #255

noeltimothy opened this issue Oct 13, 2017 · 0 comments

Comments

@noeltimothy
Copy link

I just tried to send an SNMP v1 trap with the agent_addr option set. The trap is sent to the destination but the PDU does not have the 'agent_addr' varbind set.

    client.trap ('10.0.1.249', 'public',
                    {'specific_trap' : specific_trap,
                     'generic_trap': m.pdu.generic_trap,
                     'enterprise': m.pdu.enterprise,
                     'time_stamp' : m.pdu.time_stamp,
                     'agent_addr': m.pdu.agent_addr },
                    m.pdu.varbinds)

I'm assuming the destination should see the following OID in the varbind
iso.3.6.1.2.1.14.1.1.0 = IpAddress: 10.0.1.252

Please correct me if I'm wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant