zabbix custom script

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

Zabbix custom user key and parameter userparameters monitor script output

Zabbix pre-defined some key in the template, but the usual situation does not meet our needs. Fortunately, Zabbix provides a way to customize the key, so we have the flexibility to monitor the various data we want to monitor. Defining a configuration fileThe zabbix-agent configuration file path installed through Yum is/etc/za

Shell Programming "Zabbix custom monitoring network card traffic script"

before writing an article mainly introduces the construction of Zabbix use http://msiyuetian.blog.51cto.com/8637744/1705396This article mainly introduces the script implementation of Zabbix custom monitoring network card trafficPre-preparation 1. DescriptionServer ip:192.168.0.115Client ip:192.168.0.1142. Open Se

Zabbix custom script to monitor the configuration of the NIC

Note: To add custom script monitoring, you must upgrade the Zabbix Agent version to 2.0.0 or more,One: Configuration steps1. Finish writing the custom monitoring script (Windows or Linux scripts)Script Requirements:(1) since it is

L15.3 Zabbix Custom Script execution with alarm configuration (auxiliary 5.4)

/EB/wKioL1ad-aOhgRY0AADRVMAfqnk200.png "style=" float: none; "title=" 1.png "alt=" Wkiol1ad-aohgry0aadrvmafqnk200.png "/>650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/79/EC/wKiom1ad-WnyptVdAAB6OZ9WrPY100.png "style=" float: none; "title=" 2.png "alt=" Wkiom1ad-wnyptvdaab6oz9wrpy100.png "/>650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/79/EB/wKioL1ad-aWTttJpAAKfWZFjmXA858.png "style=" float: none; "title=" 3.png "alt=" Wkiol1ad-awtttjpaakfwzfjmxa858.png "/>650) this.width

Zabbix Custom Email sending script (Python)

1. How to add Zabbix: Manage -- Solution -- create media type 650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/122H0C46-0.png "border =" 0 "alt =" "/> Zabbix sends three parameters to the script: recipient, subject, and content. Zabbix_sendmail.py #!/usr/bin/python #coding:utf-8 importsmtplib fromemail.mime.textimportMIM

Zabbix executing a custom key script timeout

The error is as follows:[Email protected] scripts]#/usr/local/zabbix/bin/zabbix_get-s 127.0.0.1-k web.site.code[www.baidu.com]timeout While executing a shell scriptSolve:Vim zabbix_server.confAdjust the following time-out (restart server)# # Option:timeout# Specifies how long we wait for the agent, SNMP device or external check (in seconds).## Mandatory:no# range:1-30# Default:# timeout=3Timeout=30Vim zabbix_agentd.conf# # Option:timeout# spend no mor

Zabbix-2.2.1 build server-side custom rpm method [memo]

: software-related URLSource0: source code location BuildRoot: % {_ tmppath}/% {name}-% {version}-% {release}-root-% (% {__ id_u}-n) buildRequires: the required software package depends on Requires: the software package required for installation depends on the software package description related to % description % prep the script executed before compilation % setup-q % build % configure. The software package compilation parameter make % {? _ Smp_mfla

MySQL custom monitoring based on Zabbix

MySQL Custom monitoringRequirements: The company needs to do MySQL data monitoring, the status of MySQL, traffic monitoring.Analysis: Zabbix automatically has template App MySQL template, we can only add MySQL monitoring script to achieve custom monitoring.The configuration is as follows:Zabbix service-side build, here

Zabbix monitoring Oracle databases with Orabbix and custom scripts

Tags: Zabbix oracle Orabbix Script Auto DiscoveryAs the company to the Oracle database, need to wake up to monitor this thing, so go to the online Amoy data, found that there is a suite Orabbix monitoring Oracle's effect is good, and then took to test a bit. Orabbix is a suite written by Java that needs to be installed on the Oracle server to run the Java environment. For simplicity, the Java environment ca

Custom key solves the problem of inaccurate Zabbix port monitor value

] "0thatsit:~ ##4, on the web side, add this monitoring item to the pointing host. The key of the monitoring item is:net.tcp.listen.grep[the port number to monitor]#5, configuration complete, troubleshooting ideas This configuration has been completed, if there is a problem, you can follow the following ideas to troubleshoot, the general problem in the log can be found in the clues.# Troubleshooting Ideas:There are a few things to note when adding a key: Note the owner or group configuration of

Zabbix monitoring MySQL Multi-instance and mariadb custom scripts and their deployment

hostname--key mysql.3359slave-check--value ' 0 'Elseif [${status59} = null]ThenZabbix_sender--zabbix-server zabbix-master-ip--port 10051--host hostname--key mysql.3359slave-check--value ' 9999999 9 'ElseZabbix_sender--zabbix-server zabbix-master-ip--port 10051--host hostname--key mysql.3359slave-check--value "$status

