X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=doc%2FMON_install_guide.rst;h=5265e5991363b5d088d95a684cd44381ea201e9e;hb=4de60c537b56d7bf9767a8b3b027793c76bf02b5;hp=586fe2aa6b864677a432a9a26be3ae3fc2afa6a0;hpb=375f07c018e209ae54391d4d0cb4898d4bdb79b4;p=osm%2FMON.git diff --git a/doc/MON_install_guide.rst b/doc/MON_install_guide.rst index 586fe2a..5265e59 100644 --- a/doc/MON_install_guide.rst +++ b/doc/MON_install_guide.rst @@ -84,21 +84,33 @@ please refer to the following documentation: These documents will also describe what alarming and monitoring functionality the plugins support. -* To run the Gnocchi plugin run the following command: +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= + lxc exec MON -- export OS_PASSWORD= + lxc exec MON -- export OS_TENANT_NAME= + lxc exec MON -- export OS_USERNAME= + +* 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/plugins/OpenStack/Gnocchi/plugin_instance.py + lxc exec MON -- nohup python /root/MON/osm_mon/core/message_bus/common_consumer.py > /root/MON_plugins.log 2>&1 & -* To run the Aodh plugin run the following command: +* To enable Aodh alarm notifications to be sent to SO: :: - lxc exec MON - python /root/MON/plugins/OpenStack/Aodh/plugin_instance.py + lxc exec MON - nohup python /root/MON/osm_mon/plugins/OpenStack/Aodh/notifier.py & CloudWatch ~~~~~~~~~~ -The MON container supports a CloudWatch plugin as well. +The MON container supports a CloudWatch plugin on installation. Verification @@ -115,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