Change-Id: I4c30d4003cadb394e70db3bb83bf2258e2c68360
Signed-off-by: Helena McGough <helena.mcgough@intel.com>
::
- 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:
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',
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