Это старая версия документа.


Munin

Установка

Перед установкой Munin на server01 необходимо установить веб-сервер apache2. Стандартной конфигурации будет достаточно для запуска сервера munin. Для более детальной информации по настройке apache2, обратитесь к разделу HTTPD - Apache2 Web Server.

Для начала на server01 установим munin. Введите в терминале:

sudo apt-get install munin

Теперь на server02 установим пакет munin-node:

sudo apt-get install munin-node

Настройка

На server01 отредактируйте файл /etc/munin/munin.conf добавив ip адрес server02:

## First our "normal" host.
[server02]
       address 172.18.100.101
Замените server02 и ip адрес 172.18.100.101 на имя компьютера и ip адрес вашего сервера.

Далее настроим пакет munin-node на server02. Отредактируйте файл /etc/munin/munin-node.conf для доступа server01:

allow ^172\.18\.100\.100$

Replace ^172\.18\.100\.100$ with IP address for your munin server.

Now restart munin-node on server02 for the changes to take effect:

sudo /etc/init.d/munin-node restart

Finally, in a browser go to http://server01/munin, and you should see links to nice graphs displaying information from the standard munin-plugins for disk, network, processes, and system.

Since this is a new install it may take some time for the graphs to display anything useful. Additional Plugins

The munin-plugins-extra package contains performance checks additional services such as DNS, DHCP, Samba, etc. To install the package, from a terminal enter:

sudo apt-get install munin-plugins-extra

Be sure to install the package on both the server and node machines. References

  See the Munin website for more details.
  Specifically the Munin Documentation page includes information on additional plugins, writing plugins, etc.
  Also, there is a book in German by Open Source Press: Munin Graphisches Netzwerk- und System-Monitoring.
  Another resource is the Munin Ubuntu Wiki page.