/zabbix_agent/etc/Zabbix_agentd.conflogfile=/tmp/Zabbix_agentd.log # Specifying log path Server=121.42.11.220# Zabbix Server address in passive mode # startagents=0# Disable Passive mode (disable the agent will not listen to any address, port) serveractive=121.42.11.220# Zabbix Server address in active mode hostname=auto Rserver54.64# Machine identifier (the host name displayed by the Web interface) Hostmet
/etc/zabbix_agentd. Conf
#在256行添加下列内容
Unsafeuserparameters=1
#在265行添加以下内容
Userparameter=time_wait,/bin/bash/usr/local/shell/zabbix/tcp_connections.sh TIME_WAIT
Restart the client service Zabbix_agentd restart
1
Service Zabbix_agentd Restart
Second, Zabbix_server terminal settings
First see if you can fetch the value cd/usr/local/zabbix/bin./zabbix_get-s 10.6.5.1-k time_wa
"--Create hostCreate Template: Configuration-templates-Create templates (there are many items in the template that can be monitored, but the group does not have any monitoring items defined, because we want to add the items we need to monitor from the template to the group, and then the hosts in the group apply the monitoring items)After creation we find the "windowsserver" template, then click "Project"-"
Javagatewayjavagatewayport=10052# Number of processes that collect data from JavagatewayStartjavapollers=5Restart Zabbix-server# SYSTEMCTL Status Zabbix-serverAfter the above steps are complete, the server side is fully configured.Client Configuration 1, adding the JXM parameter in tomcatEdit the catalina.sh in the bin directory of the Tomcat service that needs to be monitoredAdd the following parameters t
PMP, full name is Percona monitoring Plugins, is a plugin written by Percona company for MySQL monitoring. Support Nagios,cacti. Starting with PMP 1.1, Zabbix is supported.Below, see how to install the PMP on the Zabbix.Configuring the Zabbix AgentDownload PMP: https://www.percona.com/downloads/percona-monitoring-plugins/Since my Linux version is Rhel 6.7, select RPM package# wget https://www.percona.com/do
Configure zabbix to send email alerts, and zabbix to send email alerts
Overview
This article describes how to configure zabbix to send an email alarm using external mail. zabbix calls mailx through the configuration file to send emails. Mailx is installed by default in Centos6 or later versions.
1. Configure mailx
1.
On September 4 and September 9, the company's monitoring platform Zabbix two large-scale Zabbix monitoring alarms, are ZABBIX agent on * * * * * unreachable for 5 minute unreachable, each time is all monitoring host this alarm.Fault description: all monitored host alarms, all graphics data is interruptedAction: The first time is to execute the zabbix_get command
Zabbix Special Topic: The tenth Chapter Zabbix SNMP mode monitoring (SNMP is basically monitoring network equipment, this article introduces point theory knowledge)Overview
If we need to monitor the printers, routers, UPS and other devices, must not use Zabbix agentd, because they can not install software, fortunately they generally support the SNMP prot
URLs to complete monitoringSolution: As mentioned above, URLs change frequently, but other states do not change, this is enough to be able to use the Zabbix low level discovery function to achieve this demandIdeas:1) Since there are a lot of URLs that need to be monitored, we can write the URL domain address into a configuration file to facilitate subsequent call monitoring2) Zabbix There are no
'} '} functionhandled {/usr/bin/curl"/http $HOST: $PORT/nginx_status"2>/dev/NULL| awk nr==3| Awk' {print $} '} functionrequests {/usr/bin/curl"/http $HOST: $PORT/nginx_status"2>/dev/NULL| awk nr==3| Awk' {print $} '} # Run The requested function $
Third, create the Templates App nginx template in the Zabbix Web interface(1), first create three item, this store value requires a change per second
Ngin
/zbx_parse_iostat_values.sh "%util"
After you add it, you need to restart zabbix_agent.
After the restart is complete, you can use the command zabbix_get-s XXX. X.x.xxx-k custom.vfs.dev.iostats.rrqm[*] To test whether it takes effect.
Note-S is the IP address of the destination server. IP address There are multiple times (inside, outside the network card), to see Zabbix_agent.conf's server= settings to allow which address IP access.
Finally, you need to import the template file Zbx_export_templ
How to Implement the active registration function of Zabbix to implement zabbix
Active Agent Auto-Registration. As the name suggests, you do not need to manually add host information on Zabbix Web to monitor hosts.
It is automatically registered with the Server by the Agent.
Compared with another similar function-network discovery, it does not need to know the IP
Zabbix optimization, zabbix
Zabbix optimization 1
Recently, zabbix has been sending the following alarms. When it appears, the host obviously feels slow, and 300 + IOPS and 30 + % cpu IOwait can be seen in actual monitoring.
Zabbix housekeeper processes more than 75% bus
PHP obtains server monitoring information through the Zabbix API and zabbix server monitoring
The open-source monitoring system Zabbix provides a wide range of APIS for third-party systems to call.
The basic steps are as follows:
1. Obtain valid authentication. Connect to the Zabbix URL and provide the user name and pa
Tags: netstat technology online grep images strong no net GesAfter configuring the Zabbix server, it was found that thevalue of "Zabbix is running" was "no", By: Netstat-atnlp|grep 10051 found no 10051 ports for Zabbix_server . Find a lot of ways on the Internet, found that it does not work. See the following error message by looking at the log: Tail/tmp/zabbix_server.log Workaround: Log in to MySQL w
Zabbix has been deployed on ubuntu servers for monitoring over the past few days. The process encountered some problems and recorded them. Hope to help you. Source: http://www.jincon.com/archives/169/
Remember that the latest zabbix version is not recommended ~~~~ Find a minor version.
An error occurred during the installation process:
Zabbix red pop-up error:
Fping for Zabbix automatic discovery, fping for Zabbix
Originally published in cu:
The Zabbix automatic Discovery function is relatively simple in the configuration process: Discovery and Action.
The automatic detection function does not take effect when the "ICMP ping" check method is used for automatic discovery and verification of Zabbix.I. Environment 1.
First, install the Grafana-zabbix1. On the zabbixserver server, install GrafanaYum Install https://grafanarel.s3.amazonaws.com/builds/grafana-2.1.1-1.x86_64.rpm2, download Grafana Zabbix plugin, downloaded in git, if you cannot run the following command, you can first "# Yum install git" installation of this command[[email protected] ~]# git clone Https://github.com/linglong0820/grafana-zabbix3. Copy the plugin to the Grafana file[Email protected] ~]#
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.