rsmuc / health_monitoring_plugins

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

Receive Unknown check_snmp_ilo4.py #23

Open oscarodrigo opened 3 years ago

oscarodrigo commented 3 years ago

Hello, When I use this script check_snmp_ilo4.py i always receives an unknown as a output asking to put ps, fan and drives. If i put the 3 together receives the following:

Traceback (most recent call last): File "/usr/local/bin/test.py", line 113, in ilo.process_temperature_sensors(helper, sess) File "/usr/local/lib/python3.6/site-packages/health_monitoring_plugins/ilo.py", line 443, in process_temperature_sensors temp_sensor_value, '', ":" + temp_sensor_threshold, "", "", TypeError: must be str, not bytes

If I put only one or two paremeters receives the following:

Unknown - Amount of power supplies must be specified (--ps)

Thanks in advanced

ernie-sys commented 2 years ago

I have the same problem.

Likely a problem with the Temperature Sensors. If I set --noTempSens everything works as expected.