Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Failed to load latest commit information.
RRD M3/RRD: added an XML generator for munin monitors
jiffy-web M3: added jiffy-web patch and sample configuration
ntop M3: added back to be backward compatible with articles M3: moved API key and secret key to M3: added and M3: replaced the 'template' support with regex and added concrete exa… Update master M3: fixed common problem of hash casting (happened too many times) Added M3: added and M3: moved API key and secret key to
config_sample_xpath_extraction.xml M3: moved API key and secret key to
cpu_memory_stats.xml Added Http load time monitor template for M3
dbi_sample.xml M3: moved API key and secret key to
pgsql_statistics.xml M3: changed monitor names in pgsql_statistics.xml
snmp_test.xml M3: added SNMP query support
twitter_followers_sample.xml M3: moved API key and secret key to


M3 => MMM => Monitis Monitor Manager

This is a utility that would help you to manage monitors in Monitis.

M3 helper scripts

  • - Executes all agents, then sends the monitoring data to Monitis.
  • - Same as, however does not send monitoring data to Monitis. Can be used to debug your parsing.
  • - Runs M3 in a loop using timers to schedule invocation of monitors
  • - Same as but does not send monitoring data to Monitis.
  • - Operates on the output line by line, very useful for mass loading of data obtained from log files.
  • - Same as but goes with a dry run.\
  • will convert a nagios configuration to M3 - still work in progress
  • RRD/munin_xml_generator - Creates a M3 configuration from munin data

Any of these scripts can be composed by yourself, it's a simple perl line.

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.

Something went wrong with that request. Please try again.