Skip to main content

Hi, I have installed the pdagent packages on a RHEL 9 system running Nagios. When attempting to run the agent /usr/share/pdagent-integrations/bin/pd-nagios. I get the following error:



Traceback (most recent call last):

File “/usr/share/pdagent-integrations/bin/pd-nagios”, line 188, in

import pdagent.config

ModuleNotFoundError: No module named ‘pdagent’


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

File “/usr/share/pdagent-integrations/bin/pd-nagios”, line 194, in

import pdagent.config

ModuleNotFoundError: No module named ‘pdagent’



My system is running python3:



Python 3.9.18 (main, Jan 4 2024, 00:00:00)

0GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] on linux



within python when I list the modules i see that pdagent and pdagentd are present.


The following packages were installed:


pdagent-1.7.4-1.noarch

pdagent-integrations-1.6.2-1.noarch


Any ideas folks?

Hi @chris hardy


We recently rotated our TLS certificates, and while that usually doesn’t cause any issues, this year some folks are having trouble with the pdagent tools related to the rotation. Our CA has a new root certificate that isn’t in some bundles.


On RHEL, you should be able to update the ca-certificate package to see if that is contributing to what’s going on with pdagent.


Reply