Directory structure and documentation updates
Change-Id: I4c30d4003cadb394e70db3bb83bf2258e2c68360
Signed-off-by: Helena McGough <helena.mcgough@intel.com>
diff --git a/doc/MON_install_guide.rst b/doc/MON_install_guide.rst
index 22d4764..272e630 100644
--- a/doc/MON_install_guide.rst
+++ b/doc/MON_install_guide.rst
@@ -89,7 +89,7 @@
::
- 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:
diff --git a/osm_mon/core/message_bus/common_consumer b/osm_mon/core/message_bus/common_consumer
index e981184..bb8ce0c 100755
--- a/osm_mon/core/message_bus/common_consumer
+++ b/osm_mon/core/message_bus/common_consumer
@@ -24,7 +24,7 @@
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',
diff --git a/osm_mon/plugins/OpenStack/Aodh/notifier.py b/osm_mon/plugins/OpenStack/Aodh/notifier.py
index ad12ada..b1beaa7 100644
--- a/osm_mon/plugins/OpenStack/Aodh/notifier.py
+++ b/osm_mon/plugins/OpenStack/Aodh/notifier.py
@@ -42,7 +42,7 @@
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