Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

Frequently Asked Questions

Can I notify a single user for some alerts?

Notifying a single user with OpsGenie is straight forward; just specify the user as the recipient of the alert.

If you are using OpsGenie Alert API or tools (lamp) to create alerts, you can put the username of the user into the recipients field. If you're forwarding alerts to OpsGenie via email, you can define an email rule and specify the recipient there.

Note that if you're creating the alerts via the web UI, OpsGenie web UI allows entering user's full name and auto-completes as you type in the name. It actually sets the recipient to the username in the background.

Can I notify multiple users at the same time?

Yes. Recipients field support multiple entries, hence if you're using the API, simply put the usernames of all the users you'd like to notify in the recipients field in comma separated format.

With this configuration, each of the users in the recipients field would be notified as soon as the alert is created (according to each user's own notification preferences)

Can I have a representative from each team on-call and get notified for alerts?

Yes. You can simply create an on-call schedule for each team and specify each of the on-call schedules as a recipient. This would allow each of the team to manage their own on-call schedule and rotations, and one member of each team would be notified immediately for the alerts.

Can I notify Fili first and then Kili only if Fili does not acknowledge the alert in 10 minutes?

Yes. When usernames and/or groups specified as the recipients, all specified users are notified immediately. To notify users in order with a time delay OpsGenie provides "escalations". In an escalation, OpsGenie tries each user and/or group in order until the alert is acknowledged by someone (or closed).

To notify first Fili, and then Kili, first create an escalation, and specify the names of the users and/or groups and the time delay between each in the escalation rules.

Then when creating the alert, simply put the name of the escalation into the recipients field.

Can I notify multiple users without specifying their names while creating the alert?Can I notify members of the webops team immediately and notify to their manager if the alert is not acknowledged in 10 minutes?

Yes. OpsGenie web API allows specifying the name of a "group" in the recipients field. Just create a "group", add users to the group, and put the group name into the recipients field

With this configuration, each member of the group would be notified as soon as the alert is created, according to the user's notification preferences. Using groups as the recipient instead of individual users may be preferred since modifying group membership is typically easier than modifying various integration scripts, email rules, etc. and can be done in a single place.

Can I notify members of the webops team immediately and notify to their manager if the alert is not acknowledged in 10 minutes?

Yes. Create an escalation that notifies webops_team group immediately, and notifies Thorin after 10 minutes (if the alert is still not acknowledged or closed)

Then when creating the alert, specify the escalation as the recipient of the alert.

Can the engineer who should be notified determined according to an on-call schedule?

Yes. You can create an on-call schedule with daily, weekly or custom rotation, and specify the on-call schedule as the recipient of the alert.

Can I notify the on-call engineer first, and escalate it to the team members if the alert is not acknowledge in 10 minutes?

Yes. You can create an on-call schedule and an escalation and specify both as the recipients of the alert.

Can I notify the entire team during working hours but use escalations off hours?

Yes, you can obtain this behavior as follows:

Create an escalation that notifies all members of your team as in the following example:

  • Create an on-call schedule.
  • Add one rotation for Work Hours that notifies the escalation above within work hours like in the following setup:

Add another rotation for Off Hours that notifies your team within the off-hours, like in the following example. Please note that this rotation will notify the members of the team according to the order and time specifications of its escalation policy.

Your final schedule will look like the below:

You can refer to our Teams, Escalations and On-call Schedules and Rotations documents for further information.

Can I change my account owner?

Yes. You need to follow these steps:

  • The owner of the account can assign any user as owner. So, log in with the current owner and set a user as Owner from "Users" page, by selecting the user's role as "Owner" .
  • New owner can log in and change the role of old owner or delete old owner.

Can I copy my notification rules to other users?

You can copy a user's current Notification Settings to multiple other users; by making a single POST request to OpsGenie Web API. This is particulary useful if, for example, you've configured a good set of notification rules on your profile; and now want to apply these same rules to your 50 other users.

Upon a successful POST request, OpsGenie responds with the text "process started" and starts updating the notification rules of the targeted users; asynchronously. The whole process may be completed in ranging from 5 seconds to 10 minutes, depending on the size of the operation.

After all the updates are made, OpsGenie adds to your log stream a report of the operation, with the message "Copying of notification rules completed". In this report you can see how many users are updated and details of partial updates, in case your users haven't configured all their contact methods for the notification rules.

Either use the API key of your "Default API" integration in Integrations page or create an API Integration and obtain its API key to make the request below. Please make sure that the integration is not restricted to access configurations.

Please note that all the existing notification rules of the target users for the specified types will be deleted before copy.

The POST request takes the following parameters:

apiKey

API key is used for authenticating API requests

fromUser

Username of the template user. This user's notification rules will be used for copying.

toUsers

Specify a list of the users which you want to copy the rules to. You can use the username of a user, the name of a group, or to copy to all users, "all".

ruleTypes

Specify a list of the action types you want to copy the rules of. It can contain "New Alert", "Acknowledged Alert" or for all types of notification rules, "all". The total list of valid types are:

  • all
  • New Alert
  • Acknowledged Alert
  • Closed Alert
  • Schedule Start
  • Renotified Alert
  • Assigned Alert
  • Add Note

Sample Request

curl -XPOST 'https://api.opsgenie.com/v1/json/copyNotificationRules' -d '
{
    "apiKey": "eb243592-faa2-4ba2-a551q-1afdf565c889",
    "fromUser" : "john.smith@opsgenie.com",
    "toUsers" : [
        "group1",
        "andy.doe@opsgenie.com",
        "dave.white@opsgenie.com"
    ],
    "ruleTypes" : [
        "New Alert",
        "Alert Closed"
    ]
} '
     

Response:

{
     "status" : "process started",
     "code" : 200
}

Can I export alerts?

You can export your alerts by submitting a form in Reports Page. You will receive an email contains a link to download the export result. By clicking, you can download a zip file containing two csv files. One of them contains alert data, and the other one contains alert count data day by day.

Alert data contains alert creation and update times in milliseconds along with human-readable timestamps in your account's timezone. Timestamp information also contains the timezone offset.

You can export maximum 10k alerts per export request. In that case, result email contains a link to continue exporting the rest of your alerts.You can export all alerts or just your alerts by enabling the Only My Alerts field in the form.

Frequently Asked Questions