EightBitTony
Posts: 2
Joined: Fri Nov 02, 2012 10:40 am

Munin

Fri Nov 09, 2012 3:13 pm

I've hacked together a little plugin for Munin to monitor temperature, clock frequencies and voltages on the pi. It's over on GitHub if anyone feels like using it.

https://github.com/perception101/pisense

It's a wildcard plugin, ln -s it to pisense_volt, pisense_clock or pisense_temp to get the obviously named data out of it.

karlos13
Posts: 13
Joined: Wed May 01, 2013 3:36 am

Re: Munin

Wed May 01, 2013 3:55 am

Thanks for this, Munin works fine but the plugin does not work for me. It does not seem to be enabled.

Code: Select all

munin-run pisense
just shows

Code: Select all

Unknown Service 'pisense'
EDIT: I redid it and it worked perfectly thanks.

lsylvain
Posts: 3
Joined: Sun Sep 29, 2013 10:28 pm

Re: Munin

Thu Oct 10, 2013 1:35 am

I encountered the same error. What did you re-do to eliminate the error condition? BTW, nginx is up (there's a welcome screen), but nothing is being generated to /var/www/munin.

lsylvain
Posts: 3
Joined: Sun Sep 29, 2013 10:28 pm

Re: Munin

Thu Oct 10, 2013 4:26 am

I did manage to resolve the error with export MUNIN_LIBDIR=/usr/share/munin, but no output is being generated in /var/www/munin and all I see in the browser is the "Welcome to nginx!" heading.

lsylvain
Posts: 3
Joined: Sun Sep 29, 2013 10:28 pm

Re: Munin

Fri Oct 11, 2013 4:37 am

So it turns out the location of the munin directory for output was wrong. The docs pointed to /var/www/munin, but the www directory for nginx is in /usr/share/nginx/www, so the munin directory must be located in /usr/share/nginx/www/munin (or a symbolic link can be created) and permissions must be set. Nice output, although munin burns a respectable amount of cpu when one of the jobs runs. Nonetheless, nice job.

Return to “General discussion”