Showing posts with label munin. Show all posts
Showing posts with label munin. Show all posts

Wednesday, November 9, 2011

munin + lm_sensors

How to graph munin graphin with lm-senosrs ...


If you рave installed lm_sensors and you want to build graphics of cpu temperature or fan speed  you can do it with munin. all you need  it install munin (if it is not installed yet ..). Then you must "activate" senseors plugin check_sensors .
Simply create sym links :

#ln -s /usr/share/munin/plugins/sensors_   /etc/munin/plugins/sensors_fan 

#ln -s /usr/share/munin/plugins/sensors_   /etc/munin/plugins/sensors_temp

#ln -s /usr/share/munin/plugins/sensors_   /etc/munin/plugins/sensors_volt


for different linux distro path to sensors_ may be different !!!

you will have grapichs for fan speed, temperature and volt respectively.

don't forget restart munin-node, and after 5 minutes you will see first graphics

Thursday, September 22, 2011

Can't locate object method "new" via package "LWP::UserAgent" at ./nginx_status line 109.

debian -> munin
error:

Can't locate object method "new" via package "LWP::UserAgent" at ./nginx_status line 109.


you need to install  liblwp-useragent-determined-perl package:

aptitude install liblwp-useragent-determined-perl

Thursday, April 1, 2010

Magic number checking on storable file failed at blib/lib/Storable.pm ...

десь помітив в логах munin-а помилку, від плагіна ps_

Magic number checking on storable file failed at blib/lib/Storable.pm ...

пошук підказав, що це скоріш за все проблема версії бібілотек, що читали/писали файл (/var/lib/munin/plugin-state/iostat-ios.state), де зберігалася інформація потрібна для роботи того плагіну..

вирішив просто витер той файл і нехай плагін створить собі новий файл..

rm /var/lib/munin/plugin-state/iostat-ios.state