Grafana+Prometheus monitoring Linux server performance

Use Grafana and Prometheus to monitor the performance of Linux server, mainly through node_ The exporter monitors, such as CPU, memory, disk, etc. Prometheus collects data from remote machines through HTTP protocol and stores Prometheus local timing database. Install startup node_exporterNode needs to be installed on the monitored server_ exp ...

Posted by duankr on Tue, 26 May 2020 19:20:35 -0700

Python 100 line code easily crawls the 100G set diagram of Meizi net. I hope you have enough memory on your network disk [with source code]

preface Recently, I was doing monitoring related supporting facilities, and found that many scripts are based on python. I heard a long time ago that its name is short of life. I learned python, which is not a joke. With the rise of artificial intelligence, machine learning and deep learning, most of the AI code on the market is written in Pyt ...

Posted by miasma on Tue, 26 May 2020 00:19:00 -0700

Implement LVS scheduling and high availability of lvs+keeplive

1. Briefly describe the four cluster characteristics and usage scenarios of lvs LVS has three load balancing modes, VS/NAT (nat mode), VS/DR (routing mode), VS/TUN (tunnel mode), VS/FULLNAT 1. NAT mode (VS-NAT) Principle: The destination address of the IP header of a packet sent by a client is replaced by the IP address of one of the RSs on t ...

Posted by mdemetri2 on Mon, 25 May 2020 13:17:36 -0700

MySQL installation and basic use under Linux

1. MySQL installation (install using yum) yum install mysql* –y Linux MySQL data is stored in / var/lib/mysql by default/ [root@study ~]# cd /var/lib/mysql/ [root@study mysql]# ll //Total consumption 20488 -rw-rw----. 1 mysql mysql 10485760 5 23 23:55 ibdata1 -rw-rw----. 1 mysql mysql 5242880 5 23 23:55 ib_logfile0 -rw-rw----. 1 mysql mysql 5 ...

Posted by Exemption on Sun, 24 May 2020 22:31:29 -0700

SSH Upgrade Version--8.2p1

preparation in advance Execute yum update openssh to upgrade first. The official upgrade is okay anyway.If you have previously manually compiled an upgrade of openssh, test yourself for changes to the default profile path.) (Unified openssh version 7.4p1 is prepared here before Unified Compile Installation is upgraded to openssh 8.2p1) [root@n ...

Posted by CleoK on Fri, 22 May 2020 21:10:07 -0700

Introduction to Docker foundation of container technology

We have learned the basic usage of LXC and the simple use of LXC WEB Panel, which can be referred to by interested friends https://www.cnblogs.com/qiuhom-1874/p/12904188.html Today's essay is mainly about the basic knowledge of docker; I. docker and LXC First let's talk about the difference between docker and traditional LXC containers. The tra ...

Posted by drag0n on Fri, 22 May 2020 06:47:21 -0700

PHP quickly uses RabbitMQ to decouple some businesses in the project

preface: Last time, I introduced the installation of RabbitMQ under windows and the addition of AMQP extension of PHP. Here, the code of local test is put into the service, so that is to install it again on Linux. But there is no need to use it directly. It is mainly about the use of control console after RabbitMQ is installed and how to call ...

Posted by angershallreign on Fri, 22 May 2020 01:41:35 -0700

RabbitMQ Learning III: RabbitMQ Clustering and Load Balancing

I. Cluster Structure RabbitMQ always records the following four types of internal metadata: Queue metadata: name and properties of the queue (persistent, can be deleted automatically); Exchange metadata: Exchange name, type and properties (persistent, etc.); Binding metadata: A table that records how messages are routed to a queue; Vhost metad ...

Posted by alabonte on Thu, 21 May 2020 19:13:47 -0700

Fedora 32 - Enable new BLS specification management GRUB2

rise Fedora's kernel is frequently upgraded.But I found that restarting doesn't use the new kernel.I need to check the GRUB configuration file. ydx@ydx-mf:~ $ cat /etc/default/grub #GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" ...

Posted by Shp0ngl3 on Thu, 21 May 2020 16:15:46 -0700

Linux command ifconfig command

Catalog ifconfig command Show Network Devices Set up network devices ifconfig command Function description: Display or set up network devices usage ifconfig [interface] [up|down] ifconfig interface options | address ... option option Explain -a Displays the status of all interfaces, including information about inactive interf ...

Posted by j0se on Thu, 21 May 2020 10:43:24 -0700