Replaces vdu-id-ref for name during VDU lookup
[osm/MON.git] / doc / MON_install_guide.rst
index 22d4764..5265e59 100644 (file)
@@ -84,18 +84,29 @@ please refer to the following documentation:
 These documents will also describe what alarming and monitoring functionality
 the plugins support.
 
+The following steps will allow you to use the plugins:
+
+* Pass your openstack deployment credentials to the MON container:
+
+      ::
+
+          lxc exec MON -- export OS_AUTH_URL=<AUTH_URL>
+          lxc exec MON -- export OS_PASSWORD=<PASSWORD>
+          lxc exec MON -- export OS_TENANT_NAME=<TENANT_NAME>
+          lxc exec MON -- export OS_USERNAME=<USER_NAME>
+
 * The Gnocchi and Aodh plugins work from a common KafkaConsumer that checks for
   the appropriate topics and keys. To run this consumer:
 
       ::
 
-          lxc exec MON - python /root/MON/osm_mon/core/message_bus/common_consumer.py
+          lxc exec MON -- nohup python /root/MON/osm_mon/core/message_bus/common_consumer.py > /root/MON_plugins.log 2>&1 &
 
 * To enable Aodh alarm notifications to be sent to SO:
 
       ::
 
-          lxc exec MON - python /root/MON/osm_mon/plugins/OpenStack/Aodh/notifier.py
+          lxc exec MON - nohup python /root/MON/osm_mon/plugins/OpenStack/Aodh/notifier.py &
 
 CloudWatch
 ~~~~~~~~~~
@@ -116,3 +127,9 @@ Verification
     ::
 
         lxc exec MON -- service kafka status
+
+* To check the logs of the plugins:
+
+    ::
+
+        lxc exec MON -- tail -f /root/MON_plugins.log