Configure webhook endpoints in Nagios XI

Configure Nagios XI to send service and host notifications to Incident Response.

Before you begin

Role required: Responder, Manager, or Administrator

About this task

Supported version: Nagios XI 5.8.3.

Note: While this integration with a third-party product is supported, the documentation here is based upon information provided by that third-party. More current information about the operation of that third-party’s system may be available from them directly.

Procedure

  1. Log in to your Nagios XI application console.
  2. Navigate to Configure > Core Config Manager > Commands.
    Core Config Manager page.
  3. Click >_Commands.
  4. From the Commands page, click Add New to add a new command.
  5. On the Command Management page, fill in the fields:
    Field Description
    Command Name Name of your command.
    Command Line Field to paste the command from Incident Response.
    • For a service command, paste the first command you copied from the Script tab in Incident Response.
    • For a host command, paste the second command you copied from the Script tab in Incident Response.
    Command Type Type of command.

    Select misc command from the list.

    Active Indicate whether the object is active.

    Select the Active check box.

    Available Plugins Plugins available for Nagios XI.

    This field can be left empty.

  6. Click Save.
    You’re directed back to the Commands page.
  7. After creating your host and service commands, click Apply Configuration.
  8. From the navigation pane, under Alerting, select Contacts.
    You must configure your contacts to receive the host and service notification commands.
    Contacts page.
  9. From the Contacts page, click Add New to add a new contact.
  10. Enter the common, alert, and miscellaneous settings for the contact.
  11. Select the Alert Settings tab.
    To enable your contact to receive host and service notifications, perform the following settings:
    TypeSteps
    Host notification
    1. Click Manage Host Notifications Commands.
    2. From the Manage dialog box, select the host command you created and click Add Selected.
    3. Click Close.
    Service notification
    1. Click Manage Service Notifications Commands.
    2. From the Manage dialog box, select the service command you created and click Add Selected.
    3. Click Close.
  12. Click Save.
    You’re directed back to the Contacts page.
  13. After setting up the contacts to receive host and service notifications, click Apply Configuration.
  14. Add the contacts to the respective host and service that you are monitoring.
    Monitoring configurationSteps
    Host
    1. From the navigation pane, under Monitoring, select Host.
    2. Enter the common, check, alert, and miscellaneous settings for the host.
    3. Select the Alert Settings tab.
    4. Click Manage Contacts.
    5. From the Manage Contacts dialog box, select the host contact you created and click Add Selected.
    6. Click Close.
    7. Click Manage Contact Groups and ensure that your Nagios XI roles are selected.
    8. Click Save.
    Service
    1. From the navigation pane, under Monitoring, select Services.
    2. Enter the common, check, alert, and miscellaneous settings for the service.
    3. Select the Alert Settings tab.
    4. Click Manage Contacts.
    5. From the Manage Contacts dialog box, select the service contact you created and click Add Selected.
    6. Click Close.
    7. Click Manage Contact Groups and ensure that your Nagios XI roles are selected.
    8. Click Save.
  15. Click Apply Configuration.

Results

Host and service notifications in Nagios XI will trigger alerts in Incident Response.

In Nagios XI, you can view the notifications under Reports > Available Reports > Notifications. In Incident Response, you can see the alerts on the Alerts page.