You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Understanding ServiceNow Integration

Uptime Infrastructure Monitor integrates and uses ServiceNow to automatically generate a ticket or incident corresponding to each alert created in Uptime Infrastructure Monitor. When an alert is generated, such as when a server goes down, ServiceNow creates a ticket with a unique instance number. Repetitive alerts and emails are sent until the ServiceNow ticket status is changed, which sets the alert status to "ACK as acknowledgement of the alert or email. The alert is reset once the ticket status is set to Resolved or Closed.

Considerations when creating a ServiceNow ticket

If the ticket is already created in ServiceNow, i.e. a ticket with the same instance number already exists, and is in new state then a new ticket is not created.

If the ticket is already created with the same instance number, but the state of that instance is not Resolved or Closed, then Uptime marks the alert acknowledged (ACK). The moment alert is set to ACK, Uptime Infrastructure Monitor stops sending the alerts.

If the ticket is already created, but the state of that instance is Resolved or Closed and an alert is again generated by Uptime Infrastructure Monitor, then a new ticket with the different instance number is created in ServiceNow.

ServiceNow is triggered only if the set of alert rules specifies a critical condition and an alert is generated by Uptime Infrastructure Monitor.

Pre-requisites for ServiceNow configuration

The user should have the following data to configure Service Now Integration in Uptime:

• An active Service Now account

• Service Now Username:

• Service Now Password:

• Service Now Instance Path

Steps to configure Service Now in Uptime:

Steps:

1. Go to ‘Services’ tab

2. Click on ‘Add Alert Profile’ link in left. (Screenshot:1)

(Screenshot: 1)

3. Fill the ‘Name of Alert Profile:’ and other essential fields.

4. Check the ‘Open Incident in Service Now’ checkbox.

5. Fill the ‘Service Now’ credentials. (Screenshot: 2)

• Service Now Username:

• Service Now Password:

• Service Now Instance Path:

(Screenshot: 2)

6. Add this alert profile with host/network. (Screenshot: 3-4)

(Screenshot: 3)

(Screenshot: 4)

7. A ticket will be created in Service Now (under Incidents) if any new alert is generated in Uptime.

(Screenshot: 5)

Common mistakes while setting up the integration:

• User may put the wrong credentials of Service Now while setting up in Uptime.

• Instance path should be correct.

• Make sure the alert rules should be set up correctly.

• ‘Open Incident in Service Now’ checkbox should be checked.

• Make sure user’s email Id already configured in Uptime user account, if ‘Email Alert’ is used for alert profile.

• At least one ‘Notification Groups’ and ‘Service Monitors’ should be selected.

 

 

Understanding Alerts

When a problem occurs at a datacenter, Application, or SLA, the Monitoring Station can send alerts to users. Alerts are notifications that inform users who are configured to receive alerts of the problem. The notification message contains the following information:

  • the type of notification, either Problem or Recovery
  • the date and time when the problem occurred
  • the name of the host on which the problem occurred
  • the status of the host (see Understanding the Status of Services for more information)
  • the name of the service that is experiencing the problem
  • the current state of the service
  • any output from the monitor

Whenever the status of an Element changes (for example, from Critical to Warning), Uptime Infrastructure Monitor sends an alert.

You can also configure alert escalations that occur if a warning is sent and is not acted upon. For example, if an alert is sent to a system administrator, and the administrator does not attend to the problem within a specified amount of time, then the alert is sent to the administrator’s manager.

Uptime Infrastructure Monitor can send alert to a phone, pager, or one or more email addresses.

The following is a sample email alert:

The following is a sample pager alert:

Understanding the Alert Flow

Alerts in Uptime Infrastructure Monitor follow a specific flow. When Uptime Infrastructure Monitor detects a problem with a host, it issues an alert. Uptime Infrastructure Monitor then continues to check the host at specific intervals and reports on the status of the host.

