更新许可证书-7.6.1
申请es用户 https://register.elastic.co/ 下载许可证 接口更新许可证 # 请求的json字符串就是下载的证书 POST /_license/start_basic?acknowledge=true { "licenses": [ { "uid":"1fd51ab7-777b-4d94-99c3-786ec15223e7...
申请es用户 https://register.elastic.co/ 下载许可证 接口更新许可证 # 请求的json字符串就是下载的证书 POST /_license/start_basic?acknowledge=true { "licenses": [ { "uid":"1fd51ab7-777b-4d94-99c3-786ec15223e7...
为什么使用pushgateway 1. Prometheus 采用pull模式,可能由于不在一个子网或者防火墙原因,导致 Prometheus 无法直接拉取各个 target 数据 2. 可以单独运行在任何节点上,并不一定要运行在被监控的客户端 docker-compose部署 version: '3.8' services: pushgateway: image: pro...
方法一 添加步骤 1. 在对应的服务器启动一个服务: node-exporter: 172.17.3.15:9100 2. 在普罗米修斯的配置文件中加入新加服务器的ip:port # vim prometheus.yml scrape_configs: - job_name: bin-k8s-node02 static_configs: - targets: [...
docker-compose部署 version: '3.8' services: prometheus: image: prom/prometheus container_name: prometheus hostname: prometheus restart: always volumes: ...
docker-compose.yml version: "3" services: logstash-k8s: hostname: logstash-k8s image: logstash:7.6.1 restart: always volumes: - /etc/localtime:/etc/localtime - /opt/l...
# 按终端大小打印字符 function printLine() { # 进行判断 if [ ! $1 ]; then # 没有参数则直接输出 - outword='-' else # 将输入的参数1 赋值给outword outword=$1 fi shellwidth=`s...
content阶段流程顺序: concat -> random_index -> index -> auto_index -> static index模块: 功能: 指定/访问时返回index文件的内容 模块: ngx_http_index_module 指令: index file ...; 默认: index index.html; 可以出现在: http...
1. 环境参数 操作系统: Centos 7.5 64位 ES: 6.3.2 kibana: 6.3.2 logstash: 6.3.2 jdk: 1.8 ES用户: elk 节点: 192.168.11.132 master + node-01 192.168.11.133 node-02 2.下载 cd /opt ES: wge...
#!/bin/bash # 判断是什么系统类型 if [ -f /etc/redhat-release ]; then SYSTEM=0 else SYSTEM=1 fi function centos_info() { net_ip=`curl -s ip.sb` intranet_ip=`ifconfig | grep inet | grep -vE ...
#!/usr/bin/env sh sql_name=$(tr -dc 'a-z' </dev/urandom | head -c 4; echo) for ((i=1;i<=3100;i++)); do four_str=$(tr -dc 'A-Z0-9' </dev/urandom | head -c 4; echo) cdkey_str=$(ech...