No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Welcome to the Monitoring and Alerting Application

The Monitoring and Alerting (MnA) component aggregates Logging, Metrics, and Notifications. Log entries and notifications can be searched and managed through a central UI.


This project is licensed under the AIR Open Source License v1.0.

Getting Involved

We would be happy to receive feedback on its capabilities, problems, or future enhancements:

  • For general questions or discussions, please use the Forum.
  • Use the Issues link to file bugs or enhancement requests.
  • Feel free to Fork this project and develop your changes!


Many of the Monitoring and Alerting modules require configuration to be setup in Program Management in order for the modules to configure themselves correctly. A sample configuration file that includes all the properties can be found in: the repository. The contents of the file can be copied and pasted into Program Management.

  • - The server on which MongoDB is running
  • mna.mongo.port=27017 - MongoDB port
  • mna.mongo.user= - MongoDB user
  • mna.mongo.password= MongoDB password
  • mna.mongo.dbname=mna - Name of the MongoDB database
  • - Enable or disable email from MNA
  • - From address when email from MNA is sent
  • EMAIL ONLY - - Subject of email from MNA
  • - Host address of mail server
  • - Email port
  • - Email username
  • - Email password
  • - Start TLS enabled
  • - Email protocol used
  • - Use email authentication?
  • - Enable ssl over SMTP
  • - MNA REST context root path
  • mna.clean.days=30 - How long to retain logs before cleaning out. Not required. defaults to 30
  • mna.clean.cron=0 0 0 * * ? - timing for cron job. Not required. defaults to 0 0 0 * * ?

Clustered Environment properties

These are optional properties which are used when configuring a clustered environment behind a load balancer (LB). To activate clustered environment support, simply change the active profile setenv as follows: change from server.singleinstance to server.loadbalanced. Furthermore, you will need to set these key/value pairs appropriately:

  • mna.loadbalanced.url.scheme - {this should be http or https}
  • - {the loadbalancer’s name}
  • mna.loadbalanced.server.port - {if your server requires a port, include it here, otherwise put 80 in as the default}
  • mna.loadbalanced.includeServerPortInRequestURL - {boolean true/false value which indicates if the port should be included to resolve the server}
  • - {REST context name. e.g.: "/"}
  • mna.loadbalanced.server.webapp.contextpath - {webapp context name. e.g.: "/mna.webapp". Leave this blank if you are using ROOT as webapp context name}

REST Module

The REST module is a deployable WAR file ( that provides REST endpoints that can be used to access and modify Monitoring and Alerting data. The REST module has an internal dependency to the SB11 Program Management Client.

In order to run the REST WAR application, all setup necessary for the Persistence module must be performed. All setup to use the Program Management Client must also be performed. Details for the usage of the Program Management Client can be found in the Program Management Readme. The WAR should be deployed to a Tomcat-compatible application server.

Webapp Module

The Webapp module is a deployable WAR file (monitoring-alerting.webapp-VERSION.war) that provides the administrative UI for Monitoring and Alerting functionality. The Monitoring and Alerting UI provides search capabilities for aggregated log entries and notifications that have been sent by the system. It also provides the ability to create and manage notification groups and set the triggers that will send notifications to users.

The Webapp module uses the REST module for all data access, but this is a runtime dependency through a REST endpoint and not a direct code dependency. It also requires configuration to be setup in Program Management and it uses the Program Management Client to retrieve the configuration. Details for the usage of the Program Management Client can be found in the Program Management Readme. The WAR should be deployed to a Tomcat-compatible application server.

Persistence Module

The Persistence module is a JAR artifact that is used by the REST and JMX modules. It provides access to the data as well as services that can be invoked by other modules.

This module requires configuration to be set up in Program Management. It will use the Program Management client to retrieve the configuration data. Details for the usage of the Program Management Client can be found in the Program Management Readme.

Domain Module

The domain module contains all of the domain beans used to model the Monitoring and Alerting data as well as code used as search beans to create Mongo queries. It is a JAR artifact that is used by other modules.


These are the steps that should be taken in order to build all of the Monitoring and Alerting related artifacts.


  • Mongo 2.0 or higher
  • Tomcat 6 or higher
  • Maven (mvn) version 3.X or higher installed
  • Java 7
  • Access to sb11-shared-build repository
  • Access to sb11-shared-code repository
  • Access to sb11-rest-api-generator repository
  • Access to sb11-program-management repository
  • Access to sb11-monitoring-alerting repository

Build order

  • sb11-shared-build
  • sb11-shared-code
  • sb11-rest-api-generator
  • sb11-program-management
  • sb11-monitoring-alerting

Additional instructions are located in the repository.


Monitoring and Alerting has a number of direct dependencies that are necessary for it to function. These dependencies are already built into the POM files.

Compile Time Dependencies

  • Apache Commons IO
  • Apache Commons Beanutils
  • Jackson Datatype Joda
  • Hibernate Validator
  • Apache Commons File Upload
  • Java Mail
  • SB11 Program Management
  • SB11 Shared Code
    • Logback
    • SLF4J
    • JCL over SLF4J
    • Spring Core
    • Spring Beans
    • Spring Data MongoDb
    • Mongo Data Driver
    • Spring Context
    • Spring WebMVC
    • Spring Web
    • Spring Aspects
    • AspectJ RT
    • AspectJ Weaver
    • Javax Inject
    • Apache HttpClient
    • JSTL API
    • Apache Commons Lang
    • Joda Time
    • Jackson Core
    • Jackson Annotations
    • Jackson Databind
    • SB11 REST API Generator
    • JSTL
    • Apache Commons Lang

Test Dependencies

  • Spring Test
  • Hamcrest
  • JUnit 4
  • Flapdoodle
  • Podam
  • Log4J over SLF4J
  • JSONPath
  • Tomcat Catalina JMX Remote

Runtime Dependencies

  • Servlet API
  • EL API