Configure snmpd auth params in ceilometer profile
authorPradeep Kilambi <pkilambi@redhat.com>
Wed, 3 May 2017 17:16:56 +0000 (13:16 -0400)
committerPradeep Kilambi <pkilambi@redhat.com>
Wed, 3 May 2017 17:42:40 +0000 (13:42 -0400)
Depends-On: I55ac06e1a561d29d7e1c928a1684989c9654b95d

Change-Id: Id29e96979b937593efe244f46ce2dd74df3aaa7f

puppet/services/ceilometer-base.yaml

index 761e6bd..6e90909 100644 (file)
@@ -65,6 +65,14 @@ parameters:
     description: Whether to create or skip API endpoint. Set this to
         false, if you choose to disable Ceilometer API service.
     type: boolean
+  SnmpdReadonlyUserName:
+    default: ro_snmp_user
+    description: The user name for SNMPd with readonly rights running on all Overcloud nodes
+    type: string
+  SnmpdReadonlyUserPassword:
+    description: The user password for SNMPd with readonly rights running on all Overcloud nodes
+    type: string
+    hidden: true
 
 outputs:
   role_data:
@@ -97,6 +105,8 @@ outputs:
         ceilometer::rabbit_port: {get_param: RabbitClientPort}
         ceilometer::rabbit_heartbeat_timeout_threshold: 60
         ceilometer::telemetry_secret: {get_param: CeilometerMeteringSecret}
+        ceilometer::snmpd_readonly_username: {get_param: SnmpdReadonlyUserName}
+        ceilometer::snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword}
       service_config_settings:
         keystone:
           ceilometer_auth_enabled: true