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

Running ipdevpoll in multiprocess mode will delay resolving of snmpAgentDown alerts #1604

Closed
lunkwill42 opened this issue Oct 31, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@lunkwill42
Copy link
Member

lunkwill42 commented Oct 31, 2017

A new multiprocess mode was introduced for ipdevpoll in NAV 4.7, but the snmpcheck plugin/job keeps some state internal to the running process. Under the new multiprocess mode, it's more or less random which worker process will process each snmpcheck job, meaning the internal state will become unsynced between workers.

The net effect is that once an snmpAgentDown alert has been issued, it can only be resolved if the same worker process happens to process the snmpcheck job for the same device again later, or if a new worker process is spawned and runs the job (since a new process will get its state from the database).

For the user, the symptom is that it appears that NAV does not detect, in a timely manner (if at all) that snmpAgentDown alerts are resolved.

This issue was already fixed on master by 12da0c2 - which should be cherry-picked onto 4.7.x for the next bugfix release.

@lunkwill42 lunkwill42 added the bug label Oct 31, 2017
@lunkwill42 lunkwill42 added this to the 4.7.3 milestone Oct 31, 2017
@lunkwill42 lunkwill42 self-assigned this Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant