一、rp_filter参数介绍 rp_filter参数用于控制系统是否开启对数据包源地址的校验。 首先看一下Linux内核文档documentation/networking/ip-sysctl.tx...
docker目录 /var/lib/docker/containers 日志清理
1 清理日志脚本 #!/bin/bash echo "==================== start clean docker containers logs =================...
k8s删除pod一直处于terminating状态
这种情况下可以使用强制删除命令: kubectl delete pod --force --grace-period=0 -n 注意:必须加-n参数指明namespace,否则可能报错pod not ...
prometheus应用之监控mysql
1 下载安装 wget https://github.com/prometheus/mysqld_exporter/releases/download/v0.12.1/mysqld_exporter-...
grafana使用正则示例(一)
例子: up{instance="demo.robustperception.io:9090",job="prometheus"} 1 1521630638000 up{instance="demo....
prometheus应用之监控kafka集群
1 下载 kafka_exporter https://github.com/danielqsj/kafka_exporter/releases/download/v1.3.1/kafka_expor...
mongo执行db.serverStatus命令详解
echo "db.serverStatus()" |/usr/local/mongodb/bin/mongo 192.168.1.123:27017/foo --quiet { "host" : "T...
linux sysctl 配置优化汇总(转)
1 linux sysctl 配置优化SS调优 fs.file-max = 51200 net.core.rmem_max = 67108864 net.core.wmem_max = 6710886...
prometheus应用之监控MongoDB集群
1 下载 mongodb_exporter wget https://github.com/prometheus/node_exporter/releases/download/v1.2.2/node...