Kibana + sentinel 6.2.4 implementation of nail mail alarm

I. ELK installation1. Software architecture: filebeat----elasticsearch----kibana+sentinel -- (mail and nails)2. Software download address: https://www.elastic.co/cn/downloads/past-releases #(this tutorial uses 6.2.4)3.elasticsearch installation[root@VM_0_7_centos ~]# egrep -v "^$|^#" /opt/app/elasticsearch-6.2.4/config/elasticsearch.yml clus ...

Posted by Paul Ferrie on Mon, 28 Oct 2019 11:15:45 -0700

Configuration of ROS network communication

Part II: configuration of ROS network communication brief introduction Local area network configuration Using dandelion VPN to realize remote networking brief introduction This article includes two aspects: On the one hand, it is the simplest LAN, which can be completed without too much configur ...

Posted by jaronblake on Sun, 27 Oct 2019 23:00:33 -0700

Redis listens for add, modify, delete and expire events

Preface In the project, you need to listen to some redis events, such as key deletion, modification, expiration, etc. There are many examples of expired events to refer to online, but few events are modified or deleted. Because redis supports publishing and subscription, other event types should also ...

Posted by greens85 on Sun, 27 Oct 2019 20:08:16 -0700

Deliberate practice: Python foundation -- Task07. File and file system

background We're going to use 17 days to "Deliberate practice of Python foundation" It is divided into the following tasks: Task01: variables, operators and data types (1day) Task02: condition and cycle (1day) Task03: list and tuple (2day) Task04: string and sequence (1day) Task05: function ...

Posted by AMCH on Sat, 26 Oct 2019 20:16:23 -0700

ORACLE Direct NFS installation

DNFS is a new feature introduced by Oracle 11g to improve the IO performance of the system with NFS. Compared with system level NFS, DNFS reduces the consumption of network and IO transmission. The reasons for the low IO capacity of normal NFS are:1. Low efficiency data transmission, multi link implementation is difficult;2. The system's RPC s ...

Posted by sambkk on Sat, 26 Oct 2019 09:51:21 -0700

etcd for k8s binary installation

etcd Install etcd wget https://github.com/etcd-io/etcd/releases/download/v3.3.9/etcd-v3.3.9-linux-amd64.tar.gz tar -xvf etcd-v3.3.9-linux-amd64.tar.gz mv etcd-v3.3.9-linux-amd64/etcd* /usr/local/bin/ Create etcd startup file cat > /usr/lib/systemd/system/etcd.service << EOF [Unit] Description=Etcd Server After=network.target After=net ...

Posted by vMan on Sat, 26 Oct 2019 09:23:05 -0700

Linux configure network grouping

Realization way Bonding Network Teaming Environmental Science OS selinux firewalld Network card CentOS7 Close Close eth0,eth1 Bonding https://www.kernel.org/doc/Documentation/networking/bonding.txt brief introduction The Linux binding driver provides a way to aggregate multiple network interfaces into a single logical "bindi ...

Posted by DaCheata on Sat, 26 Oct 2019 03:10:48 -0700

Java Concurrent Programming practice reading notes -- Chapter 2 thread safety

Prompt (click jump) 2.1 what is thread safety? 2.2 atomicity 2.2.1 race conditions 2.2.2 race condition in delay initialization 2.2.3 composite operation 2.3 locking mechanism 2.3.1 built in lock 2.3.2 reentrant 2.4 use lock to protect state 2.5 activity and performance The ...

Posted by ngu_tri on Fri, 25 Oct 2019 22:47:12 -0700

Multithreaded note 3 (Java)

#Class notes, only you can read them First, some states of threads:Thread control joint controlThird, background thread Note 1: /* * Deadlock: *It can't be solved, it can only be avoided *jvm does not detect and avoid, so program source should avoid deadlock. *Thread class: *suspend() *Both methods of r ...

Posted by homerjsimpson on Fri, 25 Oct 2019 14:36:28 -0700

Using static variables and static methods in Kotlin

In the daily development process, static variables and static methods are our common usage. I believe that we are not unfamiliar with Java, so how to use them in Kotlin? In fact, it's very simple to include variables and methods in the company object domain. For example: class Constant {     compani ...

Posted by theprofession on Fri, 25 Oct 2019 07:59:19 -0700