X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=doc%2FMON_install_guide.rst;h=5265e5991363b5d088d95a684cd44381ea201e9e;hb=d4f2f20c230d7f253d6e6072752ccbab0f49dc1c;hp=22d4764f72c9759cb17b62356c15afeb94bb6f0b;hpb=94f93f717ead448f13dc272ed765e008a0e64c81;p=osm%2FMON.git diff --git a/doc/MON_install_guide.rst b/doc/MON_install_guide.rst index 22d4764..5265e59 100644 --- a/doc/MON_install_guide.rst +++ b/doc/MON_install_guide.rst @@ -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= + 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/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