Install Munin on CentOS 5 Rumi, January 20, 2013 1 Preliminary Note Our system's hostname is server1.example.com, and we have a web site www.example.com on it with the document root /var/www/www.example.com/web. 2 Enable The RPMforge Repository On CentOS 5.2, munin and monit are not available in the default CentOS repositories. Fortunately we can install them from the RPMforge repository. To enable the RPMforge repository, we run wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm rm -f rpmforge-release-0.3.6-1.el5.rf.i386.rpm on i386 hosts and wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm rm -f rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm on x86_64 hosts (please check out https://rpmrepo.org/RPMforge/Using for the latest versions). 3 Install And Configure munin To install munin on CentOS 5.2, we do this: yum install munin munin-node Then we create the system startup links for munin and start it: chkconfig –levels 235 munin-node on /etc/init.d/munin-node start Next, we must edit the munin configuration file /etc/munin/munin.conf. We want munin to put its output into the directory /var/www/www.example.com/web/monitoring, therefore we change the value of htmldir, and we want it to use the name server1.example.com instead of localhost.localdomain in the HTML output, therefore we replace localhost.localdomain with server1.example.com. Without the comments, the changed file looks like this: vi /etc/munin/munin.conf […] dbdir /var/lib/munin htmldir /var/www/www.example.com/web/monitoring logdir /var/log/munin rundir /var/run/munin # Where to look for the HTML templates tmpldir /etc/munin/templates […] # a simple host tree [server1.example.com] address 127.0.0.1 use_node_name yes […] Next we create the directory /var/www/www.example.com/web/monitoring and change its ownership to the user and group munin, otherwise munin cannot place its output in that directory. Then we restart munin: mkdir -p /var/www/www.example.com/web/monitoring chown munin:munin /var/www/www.example.com/web/monitoring /etc/init.d/munin-node restart Now wait a few minutes so that munin can produce its first output, and then go to http://www.example.com/monitoring/ in your browser, and you see the first statistics. Related Networking CentOSMunin
User Disk Quota in Linux using Webmin- essentials for Hosting Web Hosting Platform May 23, 2008 Quotas on Linux are tricky, not because they are difficult to setup, but because they are so poorly documented, and what documentation exists is more often than not incorrect to the point of not working. If you are using a relatively recent Linux version, the following instructions should work without… Read More
Build PPPoE server using PfSense June 29, 2022 Before building a PPoE system, it is estimated to assume that we’re building it on the following principal and prerequisite conditions- It’ll be a NAT PPPoE router At least 2 Interface we’ll be needing- 1 for WAN/Internet/Uplink and the other for LAN/PPoE user. A reserved LAN IP for PPPoE server… Read More
Xcode on my Mac Sierra (10.12.6) March 14, 2019 You can get the correct version here at this URL: https://developer.apple.com/download/more/ to download a your version of Xcode you want. Specifically, get 9.2.1. This is the recent version that works with mac OS Sierra. Alternatively, this link works good too- https://xcodereleases.com/ Related Read More