Zabbix Monitor Nginx and FPM (website concurrency) custom key

:58677Accepted conn:10753843Listen queue:0Max Listen queue:0Listen Queue len:0Idle processes:249Active processes:1Total processes:250Max Active processes:251Max Children reached:0Slow requests:4264: Write a script to get the status of FPMMonitoring Scripts (/usr/local/zabbix/check_fpm.sh): #!/bin/sh #20170603 fpm status #curl 127.0.0.1/php_fpm_status #pool: www #process manager:static #start time:

Zabbix-server One-click installation script

"EchoElseEcho-e "\e[30;41m Open the iptables port failure. \e[0m "EchoExit 0Fi}Echo-e "\e[30;42m +===============a key installation Zabbix services===============+ \e[0m"EchoInstall_toolsSleep 3Install_repoSleep 3Install_zabbixSleep 3Install_mysqlSleep 3Mysql_configSleep 3mysqld_onSleep 3zabbix_createdSleep 3Zabbix_server_configSleep 3Php_configSleep 3zabbix_server_onSleep 3Selinux_stopSleep 3iptables_onSleep 3EchoEcho-e "\e[30;42m +==============

Zabbix forgot password, custom key

When debugging Zabbix, forget the password can be reset by the following method. First SSH to the Zabbix database server, and then log on to the MySQL database. Mysql-u root-p The Zabbix password is stored in the database zabbix,table users and is encrypted in MD5. Use MD5 to make a secret key. Echo-n abc,123. | Ope

Zabbix monitors the master-slave synchronization (replication) Status of mysqlMasterSlave, with a script attached

replication synchronization (replication) is started, it is successful only when the following two conditions are met: Slave_IO_Running: YesSlave_SQL_Running: YesScript 1 Create a script file, mysqlms. sh #!/bin/bash/usr/local/mysql/bin/mysql -uzabbix -e 'show slave status\G' |grep -E "Slave_IO_Running|Slave_SQL_Running"|awk '{print $2}'|grep -c Yes Place it in a directory (with permission required). Put it in/etc/

Zabbix 3.0.2 Custom Scripts

There is a notification queue, if you exceed a certain value, you need to call the policeThe query interface can return the number of queues, in the form of the number of json,data followed by the number of queues{"Code": 0, "message": "Success", "Data": 22}Edit the configuration file in the Zabbix client zabbix_agentd.confVim/usr/local/zabbix-agent/zabbix_agentd.confAdd Blue SectionLogfile=/tmp/zabbix_agen

Zabbix: (4) Add a custom monitoring project and use it.

From the first day of installation, there will inevitably be questions about the poor use of the default monitoring template, or there is no such thing as what to do? It doesn't matter. Like Nagios, zabbix can customize monitoring items, including alarm rules and views. Add a custom Monitoring Project: Before the operation, you need to know the principle: the principle is that the server calls the

Linux under Zabbix agentd client plug-in Shell one-click Automatic installation Script

The production environment on the line of more than one Linux server, the need to all into the Zabbix monitoring category, a Taiwan to install Zabbix Agentd plug-ins that is too hard, fortunately Zabbix client plug-in is to support the green installation, wrote a simple one-click installation script, and then cooperate

Zabbix Agent Shell One-click installation script

"$result"|awk '{print $6}'}functionwritekb () {Echo "$result"|awk '{print $7}'}functionavgrq-sz () {Echo "$result"|awk '{print $8}'}functionavgqu-sz () {Echo "$result"|awk '{print $9}'}functionawait () {Echo "$result"|awk '{print $}'}functionSVCTM () {Echo "$result"|awk '{print $11}'}functionutil () {Echo "$result"|awk '{print $}'}$2[email protected] scripts]#CatNet.if. Discovery2.SH #/bin/Bashi=0names=() forInterfaceinch`Cat/proc/net/dev |Tail-N +3|grep-V'lo\|vir\|vnet'|grep-op'\w+\d* (? =:)'`

Zabbix-agent Script Installation 2

]];thenprintf ', 'FiDoneprintf "\n\t]\n"printf "}\n"EofCat >/usr/local/zabbix/share/zabbix/externalscripts/cpunum.sh #!/bin/bashdiskarray= (' cat/proc/cpuinfo | grep ' process ' |awk-f: ' {print $} ')length=${#diskarray [@]}printf "{\ n"printf ' \ t ' "\" data\ ": ["For ((i=0;iDoprintf ' \n\t\t{'printf "\" {#CPU_NUM}\ ": \" ${diskarray[$i]}\ "}"If [$i-lt $[$length-1]];thenprintf ', 'FiDoneprintf "\n\t]\n"pr

Total Pages: 7 1 2 3 4 5 .... 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.