Editing Munin
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | + | =How To Install Munin Node= | |
- | [http://munin.projects.linpro.no/ Munin] is a system measuring tool which gives the user a wide range of graphs spanning hours, days, weeks and months. An example set of | + | [http://munin.projects.linpro.no/ Munin] is a system measuring tool which gives the user a wide range of graphs spanning hours, days, weeks and months. An example set of graphs is show [http://ostatic.com/files/images/Munin-%5B1%5D.png here]. |
- | + | ||
- | + | ||
Munin is much loved in the SysAdmin community because of its flexibility and the way it can be extended by writing plugins for the monitored systems, and particularly because the plugins are very easy to write, with a [http://muninexchange.projects.linpro.no/ community resource for sharing them]. | Munin is much loved in the SysAdmin community because of its flexibility and the way it can be extended by writing plugins for the monitored systems, and particularly because the plugins are very easy to write, with a [http://muninexchange.projects.linpro.no/ community resource for sharing them]. | ||
Line 11: | Line 9: | ||
Installing it on Maemo is quite easy as it's architecture independent, being basically a perl process which invokes scripts. The only trick is knowing to bypass certain dependencies during installation, and a few tweaks in the configuration. The installation has to happen from the command line as root. | Installing it on Maemo is quite easy as it's architecture independent, being basically a perl process which invokes scripts. The only trick is knowing to bypass certain dependencies during installation, and a few tweaks in the configuration. The installation has to happen from the command line as root. | ||
- | + | ==Installing On Diablo== | |
- | + | Diablo is effectively a relatively dated release of arm debian linux, so you have to get the packages from a debian archive. | |
Login as root to a command shell and fetch the packages. You probably want to fetch them to your flash memory card rather than clutter up the system file space. | Login as root to a command shell and fetch the packages. You probably want to fetch them to your flash memory card rather than clutter up the system file space. | ||
fetch the packages as follows | fetch the packages as follows | ||
- | < | + | <tt> |
# cd /media/external/download | # cd /media/external/download | ||
- | # wget | + | # wget |
- | + | </tt> | |
- | + | ||
- | + | ||
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
Once fetched, install them thus | Once fetched, install them thus | ||
- | < | + | <tt> |
- | + | </tt> | |
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
- | + | ==Configuration== | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
The only things you need to do are to permit your munin master monitoring machine to contact your tablet, to set the host name, and to restart munin-node. | The only things you need to do are to permit your munin master monitoring machine to contact your tablet, to set the host name, and to restart munin-node. | ||
- | + | edit /etc/munin/munin-node.conf | |
- | + | firstly, add more "allow" lines such as this one so that your local network can talk to the munin daemon; the example adds 192.168.29.* but has to be written in perl regex format. | |
- | < | + | <tt> |
allow ^192\.168\.1\.\d+$ | allow ^192\.168\.1\.\d+$ | ||
- | </ | + | </tt> |
then override the host name, the munin master node's configuration expectation of the host name MUST match the tablet's host name. If you call your tablet gorgonzola, the line would read thus: | then override the host name, the munin master node's configuration expectation of the host name MUST match the tablet's host name. If you call your tablet gorgonzola, the line would read thus: | ||
- | < | + | <tt> |
host_name gorgonzola | host_name gorgonzola | ||
- | </ | + | </tt> |
Save your edits, and at the command line type | Save your edits, and at the command line type | ||
- | < | + | <tt> |
/etc/init.d/munin-node restart | /etc/init.d/munin-node restart | ||
- | </ | + | </tt> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | Verify you can now talk to your tablet from the munin master node thus by firing up a shell and typing the words in bold: | ||
<tt> | <tt> | ||
- | + | $ '''telnet gorgonzola.example.com 4949''' | |
- | Trying 192.168.1.2... | + | Trying 192.168.1.2... |
- | Connected to gorgonzola. | + | Connected to gorgonzola. |
- | Escape character is '^]'. | + | Escape character is '^]'. |
- | + | # munin node at gorgonzola | |
- | '''list''' | + | '''list''' |
- | open_inodes irqstats entropy processes df interrupts if_err_wlan0 swap load cpu df_inode forks iostat open_files if_wlan0 memory | + | open_inodes irqstats entropy processes df interrupts if_err_wlan0 swap load cpu df_inode forks iostat open_files if_wlan0 memory |
- | '''fetch cpu''' | + | '''fetch cpu''' |
- | user.value 127603 | + | user.value 127603 |
- | nice.value 1478 | + | nice.value 1478 |
- | system.value 44203 | + | system.value 44203 |
- | idle.value 4097098 | + | idle.value 4097098 |
- | iowait.value 1878 | + | iowait.value 1878 |
- | irq.value 278 | + | irq.value 278 |
- | softirq.value 2228 | + | softirq.value 2228 |
- | . | + | . |
- | '''quit''' | + | '''quit''' |
Connection closed by foreign host. | Connection closed by foreign host. | ||
</tt> | </tt> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
[[Category:Power users]] | [[Category:Power users]] | ||
- | |||
- |
Learn more about Contributing to the wiki.