diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-05-18 11:15:32 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-05-18 11:15:33 +0000 |
commit | 8a099a91c250511ed3278e2c3548138a881ba689 (patch) | |
tree | 0c15bb7557030a640cc6f4f444bb223525959a5c | |
parent | 5b4e1bc8239812df2aaccb0a270af7b5d3053c04 (diff) | |
parent | c634f4eb1858b0292b89596e5a0b0f811009dd52 (diff) |
Merge "Default snmp to less verbose logging"
-rw-r--r-- | puppet/services/snmp.yaml | 5 | ||||
-rw-r--r-- | releasenotes/notes/configurable-snmpd-options-3954c5858e2c7656.yaml | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/puppet/services/snmp.yaml b/puppet/services/snmp.yaml index 325656eb..b51242aa 100644 --- a/puppet/services/snmp.yaml +++ b/puppet/services/snmp.yaml @@ -40,6 +40,10 @@ parameters: description: An array of bind host addresses on which SNMP daemon will listen. type: comma_delimited_list default: ['udp:161','udp6:[::1]:161'] + SnmpdOptions: + description: A string containing the commandline options passed to snmpd + type: string + default: '-LS0-5d' outputs: role_data: @@ -50,6 +54,7 @@ outputs: tripleo::profile::base::snmp::snmpd_user: {get_param: SnmpdReadonlyUserName} tripleo::profile::base::snmp::snmpd_password: {get_param: SnmpdReadonlyUserPassword} snmp::agentaddress: {get_param: SnmpdBindHost} + snmp::snmpd_options: {get_param: SnmpdOptions} tripleo.snmp.firewall_rules: '127 snmp': dport: 161 diff --git a/releasenotes/notes/configurable-snmpd-options-3954c5858e2c7656.yaml b/releasenotes/notes/configurable-snmpd-options-3954c5858e2c7656.yaml new file mode 100644 index 00000000..d69bf4f6 --- /dev/null +++ b/releasenotes/notes/configurable-snmpd-options-3954c5858e2c7656.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Per default, don't log a message in syslog for each incoming SNMP query. + So set the default log level to '-LS0-5d'. Allow the operator to customize + the log level via a parameter. |