rsmuc / health_monitoring_plugins

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

TypeError: can't concat str to bytes #21

Closed UrbanDavid closed 3 years ago

UrbanDavid commented 3 years ago

Good morning. I installed your plugin for idrac but I have only phyton3 installed.

I tried to use it but I have error message:

Traceback (most recent call last): File "/usr/local/bin/check_snmp_idrac.py", line 104, in idrac.process_temperature_sensors(helper, sess) File "/usr/local/lib/python3.6/site-packages/health_monitoring_plugins/idrac.py", line 324, in process_temperature_sensors helper.add_metric(label=snmp_result_temp_sensor_names[i] + " -Celsius-", TypeError: can't concat str to bytes

Is it possible to run it under phyton 3?

rsmuc commented 3 years ago

Hi David, sorry the plugins will only work with Python 2. We are currently working on a version for Python 3 but it will take some time until we release them.