snmp: add SnmpdBindHost parameter
SnmpdBindHost will be useful for users who want to change the binding options for SNMP daemon. It has to be an array, and by the default the value is ['udp:161','udp6:[::1]:161'] like it was in puppet-tripleo profile. Change-Id: Iccf0a8d35cc05d34272c078c97a5dddfb8e7d614 Closes-Bug: #1687628
This commit is contained in:
parent
903778a868
commit
6ec49bddda
@ -28,6 +28,10 @@ parameters:
|
|||||||
description: The user password for SNMPd with readonly rights running on all Overcloud nodes
|
description: The user password for SNMPd with readonly rights running on all Overcloud nodes
|
||||||
type: string
|
type: string
|
||||||
hidden: true
|
hidden: true
|
||||||
|
SnmpdBindHost:
|
||||||
|
description: An array of bind host addresses on which SNMP daemon will listen.
|
||||||
|
type: comma_delimited_list
|
||||||
|
default: ['udp:161','udp6:[::1]:161']
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
role_data:
|
role_data:
|
||||||
@ -37,6 +41,7 @@ outputs:
|
|||||||
config_settings:
|
config_settings:
|
||||||
tripleo::profile::base::snmp::snmpd_user: {get_param: SnmpdReadonlyUserName}
|
tripleo::profile::base::snmp::snmpd_user: {get_param: SnmpdReadonlyUserName}
|
||||||
tripleo::profile::base::snmp::snmpd_password: {get_param: SnmpdReadonlyUserPassword}
|
tripleo::profile::base::snmp::snmpd_password: {get_param: SnmpdReadonlyUserPassword}
|
||||||
|
snmp::agentaddress: {get_param: SnmpdBindHost}
|
||||||
tripleo.snmp.firewall_rules:
|
tripleo.snmp.firewall_rules:
|
||||||
'127 snmp':
|
'127 snmp':
|
||||||
dport: 161
|
dport: 161
|
||||||
|
7
releasenotes/notes/snmp_listen-2364188f73d43b14.yaml
Normal file
7
releasenotes/notes/snmp_listen-2364188f73d43b14.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adding a new parameter to SNMP profile, SnmpdBindHost
|
||||||
|
so users can change the binding addresses on SNMP daemon.
|
||||||
|
The parameter is an array and takes the default value that
|
||||||
|
were previously hardcoded in puppet-tripleo.
|
Loading…
Reference in New Issue
Block a user