rsmuc / health_monitoring_plugins

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

netsnmp.Session error #22

Closed UrbanDavid closed 3 years ago

UrbanDavid commented 3 years ago

Dear, I installed a new Icinga satellite. And I installed our plugin via pip. I am using centos 8 stream edition. I installed python 2,7 and I have this error message. I have installed 3 other servers with this plugin and working well.

[root@xx]# ./check_snmp_idrac.py Traceback (most recent call last): File "./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'

UrbanDavid commented 3 years ago

Sorry, I uninstall module netsnmp-py and all working well.