X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=README.rst;h=d0e4b2040cee113c2df0c362d524cdc5d88979b9;hb=a2eeb474200b8f9ebcaee6fa68fe52b6e1a5e337;hp=ffec126effddbc9f03fa84582c47dc2e3a5deded;hpb=5ac7c081ca13495185ecf6bdf302c16c25a4b759;p=osm%2FMON.git diff --git a/README.rst b/README.rst index ffec126..d0e4b20 100644 --- a/README.rst +++ b/README.rst @@ -31,27 +31,81 @@ Components MON module has the following components: - - MON Central: Handles vim accounts registration and alarms CRUD operations, through messages in the Kafka bus. - - MON Collector: Collects metrics from VIMs and VNFs and then exports them to a TSDB. It uses a plugin model both for collectors and for backends. - - MON Evaluator: Evaluates alarms and sends notifications through the Kafka bus when they trigger. +* MON Central: Handles vim accounts registration and alarms CRUD operations, through messages in the Kafka bus. +* MON Collector: Collects metrics from VIMs and VNFs and then exports them to a TSDB. It uses a plugin model both for collectors and for backends. +* MON Evaluator: Evaluates alarms and sends notifications through the Kafka bus when they trigger. Supported Collector Plugins *************************** - - OpenStack: Requires Gnocchi to be enabled. - - VROPS - - AWS: TBD +* OpenStack: Support for Gnocchi and legacy Ceilometer telemetry stacks. +* VROPS: Support for VIO and VCD. +* AWS: TBD + +Configuration +************* + +Configuration is handled by the file [mon.yaml] (osm_mon/core/mon.yaml). You can pass a personalized configuration file +through the `--config-file` flag. + +Example: + + osm-mon-server --config-file your-config.yaml + +Configuration variables can also be overridden through environment variables by following the convention: +OSMMON_
_= + +Example: + + OSMMON_GLOBAL_LOGLEVEL=DEBUG + +OSM NFVI Metrics +**************** + +The supported OSM NFVI metrics are the following: + +* average_memory_utilization +* disk_read_ops +* disk_write_ops +* disk_read_bytes +* disk_write_bytes +* packets_in_dropped +* packets_out_dropped +* packets_received +* packets_sent +* cpu_utilization + +Development +*********** + +The following is a reference for making changes to the code and testing them in a running OSM deployment. + +:: + + git clone https://osm.etsi.org/gerrit/osm/MON.git + cd MON + # Make your changes here + # Build the image + docker build -t opensourcemano/mon:develop -f docker/Dockerfile . + # Deploy that image in a running OSM deployment + docker service update --force --image opensourcemano/mon:develop osm_mon + # Change a specific env variable + docker service update --force --env-add VARIABLE_NAME=new_value osm_mon + # View logs + docker logs $(docker ps -qf name=osm_mon.1) + Developers ********** - - Benjamín Díaz, Whitestack, Argentina +* Benjamín Díaz , Whitestack, Argentina +* Prakash Kasar , VMWare Maintainers *********** - - Gianpietro Lavado, Whitestack, Peru +* Benjamín Díaz, Whitestack, Argentina Contributions *************