上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: cat userparameter_http.conf UserParameter=http_discovery,/usr/bin/python /etc/zabbix/scripts/base/http_discovery.py UserParameter=http.info[*],/bin/ba 阅读全文
posted @ 2022-08-12 12:56 Hello_worlds 阅读(262) 评论(0) 推荐(0) 编辑
摘要: zabbix(历史数据保留时长和趋势存储时间的区别)? zabbix(历史数据保留时长和趋势存储时间分别影响着哪里)? 001、影响grafana 数据展示的是历史数据还是趋势数据? 等把《历史数据保留时长》设置为不保存时,grafana会取不到数据 阅读全文
posted @ 2022-08-12 11:33 Hello_worlds 阅读(743) 评论(0) 推荐(0) 编辑
摘要: 1. 准备阶段 下载安装包到进行升级服务器 wget -c https://acs-ecp.oss-cn-hangzhou.aliyuncs.com/rpm/kernel-4.19.1-rpm.tar 2. 升级当前内核节点 tar -xvf kernel-4.19.1-rpm.tar rpm -i 阅读全文
posted @ 2022-08-12 11:01 Hello_worlds 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 217G housekeeper.ibd rename table housekeeper to housekeeper_bak_20220801;Query OK, 0 rows affected (40.94 sec) 直接rename 不会对zabbix运行和功能产生任何影响 rename t 阅读全文
posted @ 2022-08-02 10:09 Hello_worlds 阅读(189) 评论(0) 推荐(0) 编辑
摘要: nginx wiki jira zabbix jumpserver 重启需要电话通知我们?nginx 磁盘90%阈值需要电话通知我们? 解刨:进程重启需要电话通知给我们 关键点:如何才能知道进程重启了(可以通过获取进程的运行时间) ps -p 进程pid -o etimes system.run[p 阅读全文
posted @ 2022-07-26 20:18 Hello_worlds 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 有的时候我们用copy模块备份的文件想要回滚 ansible -i pbs_hosts all -m copy -a "src=file/hosts dest=/etc/ backup=yes" 那我们就可以用下面这种方式进行回滚 cat restore.hosts.yml #固定格式 #- hos 阅读全文
posted @ 2022-07-21 19:23 Hello_worlds 阅读(360) 评论(0) 推荐(0) 编辑
摘要: ls: cannot access /data11: Input/output error df -h|grep data11 /dev/sdm 12T 6.6G 12T 1% /data11 smartctl -l error /dev/sdm #如果返回以下信息说明磁盘坏了 smartctl 7 阅读全文
posted @ 2022-07-20 17:05 Hello_worlds 阅读(1248) 评论(0) 推荐(0) 编辑
摘要: import requests import sys import json import time # 根据实际情况填写 jumpurl = 'http://127.0.0.1' username = 'admin' password = "admin" print() if len(sys.ar 阅读全文
posted @ 2022-07-20 11:33 Hello_worlds 阅读(195) 评论(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-07-20 11:30 Hello_worlds 阅读(644) 评论(0) 推荐(0) 编辑
摘要: jms_url #!/usr/bin/env python3 # -*- coding:utf-8 -*- import requests, json import datetime from httpsig.requests_auth import HTTPSignatureAuth import 阅读全文
posted @ 2022-07-20 11:22 Hello_worlds 阅读(623) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页