Considering the following example:

  • Uptime Infrastructure Monitor checks the host system every 15 minutes
  • alerts are sent continually every check interval until Uptime Infrastructure Monitor detects a change in the state of the host system
  • whenever an error is encountered, Uptime Infrastructure Monitor rechecks the system every minute
  • if all rechecks up to the maximum number of rechecks fails, Uptime Infrastructure Monitor issues an alert

Uptime Infrastructure Monitor encounters a critical error on a host. Uptime Infrastructure Monitor performs three rechecks at one minute intervals–all of which return a critical error–and then sends an alert after the third recheck.

Uptime Infrastructure Monitor then checks the host every two hours. While Uptime Infrastructure Monitor encounters two critical errors, it does not send an alert. Then, the status of the host changes from Critical to Warning. When this change is detected, Uptime Infrastructure Monitor sends an alert informing recipients of the change in status. When the status of the host changes to OK, Uptime Infrastructure Monitor issues an alert informing recipients that the host has recovered.

This alert flow is illustrated in the following diagram:

All service monitors have a common set of Monitor Alert Settings that configure aspects of the alert flow.

Alert Profiles

Alert Profiles are templates that tell Uptime Infrastructure Monitor how to react to various alerts that are generated by service checks. Alert Profiles enable Uptime Infrastructure Monitor to execute a series of actions in response to the failure of a service check or when a threshold is exceeded. The following diagram illustrates how an Alert Profile works:

An Alert Profile can send an alert via email, or to a pager or a cell phone. You can configure any or all of these actions to occur simultaneously by associating the Alert Profile to multiple Notification Groups. For example, if a Web server process stops responding, both the system administrator and Web server administrator can be notified.

Custom Alert Formats and Alert Scripts

Alert Profiles include standard message templates for emails and pagers, which are well suited for most alerting needs. However, you can customize the format of the alert using predefined variables. When creating or configuring an Alert Profile, selecting the Custom Format option provides you with a template to modify, and override the message template for the alert type you have selected:
See Custom Alert Message Variables for more information.

In addition to sending alert messages, Uptime Infrastructure Monitor can also execute an alert script. When an outage occurs, the script is run on the Monitoring Station, once for each user who receives notification. Like custom alert messages, alert scripts use predefined variables to represent outage-specific information; these variables are passed to the script at the time of the outage.

For information on alert script variables, see Script Alert Variables. For more information on alert scripts, see the IDERA Knowledge Base article, Creating Custom Alert Scripts in Uptime Infrastructure Monitor Alert Profiles.

Creating Alert Profiles

To create Alert Profiles, do the following:

  1. On the Uptime Infrastructure Monitor tool bar, click Services.
  2. In the tree panel, click Add Alert Profile.
    The Add Alert Profile window appears.
  3. Type a descriptive name for the profile in the Name of Alert Profile field.
  4. In the Start alerting on notification number field, enter the number of times an error must occur before Uptime Infrastructure Monitor sends an alert notification.
  5. Enter the number of times to re-send the notification in the End alerting on notification number field.
    You can also select the Never Stop Notifying check box to have Uptime Infrastructure Monitor send notifications indefinitely.
  6. Select one or more of the following notification options:
    • Email Alert
      Sends the alert to the email addresses of the members of a Notification Group.

    • Pager Alert
      Sends the alert to the pagers of the members of a Notification Group.

    • Script Alert
      Executes an alert script on the Monitoring Station, once for each user who receives notification of the alert.
      Because this alert option relies on a script or batch file, enter its name and path in the Script Path field (for example, on Linux, /usr/local/uptime/scripts/scriptAlert.sh).

  7. If you are using an email or pager notification, and want to use a custom message instead of the standard template, click the Custom Format check box to begin creating a custom alert message. Use the following steps to create the message: 
    1. To expedite message creation, select a Short Template, Medium Template, or Long Template, then click Fill.
    2. Optionally modify the alert subject header.
    3. Optionally modify the alert message body.
    For information on custom alert message variables, see Custom Alert Message Variables.
  8. Select one or more Notification Groups that receive the notifications.
  9. Optionally attach this alert profile to one or more existing Service Monitors.
  10. Click Save.
  • No labels