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

Creating snmpv3 users on loaded system fails #46

Closed
gmsoft-tuxicoman opened this issue May 15, 2015 · 0 comments
Closed

Creating snmpv3 users on loaded system fails #46

gmsoft-tuxicoman opened this issue May 15, 2015 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@gmsoft-tuxicoman
Copy link

Sometimes when creating an snmpv3 user fails because the service snmpd isn't finished stopping when the create user command is issued. This is due to the fact that the 'service stop snmpd' command send a signal which is processed asynchronously.

To fix this, I added a little delay in the create user command

command => "${service_cmd} ; sleep .5; echo "${cmd}" >>${snmp::params::var_net_snmp}/${daemon}.conf && touch ${snmp::params::var_net_snmp}/${title}-${daemon}",

This solved the problem on all my hosts.

@razorsedge razorsedge added bug Something isn't working enhancement New feature or request labels Jun 30, 2015
@razorsedge razorsedge self-assigned this Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants