munin-monitoring / contrib

Contributed stuff for munin (plugins, tools, etc...)
http://munin-monitoring.org
1.05k stars 678 forks source link

Fix for Python 3 #1355

Closed kboenke closed 1 year ago

kboenke commented 1 year ago

Default for Python 3 is to return byte-objects, not string. This will cause the plugin to fail with an error: "TypeError: a bytes-like object is required, not 'str'". Fixed by decoding for UTF8.