> For the complete documentation index, see [llms.txt](https://docs.cloudfabrix.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudfabrix.io/rda/cfxdx-datasource-integrations/nagios-xi.md).

# Nagios XI

## **Configure Nagios XI for API Access:** <a href="#create-webhook-for-incoming-alerts-from-dynatrace-1" id="create-webhook-for-incoming-alerts-from-dynatrace-1"></a>

CloudFabrix supports Nagios XI API integration for fetching asset inventory (host, service data) , relationship data (host & service groups) periodically or on demand. The collected data is primarily used to get additional information for Alert enrichment, correlation to reduce the alert noise & to triage the incident faster. For API integration, it requires only read access permissions. Follow the below given steps to create service account for CloudFabrix AIOps solution with read-only permissions on Nagios XI monitoring tool.

**Step 1:** Login into Nagios XI monitoring tool with admin privileges.

**Step2:** Click on '**Admin**' --> Click on '**Manage Users**' and --> Click on '**Add New User**' to create new user account.

![](/files/-Mcvqz7bPa8ImvM1xw-g)

**Step 3:** Enter **Username**, **Password**, **Name** & **Email Address**.

**Unselect the below items:**

* Force Password Change at Next Login:
* Email User Account Information:
* Create as Monitoring Contact

**Select the below items:**

* Account Enabled
* Security Settings
  * Authorization Level: User
  * Can see all hosts and services
  * Read-only access
  * API access

Click on '**Add User**'

![](/files/-McvrADZ9h1PDrVvU8ek)

**Step 4:** Click on newly create user account (i.e. cfx-readonly) to view the account settings.

![](/files/-McvrOhCsxM64AUZDzyV)

**Step 5:** Copy the API Key to feed it into CloudFabrix AIOps solution. You can also generate new API key by clicking on '**Generate new API key**' button.

![](/files/-McvrgAuJLGsQrPQmXRn)

## Adding Nagios XI as Datasource/Extension in 'RDA': <a href="#adding-appdynamics-as-datasource" id="adding-appdynamics-as-datasource"></a>

Nagios XI or any other datasource/extension's configuration is configured in RDA's user interface.  Login into RDA's user interface using a browser.

**https\://\<rda-ip-address>:9998**

Under '**Notebook**', click on '**CFXDX Python 3**' box

![](/files/-McvJao2W2zwuMV05Ek3)

In the '**Notebook**' command box, type **`botadmin()`** and **`alt (or option) + Enter`** to open datasource administration menu.

Click on '**Add**' menu and under **Type** drop down, select **`nagios`**

![](/files/-McvtEaeQziwksVnE8rt)

* **type**: Datasource/Extension type. In this context, it is '**nagios**'
* **name**: Datasource/Extension label which should be unique within the RDA
* **Hostname:** VMware vCenter's IP Address or DNS name
* **API Key**: API key in Nagios UI that was created with 'read-only' permissions

Click on '**Check Connectivity**' to verify the network access and credentials validity. Once it is validated, click on '**Add**' button to add the Nagios XI as a datasource.

Below are available data bots for Nagios XI datasource.

![](/files/-Mcvtu_GiwC0jzgNcUE2)

## Nagios exploration in '**RDA**': <a href="#adding-appdynamics-as-datasource" id="adding-appdynamics-as-datasource"></a>

Once Nagios integration details are configured in RDA as a datasource, it will be ready to connect to targe Nagios and explore the data for the analysis.

For the details on Nagios inventory data collection bots, refer [**CloudFabrix RDA Bot documentation.**](https://bot-docs.cloudfabrix.io/Bots/nagios/)
