Configure the Nagios metric connector instance to receive Metric Intelligence raw data from the Nagios server.

Before you begin

To activate metric collection, ensure that the MID Server that retrieves metrics is configured with the Metric Intelligence extension and that the extension is in Started mode. See Manually configure the Metric Intelligence extension.

  • Create basic authentication credentials on ServiceNow instance with Nagios SQL database username and password.
  • ServiceNow does not support discovery for Nagios. Therefore, create the CI entry manually in the respective table using the hostname configured on the Nagios platform.

Role required: evt_mgmt_admin

About this task

By default, CI binding will occur for the following entities:
  • HOST HTTP Endpoint: The event rule applies to the Nagios metric HTTP if you are running a check that includes command_name as service_http.
  • MySQL Instance: The event rule applies to the Nagios metric MySQL if you are running a check that includes command_name as mysql.

If you are running any other checks on HTTP endpoints or MySQL, you can edit the existing event rule to add the command_name. For other entities, configure event rules based on CI binding requirements.

Procedure

  1. Navigate to Event Management > Integrations > Connector Instances.
  2. Select New and create a connector instance.
    For details on the connector instance fields displayed on the page, see Nagios connector instance form.
  3. Select and hold (or right-click) the form header and select Save.
    The connector instance values are added to the form and the parameters that are relevant to the connector appear.
  4. (Optional) In the Connector Instance Values section, you can edit the values of the mandatory Nagios parameters.
    For details on the connector instance value parameters, see Nagios connector instance value parameters.
  5. In the MID Servers for Connectors section, add a MID Server for the Nagios connector to use.
  6. Ensure that the CIs related to the metrics exist in the instance.
  7. Create an event rule to perform CI binding, as needed.
  8. Select Test Connector to verify the connection between the MID Server and the connector.
  9. After a successful test, select the Active check box and then select Update.