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?