rsmuc / health_monitoring_plugins

Several plugins for icinga / nagios
GNU General Public License v2.0
16 stars 15 forks source link

AttributeError: 'module' object has no attribute 'Session' in CentOS 8 #26

Open blackopsrepl opened 2 years ago

blackopsrepl commented 2 years ago

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?