Skip to content

nmsa/tma-framework-m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitor Component @ TMA Framework

According to the architecture of the TMA Framework the TMA_Monitor component provides a generic interface that can be used by the probes installed in the different layers of the system to send data about the collected measurements and events. These data are then stored in the TMA_Knowledge component, where it will be available to be used in by the TMA_Analyze, TMA_Planning, and TMA_Execute components.

The monitoring interface receives data regarding a broad range of components in a generic fashion. To use this interface, the protocol defined here must be followed, to assure the basic security properties in the data transmission (integrity and confidentiality).

Monitor Usage Sequence Diagram Sequence diagram for the usage of the monitor component.

Each probe starts its activity with an authentication synchronous message, in which it will receive is probeId and the token to use in the ensuing messages. All communication is performed over SSL sockets. Each of the post observations interactions is an asynchronous message, which includes the obtained token in the headers. The messages format allows to aggregate multiple metrics and observations before sending, to avoid the communication overhead.

TMA Monitor Message Format

The messages to be submitted to the TMA_Monitor follow the JSON schema specified in tma-m_schema, which is currently in the version 0.3.

The figure below presents a representation of this schema, which is also explained below.

Monitor SchemaFormat of the data to be provided to the monitor component.

Each message includes:

  • probeId -- obtained during authentication
  • resourceId -- identifies the resource that is the subject of the attached data
  • messageId -- control information
  • sentTime -- control information
  • data -- an array of objects, each one including:
    • type -- event or measurement
    • descriptionId -- identifies the event or measurement, and an array of
    • observations -- each one is a pair of
      • time -- at which the specific observation was performed
      • value -- the observerd value which can be 0 in the case of event.

TMA Monitor Server

Documentation is available at development and server.

TMA Monitor Client libraries

Documentation is available at development, libraries and probes.

About

Component M - Trustworthiness Monitoring & Assessment Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •