随笔分类 - 监控
摘要:ipmitool -H 172.23.109.3(远程机器的ipmi地址) -U admin(远程机器的ipmi用户) -a -I lanplus power status https://www.inadm.com/2019/06/21/ipmitool/
阅读全文
摘要:1. docker最佳实践 https://yeasy.gitbook.io/docker_practice/install/centos 2. 优质学习网站 https://www.akiraka.net/
阅读全文
摘要:package commands import ( "fmt" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/push" ) func main() {
阅读全文
摘要:/usr/bin/yum 和/usr/libexec/urlgrabber-ext-down
阅读全文
摘要:原文链接 https://www.cnblogs.com/wt11/p/15122036.html 参考链接 https://www.cnblogs.com/dongyuq1/p/13572477.html 1. 先自定义exporter package utils import ( "github
阅读全文
摘要:package utils import ( "fmt" "net/http" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" "gi
阅读全文
摘要:[root@localhost apps]# cat /etc/supervisor/conf.d/command_analyzer_celery_* [program:book]command=/home/project/bookmanager/venv/bin/gunicorn -w 8 -b
阅读全文
摘要:1. 采集服务器网卡1分钟平均流量(单位bit) rate(node_network_receive_bytes_total{device="ens33",instance="192.168.214.129:9100",job="node",name="JSONS"}[1m])*8
阅读全文
摘要:1. 下载grafana安装包 wget https://mirrors.huaweicloud.com/grafana/7.1.5/grafana-7.1.5-1.x86_64.rpm 2. 安装 rpm -Uvh grafana-7.1.5-1.x86_64.rpm 3. 设置开机启动并启动 /
阅读全文
摘要:prometheus.yml [root@bogon prometheus-2.20.1.linux-amd64]# cat prometheus.yml # my global config global: scrape_interval: 15s # Set the scrape interva
阅读全文