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 check as network check (multi-threaded) #2214

Closed
wants to merge 2 commits into from

Conversation

truthbk
Copy link
Member

@truthbk truthbk commented Jan 19, 2016

Multi-threaded SNMP Check (as a Network Check)

This PR allows checking for multiple SNMP instances in parallel, each running in it's own thread (within the allocated thread-pool). The actual OID/walk is still done serially for each instance, but this PR should help organizations with multiple instances configured with a performance benefit as a factor of the thread pool size.

NOTE: tests involving rates now require three runs because network checks report the results of the nth run on the n+1 run.

[snmp] Add instance name if not present before calling constructor.

[snmp] send Status, not check state.

[snmp] fixing tests

[snmp] if a force reload is issued, we should first stop all threads.
[snmp] fixing-up exception related issues now that we're dealing with threads. Clean-up.
@truthbk
Copy link
Member Author

truthbk commented Jan 19, 2016

This PR can cab ignored - the original PR #2152 is now fine on TravisCI after cleaning the cache.

@truthbk truthbk deleted the jaime/snmp_threadspeed branch January 20, 2016 21:55
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 this pull request may close these issues.

1 participant