AttributeError: 'module' object has no attribute 'Session' in CentOS 8
blackopsrepl opened this issue · 0 comments
blackopsrepl commented
Hello,
I get this error when running this check on CentOS 8 - Python version 2.7.18 . Issue is not present on CentOS 7 - Python version 2.7.5
Traceback (most recent call last):
File "/usr/bin/check_snmp_idrac.py", line 21, in
import health_monitoring_plugins.idrac
File "/usr/lib/python2.7/site-packages/health_monitoring_plugins/init.py", line 139, in
class SnmpSession(netsnmp.Session):
AttributeError: 'module' object has no attribute 'Session'
Any idea how I could solve the problem?