Description: CactiEZ Chinese version V10.1 is based on CentOS6.0 system, integration of cacti and other related software, a recompile of an operating system!
Advantages: Eliminate the complex cumbersome cacti configuration process, after installation can be used, all the culture, the interface more friendly
Cons: CactiEZ is a complete operating system that requires a dedicated computer to install and use
Monitoring the host building:
a : First download cacti mirroring. Reference link http://pan.baidu.com/s/1mgIBEo4 Password: sa5o
Two: Installation. If the virtual machine is installed, set the disk space greater than 10G, and the installation process is basically the default carriage return.
Three settings cacti monitoring host.
After the installation is done by default, the system logs on Span style= "font-size:14px;font-family: ' Microsoft Jacob Black ', Sans-serif;color:rgb (85,85,85); letter-spacing:1px;" >, password CactiEZ (case-sensitive)
1 , modify the root login password
Passwdroot → Enter the new password 2 times after entering the carriage
Appears: Passwd:all authentication tokens updatedsuccessfully. Description Password Modified successfully
2 , modify IP address, subnet mask, gateway, DNS and other information
Vi/etc/sysconfig/network-scripts/ifcfg-eth0 (Below is my network card information)
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/78/CA/wKioL1aDeTuiGwuhAAAl_VXAU-U819.png "title=" 567. PNG "alt=" Wkiol1adetuigwuhaaal_vxau-u819.png "/>
The exact address is subject to availability.
Restart the network service after the change is completed
Service Network restart
3. Login CactiEZ Monitoring Platform
Enter CactiEZ IP address in browser to open
User name: admin, default initial password: admin
For security reasons, you must change the default password after the first login, modify it and save it, and log in to the CactiEZ Web monitoring platform.
To this end, the Cacti Monitoring Server installation is complete.
When you have finished adding hosts and templates, perform this/usr/bin/php/var/www/html/poller.php on the server if you are prompted for a time zone error, change/etc/php.ini
[PHP]
Date.timezone = PRC # Plus this sentence, the other part is inconvenient
Engine = On
Short_open_tag = Off
Asp_tags = Off
Precision = 14
Y2k_compliance = On
Output_buffering = 4096
Zlib.output_compression = Off
Implicit_flush = Off
Execute again: [Email protected] ~]#/usr/bin/php/var/www/html/poller.php
Will not be an error.
finally detecting whether client data can be obtained on the service side
Snmpwalk-v2c-c Public Client IP
If you do not make an error, it means communication is successful.
Iv. monitoring the host how to alarm
Login CactiEZ monitoring platform, alarm settings are set here, I set here is the mail alarm
Point Console---Configuration--settings
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/78/CC/wKioL1aDg32SjLOnAAEU1Cux_HY883.png "title=" 654. PNG "alt=" Wkiol1adg32sjlonaaeu1cux_hy883.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/78/CC/wKioL1aDg9uR5HX1AAF_jZAWxV4159.png "title=" 765. PNG "alt=" Wkiol1adg9ur5hx1aaf_jzawxv4159.png "/> Mail Alarm setup Complete
Client operations (monitored host)
1. install this software yum install Net-snmp
2 Change the configuration file (the default may not be), you can paste the contents of the following attachment inside.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/78/CB/wKioL1aDgOnwuu6oAAAYqSzBYoo835.png "title=" 678. PNG "alt=" Wkiol1adgonwuu6oaaayqszbyoo835.png "/>
Syslocation 115.159.144.63 (native IP)
Syscontact Root [email protected] (admin email)
3 Restart SNMPD Service
Service snmpd Restart (CentOS 6)
/bin/systemctl Start Snmpd.service Boot service (CentOS 7)
/bin/systemctl Enable Snmpd.service boot (CentOS 7)
NETSTAT-LNP | grep 161 to see if the port is started
4 SELinux remember to close.
Iptables Remember to open the udp161 port, of course, the direct shutdown Iptables is also possible.
Vi/etc/sysconfig/iptables #编辑防火墙配置 (CentOS 6)
-ainput-m State--state new-m udp-p UDP--dport 161-j ACCEPT
Finally restart the Iptables service.
Systemctl stop Firewalld.service directly shuts down the FIREWALLD firewall. (CENTOS7)
Reference Documentation:
Http://blog.sina.com.cn/s/blog_60a4fcef0101a6jc.html
Http://blog.sina.com.cn/s/blog_60a4fcef0101a6f4.html
Cacti Monitoring and construction document (Chinese version)