/impd

Intermapper Notifier for Pagerduty

Primary LanguageGoMIT LicenseMIT

impd - Intermapper Pagerduty notifier

This is a simple program for triggering, acknowledging and resolving incidents on pagerduty.

Installation

In order to compile from source, golang needs to be installed on the machine compiling the code (Go Installation Instructions). To ease installation of dependencies we recommend installing glide.

  1. Download package go get github.com/blacksails/impd
  2. Install dependencies with glide glide install or just download the single dependency go get github.com/blacksails/pdevent
  3. Compile package go build
  4. Move binary to the Intermapper Tools folder. The tools folder can be found within the Intermapper settings folder. For more info about the location of the folder, see the intermapper docs.
  5. Ensure that the binary has the right permissions so that Intermapper can execute it.

Configuration

Add a new notifier with the Command Line type. Insert command with pagerduty service key into the command field.

impd -k "<PAGERDUTY_SERVICE_KEY>" ${MESSAGE}

Edit the message and add the following exact message.

-e '<Event>' -d '<Smart Name>: <Device Condition>' -i '<Device-IMID>'
  1. Configure the notifier for the probes that you want