Find file History
Failed to load latest commit information.
MonitisMonitorManager M3v3: updated Apr 5, 2013 M3v3: made life easier - just call CPAN to create a distribution May 1, 2012


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:

  1. Execution
  2. Parsing
  3. Compute And they sit in the Execution, Parsing and Compute directories respectively.

M3 phases

  • Execution plugins - Collecting output
  • Parsing plugins - picking the interesting data
  • Compute plugins - Post processing and transformation of data
  • Loading data to Monitis

Plugin documentation

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.

Further reading

Learn more about Montis Monitor Manager Framework here.