4d01632d12eb2cdbda96bb925e2968a4236e8fff
[apex-tripleo-heat-templates.git] / puppet / services / snmp.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   SNMP client configured with Puppet, to facilitate Ceilometer Hardware
5   monitoring in the undercloud. This service is required to enable hardware
6   monitoring.
7
8 parameters:
9   ServiceNetMap:
10     default: {}
11     description: Mapping of service_name -> network name. Typically set
12                  via parameter_defaults in the resource registry.  This
13                  mapping overrides those in ServiceNetMapDefaults.
14     type: json
15   DefaultPasswords:
16     default: {}
17     type: json
18   EndpointMap:
19     default: {}
20     description: Mapping of service endpoint -> protocol. Typically set
21                  via parameter_defaults in the resource registry.
22     type: json
23   SnmpdReadonlyUserName:
24     default: ro_snmp_user
25     description: The user name for SNMPd with readonly rights running on all Overcloud nodes
26     type: string
27   SnmpdReadonlyUserPassword:
28     description: The user password for SNMPd with readonly rights running on all Overcloud nodes
29     type: string
30     hidden: true
31
32 outputs:
33   role_data:
34     description: Role data for the SNMP services
35     value:
36       service_name: snmp
37       config_settings:
38         tripleo::profile::base::snmp::snmpd_user: {get_param: SnmpdReadonlyUserName}
39         tripleo::profile::base::snmp::snmpd_password: {get_param: SnmpdReadonlyUserPassword}
40         tripleo.snmp.firewall_rules:
41           '127 snmp':
42             dport: 161
43             proto: 'udp'
44       step_config: |
45         include ::tripleo::profile::base::snmp