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

[snmp] config option for non-increasing OID support #1231

Closed
sethrosenblum opened this issue Dec 4, 2014 · 1 comment · Fixed by #1281
Closed

[snmp] config option for non-increasing OID support #1231

sethrosenblum opened this issue Dec 4, 2014 · 1 comment · Fixed by #1281
Assignees
Milestone

Comments

@sethrosenblum
Copy link
Contributor

If the snmp library we use encounters non-increasing oids it fails. This is to prevent from infinite loops during snmp walks.

http://pysnmp.sourceforge.net/faq.html#10

We could add a flag to the snmp config that would allow increasing oids for a given instance:

cls.cmd_generator = cmdgen.CommandGenerator()
cls.cmd_generator.ignoreNonIncreasingOid = True
@LeoCavaille
Copy link
Member

@sethrosenblum any reason why not to merge your patch? Could you submit a PR if no 😉 !

@LeoCavaille LeoCavaille changed the title SNMP check should allow for config with non-increasing oid [snmp] config option for non-increasing OID support Jan 5, 2015
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

Successfully merging a pull request may close this issue.

3 participants