Zabbix: first experience of zabbix API

Xiaosheng blog: http://xsboke.blog.51cto.com -------Thank you for your reference. If you have any questions, welcome to exchange When you have a large number of machines to monitor, are you still doing a lot of repetitive operations (for example, if you want to create an aggregate graph, hundreds of graphs need to be added below the a ...

Posted on Sun, 10 Nov 2019 16:56:52 -0500 by jassikundi

zabbix monitoring mysql survival and performance

The Zabbix environment has been deployed:Zabbix_aget: installed in / etc/zabbix1. Open port 10050 firewall-cmd --zone=public --add-port=10050/tcp --permanent firewall-cmd--reload 2. Close setenforce rsetenforce 0 3.vim /etc/zabbix/zabbix_agentd.d/userparameter_mysql.confWrite: ####Scripts for monitoring mysql performance UserPar ...

Posted on Sun, 10 Nov 2019 09:56:09 -0500 by miracle_potential

Zabbix autodiscover (LLD)

Zabbix autodiscover (LLD) LLD : Low-level discovery Official documents: https://www.zabbix.com/documentation/4.0/manual/discovery/low_level_discovery Role: rule s can be specified to achieve automatic configuration generation of uncertain number of monitoring items For custom LLD rules, please refer to the Creating ...

Posted on Wed, 06 Nov 2019 10:50:03 -0500 by torsoboy

Using python to call pinpoint interface to realize pin alarm

Use python to call the pinpoint interface to implement the pin alarm. 1. When the application monitored on the pinpoint is called incorrectly and the number of errors is more than 5 (you can set the threshold value by yourself, which is 5 by default), the alarm will be triggered. 2. Just change the webhook and PPURL in the script ...

Posted on Tue, 05 Nov 2019 11:08:54 -0500 by cmanhatton

Zabbix uses custom scripts to monitor process memory and CPU usage

Zabbix uses custom scripts to monitor process memory and CPU usage First, the script uses the feedback information of ps command to view the Cpu and memory usage of the process: ######################################################################### # File Name: process_stats.sh # Author: DangerGuy # Created Time ...

Posted on Sat, 02 Nov 2019 23:20:56 -0400 by scooterlibby

Data cleaning of zabbix database

backgroundBecause the historical data of zabbix is too large, it takes up too much disk space, so it needs to clean up the data and free up space. 1. Check the space occupied by the table SELECT table_name AS "Tables", round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB" FROM information_schema.TABLES WHERE table_schema = 'zabbi ...

Posted on Sat, 02 Nov 2019 12:35:39 -0400 by vince81

zabbix4.0 monitoring redis status

Get ready First, prepare two servers. ZABBIX sever and ZABBIX agent have been deployed The server ip system zabbix-server 192.168.1.70 centos7.2 zabbix-agent 192.168.1.70 centos7.2 ZABBIX agent installation deployment redis The deployment process of redis will not be introduced. Baidu has a lot of After ...

Posted on Sat, 02 Nov 2019 11:18:26 -0400 by penkomitev

zabbix monitoring kafka consumption

I. several indicators monitored by Kafka 1. Lag: how many messages are not consumed lag = logsize offset2. logsize: the total number of messages saved by Kafka 3. offset: messages that have been consumed   II. View zookeeper configuration cat /home/app/zookeeper/zookeeper/conf/zoo.cfg | egrep -v "^$|^#" clientPort=2181   III. v ...

Posted on Fri, 01 Nov 2019 18:35:46 -0400 by Dev

Remember to compile and install Zabbix4.2 under Centos7 once

1. Install dependency package sudo yum -y install libevent-devel net-snmp-devel 2. Add zabbix users useradd zabbix 3. Unzip Zabbix cd /usr/local/src/ sudo tar zxf zabbix-4.2.6.tar.gz 4. Precompile zabbix 4.2.6 cd zabbix-4.2.6 sudo ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl  ...

Posted on Sun, 20 Oct 2019 16:00:29 -0400 by sawade

Compile and install Zabbix

Zabbix High Availability Buildings Series:1. Zabbix High Availability ArchitectureCompile and install ZabbixImplementing High Availability of Zabbix4. MySQL Master-Master Synchronization and High Availability 1. Compile and install Zabbix ~]# yum install -y net-snmp-devel libxml2-devel libcurl-devel ...

Posted on Tue, 08 Oct 2019 14:17:43 -0400 by evilcoder