监控安全
Log file monitoringOverviewZabbix can be used for centralized monitoring and analysis of log files with/without log rotation support. Notifications can be used to warn users when a log file contains certain strings or string patterns.To monitor a log file you must have: Zabbix agent running on the host log monitoring item set upThe size limit of a monitored log file depends on large file support.ConfigurationVerify agent parametersMake sure that in the agent configuration file: 'Hostname' parameter matches the host name in the frontend Servers in the 'ServerActive' parameter are specified for the processing of active checksItem configurationConfigure a log monitoring item: Specifically for log monitoring items you enter:TypeSelect Zabbix agent (active) here.KeySet either:log[/path/to/file/file_name,<regexp>,<encoding>,<maxlines>,<mode>,<output>,<maxdelay>]orlogrt[/path/to/file/regexp_describing_filename_pattern,<regexp>,<encoding>,<ma...
 
0

zabbix agent protocol说明

发表者:admin分类:监控安全2017-03-21 17:30:21 阅读[1642]
zabbix agent/3.0Contents1 Zabbix agent protocol1.1 Active agents1.1.1 Items to be monitored exist1.1.2 No active items1.1.3 Host does not exist1.1.4 Host not monitored1.1.5 Meta information updateZabbix agent protocolActive agents Note: Also see the description in the zabbix manualWhen an active agent starts, it connects to the server to ask for any item it should be monitoring:{ "request":"active checks", "host":"Host name" } If host has metadata to send, it is included in this request:{ "host": "Host name", "host_metadata": "apache|mysql|postfix", "request": "active checks" } If host has non-default listen IP or port set, they are included in this request:{ "host": "Host name", "ip": "127.0.0.1", "port": 10055, "request": "active checks" } Items ...
配置Nginx和php-fpm监控(io的监控也在压缩包里面,可以参考一下)1,准备几个文件:http://pan.baidu.com/s/1DzJeI2,将fpm.sh,nginx-check.sh放到客户端服务器上,这里放在 /home/sh/ 目录下     chmod +x fpm.sh nginx-check.sh     添加缓存目录:  mkdir -p /usr/local/zabbix/var chown -R zabbix:zabbix /usr/local/zabbix/var3,添加zabbix_agentd配置文件,添加下面两行UserParameter=php-fpm[*],sh /home/sh/fpm.sh "$1" UserParameter=nginx[*],sh /home/sh/nginx-check.sh "$1"4,重启zabbix_agentd5,在服务器端测试一下是否能访问这些键值      zabbix_get -s 192.168.0.xx -k php-fpm[accepted_conn]  zabbix_get -s 192.168.0.30 -k nginx[accepted_connections]6,在服务器端zabbix网页上Configuration-Templates-import导入包里的两个模板。OK,加入到你需要监控的Host上.监控脚本附件
您所在的组无权查看该日志
Open-Falcon 是小米运维部开源的一款互联网企业级监控系统解决方案.Githubhttps://github.com/open-falcon/of-releaseHighlights and features数据采集免配置:agent自发现、支持Plugin、主动推送模式容量水平扩展:生产环境每秒50万次数据收集、告警、存储、绘图,可持续水平扩展。告警策略自发现:Web界面、支持策略模板、模板继承和覆盖、多种告警方式、支持回调动作。告警设置人性化:支持最大告警次数、告警级别设置、告警恢复通知、告警暂停、不同时段不同阈值、支持维护周期,支持告警合并。历史数据高效查询:秒级返回上百个指标一年的历史数据。Dashboard人性化:多维度的数据展示,用户自定义Dashboard等功能。架构设计高可用:整个系统无核心单点,易运维,易部署。Quick InstallOpen-Falcon,整体可以分为两部分,即绘图组件、告警组件。其中:安装绘图组件 负责数据的采集、收集、存储、归档、采样、查询、展示(Dashboard/Screen)等功能,可以单独工作,作为time-series data的一种存储展示方案。安装告警组件 负责告警策略配置(portal)、告警判定(judge)、告警处理(alarm/sender)、用户组管理(uic)等,可以单独工作。如果你熟悉docker,想快速搭建并...
How To Install Glances System Monitoring on CentOS 7In this tutorial we will show you how to install and configuration of Glances System Monitoring on your CentOS 7 server.  For those of you who didn’t know, Glances is a free software (licensed under LGPL) to monitor your GNU/Linux or BSD operating system from a text interface. Using it you can monitor CPU, Load Average, Memory, Network Interfaces, Disk I/O, File System spaces utilization, mounted devices, total number of active processes and top processes. There are many interesting options available in Glances. One of the main features is that you can set thresholds (careful, warning and critical) in a configuration file, and information will be shown in colors which indicates the bottleneck in the system. Glances uses the library libstatgrab to retrieve information from your system and it is developed in Python.This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, yo...
How To Install Zabbix on CentOS 7In this tutorial we will show you how to install and configuration of Zabbix on your CentOS 7 server. For those of you who didn’t know, Zabbix is an open source monitoring tool that is ideal for monitoring your cloud servers. Zabbix is very flexible, information can be retrieved using HTTP/SNMP or by installing a Zabbix agent on the machines to monitor, and allows a lot of customization.This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Zabbix on a CentOS 7 server.Install Zabbix on CentOS 7Step 1. First of all make sure that all packages are up to date.yum -y update1yum -y updateStep 2. Install LAMP server.A CentOS 7 LAMP server is required....
1.RHEL/CentOS 7# yum install gcc gcc-c++ make openssl-devel curl wget net-snmp net-snmp-utils net-snmp-libs net-snmp-devel gnutls gnutls-devel libxml2 libxml2-develStep 2: Install MariaDB Database and Library# yum install mariadb-server mariadb-client mariadb-devel [On RHEL/CentOS 7Set MySQL root Password# mysql_secure_installationStep 3: Install Apache Web Server and PHP# yum install httpd php php-mysql php-gd pgp-cli php-xml php-bcmath php-mbstring mod_ssl openssl [On RHEL/CentOS 7] 5. Next, you need to tune PHP interpreter and adjust some values in order to run Zabbix Server. So, open Apachephp.ini configuration file for editing by issuing the following command:# nano /etc/php.ini [On RHEL/CentOS 7]post_max_size = 16M max_execution_time = 300 max_input_time = 300 date.timezone = Continent/City always_populate_raw_post_data = -1  # systemctl restart httpd.service [On RHEL/CentOS 7] Step 4: Download, Compile and Install Zabbix Serverrpm -ivh http://repo.zabbix.com/za...
    总共14页,当前第4页 | 页数:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14