M3 => MMM => Monitis Monitor Manager
This is a utility that would help you to manage monitors in Monitis.
M3 Plugin architecture
M3 has a plugin architecture. 3 types of plugins exist:
- Compute And they sit in the Execution, Parsing and Compute directories respectively.
- Execution plugins - Collecting output
- Parsing plugins - picking the interesting data
- Compute plugins - Post processing and transformation of data
- Loading data to Monitis
Very simple example
Inspecting the simplest example of M3 - etc_file_monitor.xml it'll execute the command:
# find /etc -maxdepth 1 -type f | wc -l
In order to collect the output and upload to Monitis you have to form a
regular expression, in this example it is:
<regex>(.*)</regex> Anything enclosed in parenthesis would be collected by the regular expression plugin.
Learn more about Montis Monitor Manager Framework here.