Icon

Comments have been closed on this page. Please use AppMon & UEM Open Q & A forum for questions about this plugin.

Overview

This plugin can send Dynatrace Application Monitoring incident messages to a HipChat chat channel.

Name and Version

HipChat Incident Message Plugin

Compatible with

>= 6.2.1

Author

Tomislav Fiskus (tomislav.fiskus@dynatrace.com)

License

dynaTrace BSD

Support Level

Community Supported

Download

Plugin download: com.Dynatrace.HipChat_1.2.0.jar

Source code GitHub

Description

This plugin can send Dynatrace Application Monitoring incident messages to a HipChat chat channel.


Version 1.1 - added flag to choose whether to notify or not in incident action configuration

Version 1.2 - added ability to reference a dashboard in the alert

 

Prerequisites

You will first need to enable a particular HipChat channel in order to be able to receive external messages. This can be done easily in the HipChat Web UI. Here is an example:

 

Installation

Import the plugin jar-file to the Dynatrace Appliation Monitoring server. Instructions can be found here: Plugin Management

Configuration

Select the incident you want to set up HipChat alerting against. Open the edit dialog. Ensure the HipChat Plugin is added in the "Action" tab.

Example incident message received in HipChat channel:

Send "Hello World" Test Message - Quick Plugin Test

You can quickly test if the plugin works in your environment in the following way:

How to Develop This Plugin Further

The following chapter will briefly explain how you can develop this plugin further. You will first need to checkout the plugin (see previous chapter "Send "Hello World" Test Message - Quick Plugin Test"). During the checkout process, you will be prompted to specify a checkout directory. Open the following file

<CheckoutDirectory>\DynatraceHipChat\src\com\Dynatrace\HipChat.java

 

As of now (02 October 2015), the HipChat API allows HTML message formatting only to a limited extent. The following link provides more details: https://www.hipchat.com/docs/api/method/rooms/message

After you save the HipChat.java file, click on "Build" in the Dynatrace plugin section. This should be done regularly as this will help you to detect any possible sytax / coding errors early. Once you have finished developing, click "Deploy". Here is an example: