c08abb38cf0d0b7cb423d8a449ff5c5a79ecfd3e
[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   EndpointMap:
16     default: {}
17     description: Mapping of service endpoint -> protocol. Typically set
18                  via parameter_defaults in the resource registry.
19     type: json
20   SnmpdReadonlyUserName:
21     default: ro_snmp_user
22     description: The user name for SNMPd with readonly rights running on all Overcloud nodes
23     type: string
24   SnmpdReadonlyUserPassword:
25     description: The user password for SNMPd with readonly rights running on all Overcloud nodes
26     type: string
27     hidden: true
28
29 outputs:
30   role_data:
31     description: Role data for the SNMP services
32     value:
33       service_name: snmp
34       config_settings:
35         snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName}
36         snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
37         tripleo.snmp.firewall_rules:
38           '127 snmp':
39             dport: 161
40             proto: 'udp'
41       step_config: |
42         include ::tripleo::profile::base::snmp