Directory structure and documentation updates 54/5754/1
authorHelena McGough <helena.mcgough@intel.com>
Tue, 5 Dec 2017 10:09:44 +0000 (10:09 +0000)
committerHelena McGough <helena.mcgough@intel.com>
Tue, 5 Dec 2017 10:09:44 +0000 (10:09 +0000)
Change-Id: I4c30d4003cadb394e70db3bb83bf2258e2c68360
Signed-off-by: Helena McGough <helena.mcgough@intel.com>
doc/MON_install_guide.rst
osm_mon/core/message_bus/common_consumer
osm_mon/plugins/OpenStack/Aodh/notifier.py

index 22d4764..272e630 100644 (file)
@@ -89,7 +89,7 @@ the plugins support.
 
       ::
 
-          lxc exec MON - python /root/MON/osm_mon/core/message_bus/common_consumer.py
+          lxc exec MON - python /root/MON/osm_mon/core/message_bus/common_consumer
 
 * To enable Aodh alarm notifications to be sent to SO:
 
index e981184..bb8ce0c 100755 (executable)
@@ -24,7 +24,7 @@ import logging
 import sys
 import os
 
-sys.path.insert(0, os.path.abspath('../'))
+sys.path.append("/root/MON")
 
 logging.basicConfig(filename='MON_plugins.log',
                     format='%(asctime)s %(message)s',
index ad12ada..b1beaa7 100644 (file)
@@ -42,7 +42,7 @@ logging.basicConfig(filename='aodh_notify.log',
                     level=logging.INFO)
 log = logging.getLogger(__name__)
 
-sys.path.insert(0, os.path.abspath('../'))
+sys.path.append("/root/MON")
 
 from osm_mon.core.message_bus.producer import KafkaProducer