/fping command. if the system is not installed or the fping Command Execution path is incorrect, the check method cannot detect the device, the automatic detection function is invalid.3. install and configure fping 1. Install fping
# Fping can ping multiple targets at the same time with multiple statistical output formats; # currently, fping can only be installed by compiling [root @ localhost ~] # Cd/usr/l
If you need to install Zabbix machines that can be networked, then you can follow the steps below to install the desired environment for configuring Zabbix.As we all know, installing Zabbix under Linux, the required underlying environment is lamp=linux+apache+mysql+php. So let's start now!1.yum-y
Refer to the zabbix-2.2.1 to create a server-side custom rpm method [memo] documentation, compile zabbix server-side
In addition, you can use the direct compilation method to install zabbix software.
Compilation prompt:
Zabbix-2.2.1 download locationHttp://downloads.sourcef
How to upgrade Zabbix 2.4 in the production environment
Zabbix 3.0 has been officially launched. The biggest change is that the UI is more flat and better-looking. The company also requires an upgrade. Although this upgrade does not make much sense, we are not using the new features, but still follow the arrangement --!
The original environment is Zabbix 2.4.7, a
1. According to the official website documentation, install Zabbix-serverwget http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-1+trusty_ All.debdpkg-i zabbix-release_3.0-1+trusty_all.debapt-ge
At present, there are Pm2-zabbix tools on the Internet to achieve Zabbix monitoring node.js alarm, GitHub address.
Characteristics:
Automatic discovery of node.js processes through PM2 management.
Reports Nodes.js process status, CPU usage, memory footprint, and whether the process is restarted.
Monitor the PM2 Daemon's own state, resource footprint, and PID changes.
A
Tags: building Zabbix monitoring System under CENTOS7centos7.4-Construction of Zabbix monitoring systemDirectoryThe first part of the experimental environmentThe second section configures the server sideThe third part configures the controlled end (monitored server)Part IV Configure the mail alarm functionPart V Test Verification email alertThe first part of the experimental environment
Linux Servi
database:The database and Zabbix are not on a single server:[[emailprotected]~]#mysql-uroot-pmysql>createdatabase Zabbix queryok,1rowaffected (0.02sec) mysql>showdatabases;+--------- -----------+|database|+--------------- -----+|information_schema| | space| | mysql| | test| | zabbix|+------------------ --+5rowsinset (0.00sec) mysql>usezabbixdatabasechangedmysql
about the mail alarm, there are many programs, the choice here is the stability is good, use more Msmtp+mutt scheme.This program has a good place is not to build a separate mail server, you can use the third-party mail, this method can not only effectively solve the unknown email address is processed as spam, but also due to third-party stability services to provide alarm accuracy and timeliness.In fact, the key point is that MSMTP can use Gmail.We need two components msmtp and mutt, where MSMTP
Zabbix configuration file Type:Zabbix_server configuration file zabbix_server.conf zabbix_proxy profile zabbix_proxy.conf Zabbix-agentd profile zabbix_agentd.confConfiguration file for Zabbixserver:nodeid=0 #分布式节点id号, 0 is a standalone server, the default is commented out, do not force the configuration listenport=10051 #zabbix server port, the default is 10051,
long as it is not a cat file, and so on, is sufficient. If more than one command is written in multiple lines, Zabbix is executed in the order. Also in remote command, macro definitions are supported.Remote command is slightly more complex than the message described above. Custom scripts executed on the agent (i.e. custom scripts) must be pre-defined in the zabbix_agentd.conf and "Enableremotecommands" in zabbix_agentd.conf This item is set to 1, or
Zabbix is a CS-structured monitoring system that has not been properly installed before: You have to review the installation several times. Currently, the configuration and installation of Zabbix are as follows:
Zabbix configuration requires web, php, mysql, gcc, and other supportPlease configure it yourselfNext let's start the operation.The operating system of t
2 4096 SepDrwxr-xr-x 2 4096 Sep sqlite3[Email protected] zabbix-3.0.5]# Mysql-uzabbix-pzabbix Zabbix Warning:using a password on the command line interface can is insecure.[Email protected] zabbix-3.0.5]# Mysql-uzabbix-pzabbix Zabbix Warning:using a password on the command line interface can is insecure.[Email protect
.png-135.5kb "Title=" "/>installation steps: View the above link can also be installedWe installed it on the zabbix-server because there was a MySQL[[emailprotected]web]#yuminstall http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm[[email protected]web]#yuminstallpercona-zabbix-templatesphpphp-mysql-y# The Percona plugin is going to get MySQL parameters via PHP, s
}:{ ITEM. VALUE} Current status: {TRIGGER. STATUS }:{ ITEM. VALUE1} event id: {EVENT. ID}
The email recovery content is as follows:
The restored title is set to {TRIGGER. STATUS}, and the server: {HOSTNAME1 }:{ TRIGGER. NAME} has been restored! The recovered information is: Alert HOST: {HOSTNAME1} alert time: {EVENT. DATE} {EVENT. TIME} alert level: {TRIGGER. SEVERITY} alert information: {TRIGGER. NAME} alert item: {TRIGGER. KEY1} problem details: {ITEM. NAME }:{ ITEM. VALUE} Current status: {T
one of the these three V alues:# Enforcing-selinux security Policy is enforced.# permissive-selinux prints warnings instead of enforcin g.# disabled-no SELinux policy is loaded. selinux=disabled# Selinuxtype= can take one of these, values:# targeted-targeted processes is protected,# ml S-multi level Security protection. selinuxtype=targeted3. Install MySQLYum-y Install Mysql-serverInstalling
Before installing the Zabbix service, first of all, we build a good lamp environment or LNMP environment, where I set up the environment for the lamp environment, how to build the lamp environment I mentioned earlier in the article, Poke here to see the lamp environment installation, OK, then start to prepare to install ZabbixZabbix Service InstallationAfter installing the lamp environment need to configure
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.