Zabbix add trigger TriggersInterested in Linux friends join QQ Group: 476794643 Online communicationThis article anti-theft chain: http://zhang789.blog.51cto.comOutline of this program
What is a trigger (triggers)?
Create a trigger that listens on 80 ports
Alarm Level Introduction
Zabbix Trigger Dependency Relationship
Zabbix Special top
Whether ordinary personal webmaster or professional operators, all need to their own web site, the server to carry out a comprehensive monitoring. , we can monitor the running state of the network components at any time, the security and stability of the server, second, we can monitor the analysis to determine whether the use of cloud services to meet the needs of the project, whether to continue to use; three, if the server or project fails, can timely feedback to IT managers, Can be in the sho
1. PrefaceFor System Workers, monitoring various running statuses of servers is one of the tasks. for a small number of servers, manual observation is not a problem, but it is too troublesome for Server clusters, as a result, many people have adopted some automation tools, such as scripts, but today we are introducing a very famous open-source project Nagios.Nagios is just a monitoring platform. All monitoring tasks are completed by plug-ins, with a high degree of customization and good configur
Install nagios 4.0.8 on centos 6.5
Disable selinux
Setenforce 0
The permanent method is
Vi/etc/selinux/config
The status changes to disabled.
SELINUX = disabled
You need to restart the server.
Disable Firewall
/Etc/init. d/iptables stop
Delete firewall rules and restart Firewall
Mv/etc/sysconfig/iptables/opt
/Etc/init. d/iptables restart
Install the epel update source
Wgethttp: // dl.fedoraproject.org/pub/epel/6Server/x86_64/epel-release-6-8.noarch.r
Nagios Enterprise Cluster Monitoring
Nagios is a monitoring system that monitors system running status and network information. Nagios can monitor specified local or remote hosts and services, and provide exception notifications.
Nagios can run on Linux/Unix platforms and provides an optional browser-based Web i
Install nagios monitoring in yum under centos6.5
I. Nagios Server Installation
1. yum install-y httpd php mysql-devel
2. Install the nagios program on the server
Wgethttp: // response
Http://down1.chinaunix.net/distfiles/nagios-plugins-1.4.14.tar.gz
/Usr/sbin/useraddnagios
Tar zxvfnagios-3.2.1.tar.gz
Cdnagios-3.2.1
./C
Zabbix does not send emails. zabbix sends emails
Environment: CentOS 6.5 mini
Zabbix version: zabbix2.2.29-2.4.3
Exceptions are caused by the following causes:
1. The zabbix. sh script is abnormal.
# Cd/usr/local/zabbix/share/zabbix
Zabbix monitoring environment on-line deployment after a period of time, the alarm suddenly appeared "Zabbix poller processes more than 75% busy"In fact, there are many kinds of monitoring alarm Zabbix, more common than memory exhaustion, network is not through, Io is too slow and this "Zabbix poller processes more th
1. First please check that the ndo2db process is not a two nagios 16825 0.0 0.1 6784 396? Ss 19:05 0:00/usr/local/nagios/bin/ndo2db-c/usr/l Nagios 17032 0.0 0.3 6784 1268? S 19:09 0:00/usr/local/nagios/bin/ndo2db-c 2, check nagios.log log to see if there is at the end; could not safely copy module '/ USR/LOCAL/
1. The dependency between nagios and the running of basic Nagios components depends on httpd, gcc, and gd. Make sure that the following software packages have been installed with Httpdgccglibcglibc-commongdgd-develmysqlmysql-serverphpgd and other software packages 2 Add users and groups required for running nagios # groupaddnagcmd # useradd-mn
1. Solve the depend
A company's project website was launched for a few days because the disk was full and there was a problem. Because its servers were concentrated in a certain IDC, we considered deploying a Nagios monitoring and alarm system, since other project websites may have similar requirements, the installation process should be compiled into scripts to facilitate future work. The automatic Nagios Server installation
Implementation principle of Nagios monitoring
The Nagios software needs to be installed on a separate server, known as the Monitoring Center, where the server can use Linux or Unix operating systems; each monitored hardware host or service runs a Nagios software daemon that communicates with the Monitoring Center server, It can also be understood as an Agent or
The monitoring side of the work has been done, now as long as the monitoring side of the operation;
Note: be monitored MySQL remember to set the password AH
The addition of service types is also 2:
1.web Server
2.mysql Server
The following is a script to add a Web service:
WebServices () {read-p "" Please input the Web server IP: "Webip read-p" please input the Web alias name: " Host echo "define host{host_name $host alias Web-server address $webip Check_command
Install Apache on the server first. Download the following software from http://www.nagios.org: nagios-3.2.3.tar.gznagios-plugins-1.4.15.tar.gznrpe-2.12.tar.gz install NagiosCore # Switch to root user su-l # Add na
Install Apache on the server first.
Download the following software from http://www.nagios.org:
Nagios-3.2.3.tar.gz
Nagios-plugins-1.4.15.tar.gz
N
1, Nrpe realize the principle of remote host monitoring
Nrpe is a feature extension of Nagios that can execute plug-ins on remote Linux/unix hosts, providing some local information about the server to the Nagios monitoring platform by installing Nrpe artifacts and Nagios plug-ins on the remote server. For example, CPU load, memory usage, hard disk use, and so on
Nagios is an open source, free network monitoring tool that effectively monitors Windows, Linux and UNIX host status, network settings such as switch routers, printers, and more. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, after the status of the resumption of normal mail or SMS notification.Prerequisite time needs to be synchronized1.Nagios
Nagios Introduction: Nagios is an open source free network monitoring tool that can effectively monitor Windows, Linux and UNIX host status, switch routers and other network devices, printers, etc. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, after the status of the resumption of normal mail or SMS notification. The features that
Zabbix remote command execution and zabbix Command Execution
Originally published in cu:
When the Zabbix trigger reaches the threshold, an action is executed to send an alarm message or execute a remote command.
This document describes how to configure zabbix to run remote commands.I. Environment
Server: CentOS-7-x86_6
Linux-Zabbix email alert settings, linux-zabbix alertSystem Environment: Ubuntu 16.04 on Zabbix Server
Install sendmail
sudo apt install sendmail
Test email sending
Echo "text! "| Mail-s title XXX@qq.com
After successful installation, continue to install the email server. Heirloom-mailx in Ubuntu
Apt-get install heirloom-mailx# The yum install mailx // CentOS is
First, the experimental needsThe company's Tomcat service often crashes automatically, causing business disruption, temporarily monitoring it with Zabbix, and enabling it to start automatically when Tomcat crashes, ensuring that the business returns to normal as soon as possible.Second, the preparation environmentSystem Environment: CentOS 6.5IP Address:zabbix-server:192.168.239.128zabbix-agent:192.168.239.130Installation of
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.