Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.82 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.82 KB

A System Monitor Platform Based On Collectd

Installation

First, install the mygme following:

Second, start mongodb locally by running the mongod executable in your mongodb installation (you may need to create a data directory or set --dbpath).

Then, run npm start from the project root to start . Finally, navigate to http://localhost:8081 to start using mygme!

Meta-model design

Alt text

A simple model instance

Alt text

Plugin example

1 Check the configuaration correctness

Run the ModelChecker plugin inside a node of meta-type Monitor.

Alt text

If your configuration is all correct, the plugin will show a successful running state, otherwise, you will get a runtime error as following, and the detail information will be given in the MESSAGE field.

Alt text

2 Generate the configuration file from model

Run the ConfigGnerator plugin inside a node of meta-type Machine.

Alt text

After running, you can download the generated configuration file from the ARTIFACTS field.

Alt text

The generated configuration file is something like this.

Alt text

3 Read from a configuration file to generate corresponding model

Run the ConfigReader plugin inside a node of meta-type Machine.

Alt text Alt text