The following steps should be completed for every service that requires a Pager Duty integration:
- Within Pager Duty, click the "Services" tab and then click "Add New Service."
- Provide a name for the service, select an escalation policy, and then choose "Opsview" in the "Integration" menu.
- On the next page, copy your Service API Key
- At this point, you need to prepare Opsview for Pager Duty integration if you haven't done so already. I am not going to repeat these steps because Pager Duty has an excellent guide here. Follow the steps under "On Your Server" and "In Opsview" up to step 13.
- When you create a new user in Opsview, give it a unique name for the service. In this case, I am using "Pager Duty - Flickr".
- The role should be Administrator and the password should be something long, complex, and not easily guessable. You will never need it again, so feel free to make it 100 characters.
- Click Next
- In the "Pagerduty Service Key" box, enter the key you copied in step 3
- Submit the changes and you should now see your user listed
- Now, click on "No Notifications Configured" next to your user to be taken to the notifications page
- On this page, enter a name, check the box to notify by Pagerduty, and select all of the host groups and services related to that service only
- Edit the other defaults as needed, then submit the changes
- Be sure to reload Opsview so your changes take effect
- Now, you can repeat this process of creating a new user for each service you want to monitor separately
No comments:
Post a Comment