zabbix custom script

Want to know zabbix custom script? we have a huge selection of zabbix custom script information on alibabacloud.com

L15.4 Zabbix Custom Execute remote command and Rating report alert example

Zabbix Custom execute remote command and Rating report alert exampleThe detailed option description refers to the previous content, where only the operation process is demonstrated.Precautions:OperationSend MessageMedia TypeEmail, SMS, Jabber, Script, EZ textingUserRemote command(1) Define sudo rules for Zabbix;

Zabbix simple use of custom keys

.jpg "/>Such a simple key is defined as complete. Of course, this key in the Zabbix comes with the key can also achieve this function, just for demonstration. Zabbix's own key is already very powerful and it has all the basic items that need to be monitored. You can go directly to the relevant documents!Custom key scripts are not language-restricted, as long as the data can be returned!such as: userparamete

Zabbix Add Custom item, trigger, graphic, and execute remote command

"/>1.2 Items, calculation method, select "and" (see actual need) "new trigger conditions, host = XXX (select the above steps to create the host)" Add650) this.width=650; "title=" condition.jpg "src=" http://s2.51cto.com/wyfs02/M00/76/53/ Wkiol1zpm2yco8fiaai7wisyr9o164.jpg "alt=" Wkiol1zpm2yco8fiaai7wisyr9o164.jpg "/>1.3 operation, "new" "Stage" (from ...) To, how many times, step duration), operation type Select Remote command1.3.1 Target list, "new" target Select "Host", (select the host creat

Zabbix Monitor nginx,php-fpm and MySQL memory usage and number of processes with custom scripts

Zabbix Monitor nginx,php-fpm and MySQL memory usage and number of processes with custom scriptsFirst, add a script under the Zabbix script directory and write the following code#!/bin/bash#license: GPL#mail: [Email protected]#date: 2015.04.16Top-bn1>/usr/local/

Add and configure custom metrics for Zabbix server monitoring system deployment (2)

The last article (Zabbix distributed Server monitoring system installation and deployment (I) records the installation and deployment of the entire Zabbix System, including the Server and client segments, this article mainly describes how to install and configure the custom monitoring metrics of Zabbix. Because I only

Zabbix The custom key test failed

key.] Seek the guidance of the great God .... Reply content: To do a very simple collection system memory usage monitoring, according to the various information on the Internet to obtain the method as follows:Modify several configurations in the zabbix_agentd.conf UnsafeUserParameters=1UserParameter=mem.usage,/usr/bin/free -m |grep Mem | awk '{print $3}' Then Zabbix_agentd-t Mem.usage, return the error mem.usage [m|ZBX_NOTSUPPORTED] [Unsupported item key.

Zabbix monitoring build script

Zabbix monitoring build script #! /Bin/bashwww.2cto.com #1.0 install zabbix depending on the lazy package yuminstall-yhttpdphpmysqlmysql-servergcc * php-mysqlhttpd-manualmod_sslmod_perlmod_auth_mysqlphp-gdphp-... zabbix monitoring build script #! /Bin/bash www.2cto.com #1.0

Zabbix adding custom monitoring items (monitoring MySQL status)

the AGENTD configuration file[Email protected]:~# vim/usr/local/etc/zabbix_agentd.conf650) this.width=650; "src=" https://note.youdao.com/yws/res/1236/CECEB4FB7F01423EB72CEF9050B8CA61 "style=" width : 554px; "alt=" Ceceb4fb7f01423eb72cef9050b8ca61 "/>3.3.2, creating a child configuration file[Email protected]:~# cd/usr/local/etc/zabbix_server.conf.d/[Email protected]:/usr/local/etc/zabbix_server.conf.d# vim userparameter_mysql.confAdd the following content:Userparameter=mysql.ping,home=/var/lib

Online use of Zabbix alarm script (with picture)

Share a custom Zabbix alarm script that is used on the line, and the script idea is roughly as follows:1. Use the crawler to get the alarm picture (if you want to get the alarm item)2. Integrate images with email content3. Send mail4. LoggingThe script reads as follows:#!/us

Zabbix a custom template to monitor the number of TCP connections

1. Use a script to obtain information about the number of TCP connections parameters vim/usr/local/zabbix/etc/tcp_connections.sh #!/bin/bash #netstat-an | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, S[a]} ' | Grep-w "established" |cut-d ""-f2 #netstat-an | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, S[a]} ' | Grep-w "time_wait" |cut-d ""-f2 #netstat-an | awk '/^tcp/{++s[$NF]} END {for (a in S) p

Zabbix custom monitoring

Tags: monitoring custom nginx template zabbixAfter zabbix is installed, the template that comes with zabbix can only monitor cp, memory, hard disk usage, and so on. Next we will talk about how to use zabbix to monitor the nginx process of the server.Zabbix client: 192.168.10.2Zabbix server: 92.1610.1Zabbix client setti

Questions about Zabbix custom monitoring items, insufficient user rights

Zabbix needs to be customized to add RABBITMQ monitoring to respond to RABBITMQ problems in a timely manner, so a zabbix_agented.conf is added#UserParameter =rabbitmq,rabbitmqctl status >/dev/null echo ' 0 ' | | Echo ' 1 'Then restart the agent test#/usr/local/zabbix/sbin/zabbix_agentd-t RABBITMQShow results asRABBITMQ [T|0]However in the server break test#./zabbix_get-s "IP"-K RABBITMQThe resulting return

Shell script to install Zabbix agent automatically

#!/bin/bash#install the Zabbix Agent#Create by ShiyongID Zabbix >/dev/null | | Useradd-s/sbin/nologin ZabbixMkdir/etc/zabbix/var/log/zabbixChown zabbix.zabbix/var/log/zabbix/Tar zxf zabbix-2.0.12.tar.gz-c/usr/src/cd/usr/src/zabbix

Zabbix (vi): Project Combat--automatic discovery Nginx Scheduler and backend Web service cluster, custom parameter monitoring

Project:1. Automatically discover the Nginx scheduler and the backend Apache built Web services cluster;2. Use custom parameters to monitor the data and rate of Nginx service on the scheduler;3. Use custom parameters to monitor the relevant statistics and rate data of the back-end Apache Service (optional)4. Develop a monitoring template for the Nginx Scheduler and the backend Apache service, defined in the

Zabbix monitors the Master/Slave status of MySQL (Python script)

. argv [1] = "io ": Print mysql. get_io_status () Elif sys. argv [1] = "SQL ": Print mysql. get_ SQL _status () 2. Configure zabbix_agent.conf and add the Key and monitoring script: Vi/usr/local/zabbix/etc/zabbix_agentd.conf. Add the following two lines at the end of the file: UserParameter = mysql. repl_io,/usr/local/zabbix/bin/check_mysql_repl.py io UserPar

Zabbix script monitoring MySQL

Zabbix monitoring MySQL1.1 Client Configuration 1.1.1 Install client PackageYum--IVH zabbix-agent-3.0. 3-1. el6.x86_64.rpm1.1.2 Editing a configuration file/etc/zabbix/zabbix_agentd.d/userparameter_mysql.confuserparameter=mysql.version,mysql- Vuserparameter=mysql.status[*],/etc/zabbix/scripts/chk_mysql.sh $1userparame

zabbix-Custom monitoring items (monitoring site 80 connections)

Custom monitoring Items (monitor site 80 connections) Requirements: Monitoring a web of 80 port connections, and out of the picture; The first step: client creation Script:The client-side definition script, and edit the zabbix-agent configuration file implementation run the definition of the script;Client

(finishing) Zabbix One click in place script

#-----------------------------------------------# # Zabbix default does not run with root user #createuserzabbixgroupaddzabbixuseradd-gzabbixzabbix# createdefaultdatabasezabbixuser=rootpassword=123456mysql-u$user-p$password -e "createdatabasezabbixdefaultcharsetutf8;" #if proxy,justschema.sqlmysql-u$USER-p$PASSWORDzabbixAt this point, the installation started to complete, the browser opened Http://localhost/zabbix

Create Zabbix screen script

Zabbix has become an excellent monitoring tool because of two features: data storage, convenient data processing, capacity planning, archiving, etc. Another is its powerful api, which can be easily integrated with other components. For example, cmdb can add, update, and disable monitoring through zabbix api, the official documents of zabbix provide a detailed lis

Zabbix monitoring MySQL script (for reference only)

$result;; *) echo"usage:$0 (uptime| com_update| slow_queries| Com_select| com_rollback| Questions)" ;; EsacMySQL Stress test commandMysqlslap-a-I. 10000-UROOT-P123.ASDServer-Side execution gets the client host name/application/zabbix/bin/zabbix_get-s 10.0.0.6-p 10050-k "System.hostname"Server execution get client key value/application/zabbix/bin/zabbix_get-s 10.0.0.6-p 10050-k "System.cpu.load[all,a

Total Pages: 7 1 2 3 4 5 6 7 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.