Introduction

Apache Karaf Decanter is a monitoring solution running in Apache Karaf.

It’s composed of three parts:

  • Collectors are responsible for harvesting monitoring data. Decanter provides collectors to harvest different kinds of data. We have two kinds of collectors:

    • Event Driven Collectors automatically react to events and send the event data to the Decanter appenders.

    • Polled Collectors are periodically called by the Decanter Scheduler. They harvest data and send it to the Decanter appenders

  • Appenders receive the data from the collectors and are responsible to store the data into a given backend. Decanter provides appenders depending on the backend storage that you want to use.

  • Alerters are a special kind of appender. A check is performed on all harvested data. If a check fails, an alert event is created and sent to the alerters. Decanter provides alerters depending on the kind of notification that you want.

Apache Karaf Decanter provides Karaf features for each collector, appender, alerter.

The first thing to do is to add the Decanter features repository in Karaf:

karaf@root()> feature:repo-add mvn:org.apache.karaf.decanter/apache-karaf-decanter/2.x.x/xml/features (1)
  1. Substitute the desired version, i.e. 2.8.0-SNAPSHOT, for 2.x.x

Or

karaf@root()> feature:repo-add decanter 2.x.x (1)
  1. Substitute the desired version, i.e. 2.8.0-SNAPSHOT, for 2.x.x

Now, you have to install the collectors, appenders, and eventually alerters feature to match your need.