摘要: # grafana开启ldap ssl验证的配置(grafana不区分版本) host = "127.0.0.1"port = 636use_ssl = truestart_tls = falsessl_skip_verify = true # zabbix 开启ldap ssl验证的配置(zabb 阅读全文
posted @ 2022-07-07 21:47 Hello_worlds 阅读(266) 评论(0) 推荐(0)
摘要: # 测试以下系统支持 hosts.allow 限制ssh的登录 Ubuntu 20.04 64位Ubuntu 18.04 64位高内核Ubuntu 16.04 64Ubuntu 16.04 64位高内核CentOS 7.9 64位RedHat 7.9 64位高内核CentOS 7.6 64位Cent 阅读全文
posted @ 2022-06-27 14:43 Hello_worlds 阅读(109) 评论(0) 推荐(0)
摘要: cat socat.service [Unit] Description=socat Server Requires=network.target After=network.target [Service] Type=simple PIDFile=/tmp/socat.pid KillMode=c 阅读全文
posted @ 2022-06-21 10:50 Hello_worlds 阅读(108) 评论(0) 推荐(0)
摘要: 001、打开iTerm2加载 /etc/profile alias login="/Users/suyajun/scripts/login.sh" alias ll="ls -l" alias jms="cd ; ./jms.sh" #export LS_OPTIONS='--color=auto' 阅读全文
posted @ 2022-04-24 19:13 Hello_worlds 阅读(201) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python3 # -*- coding:utf-8 -*- import requests import sys import json import time jumpurl = 'http://192.168.1.1' username = 'admin' pas 阅读全文
posted @ 2022-04-20 19:01 Hello_worlds 阅读(184) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python3 # -*- coding:utf-8 -*- import requests, json import datetime from httpsig.requests_auth import HTTPSignatureAuth import sys def 阅读全文
posted @ 2022-04-20 18:52 Hello_worlds 阅读(649) 评论(0) 推荐(0)
摘要: # 系统、内核版本 cat /etc/redhat-release CentOS release 6.8 (Final) uname -r 2.6.32-754.33.1.el6.centos.plus.x86_64 # 下载 cd /opt/ wget https://github.com/ste 阅读全文
posted @ 2022-04-07 17:23 Hello_worlds 阅读(307) 评论(0) 推荐(0)
摘要: 原文: https://wsgzao.github.io/post/xtrabackup/ 前言 Percona XtraBackup 可以说是一个相对完美的免费开源数据备份工具,支持在线无锁表同步复制和可并行高效率的安全备份恢复机制相比 mysqldump 来说确实让人眼前一亮,与 MySQL E 阅读全文
posted @ 2022-04-06 17:54 Hello_worlds 阅读(329) 评论(0) 推荐(0)
摘要: # 获取主机名里面包括docker的 hostid select hostid from hosts where host like '%docker%'; # 查询某个监控项 select * from items where key_='log[/proc/sys/kernel/pid_max] 阅读全文
posted @ 2022-03-29 16:47 Hello_worlds 阅读(95) 评论(0) 推荐(0)
摘要: 01、概述 Kubernetes 云原生集群监控主要涉及到如下三类指标:node 物理节点指标、pod & container 容器资源指标和Kubernetes 云原生集群资源指标。针对这三类指标都有比较成熟的方案,见下图 上节我们梳理了cAdvisor容器性能指标如何监控,这一节我们就来分析下云 阅读全文
posted @ 2022-03-25 11:55 Hello_worlds 阅读(4822) 评论(0) 推荐(0)