Nagios Incident Manager - How To Integrate Incident Manager With Nagios XI


Purpose

This document describes how to integrate Nagios XI events with Nagios Incident Manager.  Integrating these two products will automatically create and manage Nagios XI incidents in Nagios Incident Manager allowing teams and individuals to track and solve problems faster.

 

Target Audience

This document is intended for use by Administrators who wish to automatically create and manage Nagios XI incidents in Nagios Incident Manager. This document assumes the reader has both Nagios XI and Nagios Incident Manager installations already completed.

 

Overview

The Nagios Incident Manager Integration Component forwards events for Hard state changes for hosts and services that are in problem states, and can be customized to allow for selected events to be forwarded to Nagios Incident Manager as new incidents. This component also allows Nagios Incident Manager to respond back to Nagios XI with Acknowledgments and Comments for incidents that receive updates in Nagios Incident Manager.

 

Setting Up Incident Manager

Nagios Incident Manager requires both a user account and an incident type to be specified in order to successfully integrate with Nagios XI.  Let's start by creating a new account specifically for Nagios XI in the Incident Manager.  

After logging into Incident Manager, access the 'Administration → Manage Users' page, and click the 'New User' button.
For demonstration purposes, we'll create a username“nagiosxi”, and this user needs to be assigned the Role of Administrator from the drop-down.

The actual username can vary, but it is recommend to keep this account separate from normal user accounts for security purposes.  Continue filling out the required fields as indicated with a * next to the field name with valid data.

Set the user account as Active and click the Save User button.Once the user is created, click on the user's hyperlink to access the user's details, and scroll down to locate the users API Key.

This key will be the authentication token that Nagios XI and Nagios Incident Manager use to communicate with each other, and this value will be needed to configure the Nagios XI component.



Next we'll create a new Incident Type by accessing the 'Administration → Manage Incident Types' page.

Click the New Type button. Use whatever name seems appropriate for your environment (in this example we used XI Incident), and click 'Save Type'.

Once your incident type is created, make note of the Alias for the incident type, as this will be needed by the Nagios XI component. 

 

Setting Up The Nagios XI Component

Starting with Nagios XI 2012 all existing components and wizards come pre-packaged with Nagios XI.  You will only need to do this step if you are running an earlier version of Nagios XI.

The Nagios Incident Manager Integration Component component can be downloaded from the following URL, and installed through Nagios XI's 'Admin → Manage Components' page.  

Nagios Incident Manager Integration Component
http://assets.nagios.com/downloads/nagiosxi/components/nagiosim.zip



Once the component is installed, the Nagios Incident Manager component will be listed on the Manage Components page and can be accessed by clicking the 'Edit Settings' icon.

 

Component Configuration

The Nagios Incident Manager Component has several configuration options to allow for flexibility in how new incidents are created. 

However, there are also multiple configuration options that are required for the component to work properly.  Lets examine the different options available.

 

 

Component Configuration

If callback registration is successful, Nagios Incident Manager should automatically update hosts and services in Nagios XI with comments and acknowledgments from Incident Manager.

 

For an acknowledgment to be submitted to Nagios XI, an incident must either be Closed, Resolved, or Acknowledged. If an incident is either Confirmed or the incident details are updated, Nagios Incident Manager will submit a Comment for that host or service. 

 

To update, remove, or modify the Nagios Incident Manager callback function, access the 'Administration → Manage

API Callbacks' page in Nagios Incident Manager.

 

 

 

 

 

Finishing Up

This should complete the process for integrating Nagios XI and Nagios Incident Manager software. For support related questions please visit us at the Nagios Support Forums:
http://support.nagios.com/forum



Article ID: 107
Created On: Mon, Jul 13, 2015 at 2:24 PM
Last Updated On: Wed, Feb 10, 2016 at 10:53 PM
Authored by: jolson

Online URL: https://support.nagios.com/kb/secure/nagios-incident-manager-how-to-integrate-incident-manager-with-nagios-xi-107.html