Monitoring Extension Connector Dummy
This component represents the connector dummy for the OCCI monitoring extension. The skeleton for this connector is generated using OCCI-Studio. Hereby, for each element in the monitoring extension a single connector file is present, implementing how to react on different REST requests addressing the corresponding OCCI element. As the elements of the monitoring extension mainly inherit from elements of the enhanced platform extension provided by MoDMaCAO, the implementation of the lifecycle actions is quite similar. To handle the management of each individual component of a sensor, configuration management scripts have to be attached to them.
Attaching Configuration Management Scripts
To attach a configuration management script to a component, a user mixin serving as tag has to be created. Moreover, the component managed over the defined script has to have this mixin attached. Finally, the script itself is located on the MartServer, typically in a folder called roles, and has the same name as the mixin tag. The following figure gives an example of such an attachment. Here, the blue element is the User Mixin which is attached to the DataGatherer which is managed over lifecycle actions as described in the configuration management script called glances, located in the roles folder of the MartServer.