![]() ![]() Rundir /var/run/munin # Where to look for the HTML templates # must be writable by the user running munin-cron. # databases, the HTML output, logs and the lock/pid files. Without the comments, the changed file looks like this: nano /etc/munin/nf # Example configuration file for Munin, generated by 'make build' # The next three variables specifies where the location of the RRD ![]() We want Munin to use the name instead of localhost.localdomainin the HTML output, therefore, we replace localhost.localdomain with in the simple host tree section. Uncomment the dbdir, htmldir, logdir, rundir, andtmpldir lines (the default values are fine). Next, we must edit the Munin configuration file /etc/munin/nf. Ln -s /usr/share/munin/plugins/mysql_threads mysql_threads Ln -s /usr/share/munin/plugins/mysql_slowqueries mysql_slowqueries Ln -s /usr/share/munin/plugins/mysql_queries mysql_queries Ln -s /usr/share/munin/plugins/mysql_bytes mysql_bytes Ln -s /usr/share/munin/plugins/mysql_ mysql_ When the server is running MySQL or MariaDB, then enable the a few extra Munin plugins to monitor MySQL: cd /etc/munin/plugins To install Munin on Ubuntu 14.04, run the commands below: apt-get install munin munin-node munin-plugins-extra apt-get install apache2 libcgi-fast-perl libapache2-mod-fcgidĮnable the fcgid module in apache. I will install apache and the libapache2-mod-fcgid module with apt. To become root user on your server, run this command: sudo suĮnsure that the system is up to date before you start to install Munin, run: apt-get updateĪpache is used to show the Munin pages, the apache fcgid module is required for the Munin graph zoom feature. ![]() Our system’s hostname is, and we have a website on it with the document root/var/The following steps have to be performed as root user. ![]()
0 Comments
Leave a Reply. |