Monitorix is a free system monitoring tool for Linux/UNIX systems. You need to use YUM to install Monitorix under CentOS. The following small series will introduce you to the method of installing Monitorix on CentOS. Interested friends can learn about it. under.
Installation:
1, is provided at a source mounted CentOS, yum order to facilitate the use of
#vi /etc/yum.repos.d/CentOS -Base.repo
#Add the following section to the end of the file
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl= http://apt.sw.be/RedHat/el$releasever/en/$basearch/dag
gpgcheck=1
gpgkey=http://dag.wieers.com/rpm /packages/RPM-GPG-KEY.dag.txt
enabled=1
2. Install the software using YUM
yum install rrdtool rrdtool-perl perl-libwww- Perl perl-MailTools perl-MIME-Lite perl-CGI perl-DBI perl-XML-Simple perl-Config-General perl-HTTP-Server-Simple wget
3. Next, use the wget command to download the latest Version of the ‘Monitorix’ package.
For example: # wget http://www.monitorix.org/monitorix-3.4.0-1.noarch.rpm
Once you have successfully downloaded it, use the rpm command to install it.
# rpm -ivh monitorix-3.4.0-1.noarch.rpm
Once successfully installed, please check the main configuration file ‘/etc/monitorix.conf’, according to your The system adds some extra settings to enable or disable graphics.
Finally, add the Monitorix service to the system startup item and use the following two commands to open the service.
# chkconfig --level 35 monitorix on
# service monitorix start
Once you have enabled this service, the program will start with ‘/etc/monitorix. Conf& rsquo; configuration set in the file, collecting system information; after a few minutes,
You will start to see the system graphics from the browser in the following location:
http://localhost:8080 /monitorix/
If you have SELinux enabled, the graphics are not visible, you will be in ‘/var/log/messages’ or ‘/var/log/audit/audit.log’ I saw a lot of error messages,
These error messages indicate that access to the RRD database file was denied. To clear this type of error message and the right-hand graphics, you need to disable SELinux.
To turn off SELinux, simply change the line "&forquoing" to "<disabled” in the ‘/etc/selinux/config’ file.
SELINUX=disabled
This change temporarily disables SELinux until you reboot the machine. If you want the system to always be turned on in disabled mode, reboot the system.
To monitor multiple Linux hosts at the same time. You need to install “monitorix” on each Linux host and modify the configuration file of one of the Linux hosts: monitorix.conf.
Find and modify the following:
"multihost"
enabled = n //change enable to y
footer_url = y
graphs_per_row = 2
remotehost_list = server 1
"remotehost_desc"
1=http://172.16.0.102:8080,/,///Change here For the host IP address to be monitored:
"/remotehost_desc"
groups = n
remotegroup_list = My Group
"remotegroup_desc"
0 = server 2, server 3
"/remotegroup_desc"
"/multihost"
The above is the introduction of CentOS installation of Monitorix, before installing Monitorix, Need to set up an installation source, then use the wget command and rpm command to download and install.
The touchpad is the mobile cursor-enabled device on the notebook. It usually has a shortcut key to e
ISO is an image file, usually you can use the corresponding software to mount the ISO, then how to m
Linux When you are doing Tsung stress test, you may need to create multiple tcp req
If you do not modify the mysql root password through the password() function in Linux system, the my
A brief introduction to the Linux signal mechanism
How Linux can quickly modify the sql file in the specified ID
How to import files from a Docker container to the host
Linux terminal view public IP skills
Steps to Mount an LVM Partition on a Linux System
Red Flag Linux6.0 system to install VirtualBox skills
How to install Cacti tools in Gentoo system
How to use Linux commands to view CPU usage
Summary of methods for entering the Linux terminal interface
How to crack the root password in different versions of Linux?
How to adjust the resolution and screen refresh rate of Ubuntu system?
Can't open the online banking password window? Solution is open
Magic tool rookie remodeling Win XP installation disk
Win10 function introduction windows10 system function evaluation video
In-situ upgrade case analysis of Windows XP
How does my world make animals spurt my world? How does the animal spurt the animal in the way of
Win10 Tips: How to set up multiple time zone clocks for Win10 system
Prompt for Solution 1868 when installing Ghost Win8
How to adjust Win7 to the best display effect