Skip to content
Snippets Groups Projects
Commit 0bee0853 authored by Michael Boniface's avatar Michael Boniface
Browse files

Update monitoring.md

parent ce4fa013
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,7 @@ Tags can be structured to provide query by dimensions allowing series data to be
#### Temporal Measurements
Discuss time-series data, processing and aggregation
#### Spatial Measurements
####Spatial Measurements
Discuss hierarchical tags vs GPS coordinate systems
......@@ -35,10 +33,18 @@ Discuss hierarchical tags vs GPS coordinate systems
The high-level entities involved in the measurement model are defined in the figure below. The core of the model is the Surrogate SF as the primary measurement point as this is the physical realisation of services running on the platform. A Surrogate SF is a process running on a physical or virtual host with ports connecting to other Surrogate SFs within the network. The Surrogate SF has measurement processes running to capture different views on the SF include the network, host resources, and SF usage/performance. The acquisition of these different views on the SF together is a key element of the cross-layer information required for management and control. The measurements about a surrogate SF is captured by different processes running on the VM or container but are brought together by globally asserted monitoring metadata allowing the information to be integrated, correlated and analysed.
![MeasurementModel](/docs/images/measurement-model.jpg)
Network and host measurements are general to all surrogate SFs running within the platform. SF usage and perf measurements are specific to the SF implementation. The Platform itself is realised using SFs and therefore NAPs and the Topology Manager are also monitored using the same model. For media component SFs that form part of a Service Function Chain within a Media Service, the measurement fields are not defined and developers can decide what fields they want to use. However, global tags will be inserted for all measurements to allow for integration of SF specific measurements with network and host measurements.
### Architecture
The monitoring model using an agent based approach. The general architecture is shown in the diagram below.
![AgentArchitecture](/docs/images/agent-architecture.jpg)
An agent is deployed on each of the container/VM implementing a SF. The agent is deployed by the orchestrator when the SF is provisioned. The agent is configured with a set of input plugins that collect measurements from three aspects of the SF including network, host and SF usage/perf. The agent is configured with a set of global tags that are inserted for all measurements made by the agent on the host.
Agent-based monitoring
* Telegraf AMQP: https://github.com/influxdata/telegraf/tree/release-1.5/plugins/inputs/amqp_consumer
......@@ -72,10 +78,19 @@ Hierarchical monitoring and scalability considerations
ISSUES
* Adapting the MOOSE agent?
**Adapting the Mona/MOOSE agent?**
MOOSE is the monitoring system provided by POINT and FLIPS. The monitoring specification has been analysed to refactor the measurements into series. The full monitoring specification is available here:
**Trust in measurements**
If the agent is deployed in a VM/container that a tenant has root access then a tenant could change the configuration to fake measuremnents associated with network and host in an attempt gain benefit. This is a security risk. Some ideas include
* Deploy additional agents on hosts rather than agents to measure network and VM performance. Could be hard to differentiate between the different SFs deployed on a host
* Generate a hash from the agent configuration file that's checked within the monitoring message. Probably too costly and not part of the telegraf protocol
* Use unix permissions (e.g. surrogates are deployed within root access to them)
https://drive.google.com/file/d/0B0ig-Rw0sniLMDN2bmhkaGIydzA/view
A couple of comments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment