From the course: Learning Nagios

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install the PagerDuty webhook

Install the PagerDuty webhook - Nagios Tutorial

From the course: Learning Nagios

Start my 1-month free trial

Install the PagerDuty webhook

- [Instructor] So I need to grab the configuration code from the PagerDuty website. I'll hop over there. This is the file I want to grab. So let me copy that URL. And then I need to put this in user local nagios etc objects, and I'll do my wget right there. And I'll want to edit that file. And down here on the line that starts with pager, there's a section that says your service key here. So we'll need to grab that service key from PagerDuty. I'll go back to the website. This is the integration key. And I'll paste that in, and save and quit the file. Next we'll need to edit our main nagios config file. And we'll just need to point it at that new object configuration file from PagerDuty, so I'll just copy one of these and paste it. And then change the name to pagerduty underscore nagios. And I'll save and quit this file. We will also need to add PagerDuty to the admins contact group, so that's in objects, contacts dot cfg. I'll search for admins. Here it is. And just after nagios…

Contents