I am working on a Raspberry Pi 3 and I am trying to visualize some values of sensors on Munin. I am using Python in order to execute scripts on Munin. I found a script to test and I am trying to execute it but I got the following error :
Traceback (most recent call last):
File "cpu_field", line 23, in munin.main() AttributeError: 'module' object has no attribute 'main'
This is the script : https://github.com/CooledCoffee/python-munin/ Of course, I added at the beginning :
!/usr/bin/env python
But, what I didn't understand is that others scripts are working like this one : https://gist.github.com/tomoconnor/813813