You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered: