Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PagerDuty recipe does not install agent #498

Open
jldugger opened this issue Jul 20, 2016 · 6 comments
Open

PagerDuty recipe does not install agent #498

jldugger opened this issue Jul 20, 2016 · 6 comments
Labels
Bug Something isn't working hacktoberfest An issue highlighted for the digital ocean Hacktoberfest Event

Comments

@jldugger
Copy link

notify_pagerduty.pl enqueues alerts in /tmp/pagerduty_nagios, but there's no agent installed to forward these on to PagerDuty.

https://www.pagerduty.com/docs/guides/agent-install-guide/ suggests they have a repo, GPG key and package. Is this functionality missing intentionally?

@mdarii
Copy link

mdarii commented Jul 21, 2016

@jldugger Hi, This cookbook is using perl script integration: https://www.pagerduty.com/docs/guides/nagios-perl-integration-guide/
It doesn't require to install PagerDuty agent. Perl script flush alerts to PagerDuty. If your nagios instance doesn't trigger alert in PD, check if on service/host pagerduty contact is added, also check if you are using right api key.

@jldugger
Copy link
Author

jldugger commented Jul 21, 2016

Ah, thanks for that reference!

It looks like I need to add the pagerduty user to a contact group. I ran that perl script directly as root and didn't see anything go through, and couldn't find any logs for pdagent. As we're running CentOS7 and want bidirectional support, I hadn't really considered the perl script compatibility mode. Perhaps a separate setup for centos 6+ should be used.

Jul 21 16:55:01 mon1.osuosl.org pagerduty_nagios[20555]: Nagios event in file /tmp/pagerduty_nagios/pd_1469035215_27159.txt DEFERRED due to network/server problems.

I'll have to look into that more, but I at least understand more about the problem.

@jldugger
Copy link
Author

Had to install yum install perl-LWP-Protocol-https, which isn't mentioned in PD's docs.

@jldugger
Copy link
Author

jldugger commented Aug 2, 2016

tl;dr: CentOS7 support is not present, as clearly documented in the metadata.

@damacus
Copy link
Member

damacus commented Jun 15, 2017

@jldugger if you'd like to open a PR and fix this we'd greatly receive it!

Thanks!

@damacus damacus added the bug label Jun 15, 2017
@damacus damacus removed the bug label May 9, 2019
@github-actions
Copy link

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

@github-actions github-actions bot added the Stale label Sep 30, 2020
@xorimabot xorimabot removed the Stale label Sep 30, 2020
@ramereth ramereth added Bug Something isn't working hacktoberfest An issue highlighted for the digital ocean Hacktoberfest Event labels Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working hacktoberfest An issue highlighted for the digital ocean Hacktoberfest Event
Projects
None yet
Development

No branches or pull requests

5 participants