OUCE 2014 - Configuring OpenNMS via Rake
Channel: OpenNMS
Date: 27/01/2015

Because rake rocks!

by

Manuel Villarejo

Reducing the amount of background knowledge required to start using openNMS has been one of the main aims I've had last two years. At the same time that configuration procedure is simpler more time is available for improvements.
Also working in a 'multi environment' scenario can introduce another layer of complexity that can degenerate in a 'where-is-what' situation when

A well defined procedure with version control and automated config generation of several openNMS instances can be a child's play!

1. OpenNMS + svn + puppet = success!
Basic puppet server manifest and modules that support openNMS server installation and svn versioning to support several instances.

2. Simplifying openNMS config files generation using Rake
How to use “Ruby Makefiles” (Rakefiles) with templating to produce openNMS configuration starting from simple text files. This highlight the fact that openNMS config files can be not as straightforward as they look like when stepping into openNMS

2.1 - poll monitor (HTTP, SNMP process)
How to implement basic HTTP and SNMP process availability using rake.

2.2 - datacollection (JMX, JDBC)
Collect mbeans and JDBC queries output using rake.

2.3 - Graph generator
Generate graphs for metrics being collected and give it some format. How to add improvements to that graph generator tool.

2.4 - Monitor and datacollection (URLs monitor + response times)
Create combined monitors and datacollection configurations from simple config entries.

3. Fix a config once or create a config generator?
Where to go now?

http://ouce.opennms.eu/en/ouce2014/public/events/80