I found 1 tpoic on this site ironically enough that references an updated CA cert as possible issue but nothing else. AFAICT the cert is fine. When I add the repo (for which the GPG key expired that was in the documentation so I had to dig around for that) and install the pdagent and pdagent-integrations software packages they will not start. Status is as follows:
>root@dc-devops-nagios-xi tmp]# systemctl status pdagent
× pdagent.service - PagerDuty Agent
Loaded: loaded (/etc/systemd/system/pdagent.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Wed 2025-01-22 21:59:55 UTC; 2s ago
Duration: 83ms
Process: 1496654 ExecStartPre=/bin/mkdir -p /var/run/pdagent (code=exited, status=0/SUCCESS)
Process: 1496655 ExecStartPre=/bin/chown -R pdagent:pdagent /var/run/pdagent (code=exited, status=0/SUCCESS)
Process: 1496656 ExecStart=/usr/share/pdagent/bin/pdagentd -f (code=exited, status=1/FAILURE)
Main PID: 1496656 (code=exited, status=1/FAILURE)
CPU: 63ms
Jan 22 21:59:55 dc-devops-nagios-xi pdagentdd1496660]: File "/usr/share/pdagent/bin/pdagentd.py", line 75, in <module>
Jan 22 21:59:55 dc-devops-nagios-xi pdagentd-1496660]: import pdagent.config
Jan 22 21:59:55 dc-devops-nagios-xi pdagentdd1496660]: ModuleNotFoundError: No module named 'pdagent'
Jan 22 21:59:55 dc-devops-nagios-xi pdagentdd1496660]: During handling of the above exception, another exception occurred:
Jan 22 21:59:55 dc-devops-nagios-xi pdagentdd1496660]: Traceback (most recent call last):
Jan 22 21:59:55 dc-devops-nagios-xi pdagentdd1496660]: File "/usr/share/pdagent/bin/pdagentd.py", line 81, in <module>
Jan 22 21:59:55 dc-devops-nagios-xi pdagentd 1496660]: import pdagent.config
Jan 22 21:59:55 dc-devops-nagios-xi pdagentd51496660]: ModuleNotFoundError: No module named 'pdagent'
Jan 22 21:59:55 dc-devops-nagios-xi systemd:1]: pdagent.service: Main process exited, code=exited, status=1/FAILURE
Jan 22 21:59:55 dc-devops-nagios-xi systemd:1]: pdagent.service: Failed with result 'exit-code'.
I did some more googles and it appears that it may be related to the version of python on my RHEL9 system. I have both python2 and 3 installed (long story) but even after editing the service file a bit to force it to use python2 it still gives the same error. I tried installing via pip3 but that didnt work as well.
I saw references to a transition to paython3 but it was almost a year ago and it said the python3 module hadn’t been finished. I’m not married to python3 but I would like to get to this work if possible. Clearly the directions on the oficial 2way integration doc are incorrect.
Has anyone gotten it working? I can’t be the only one with the host OS/software combo?