上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: #!/usr/bin/env bash # # Description: Auto test download & I/O speed script # # Copyright (C) 2015 - 2020 Teddysun <i@teddysun.com> # Thanks: LookBack 阅读全文
posted @ 2021-01-13 18:20 邓聪聪 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 2.查看磁盘扩容后状态,没有任何变化 lsblk fdisk -Th 3.记住根分区的编号!!!,删除原来的(不要保存!不要保存!不要保存!),重新建立, 然后保存并退出刷新分区 partpeobe /dev/sda 刷新根分区并查看状态 xfs_growfs /dev/sda3 阅读全文
posted @ 2020-12-15 12:16 邓聪聪 阅读(294) 评论(0) 推荐(0) 编辑
摘要: docker pull sebp/elk:660 docker images docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -itd -e ES_HAEP_SIZE="2g" -e LS_HEAP_SIZE="1g" --name elk seb 阅读全文
posted @ 2020-12-01 15:56 邓聪聪 阅读(229) 评论(0) 推荐(0) 编辑
摘要: NAT内网回源问题 # nat alg dns enable #命令使能ALG DNS功能,才可以使DNS应答报文正常穿越NAT#nat dns-map domain.cn x.x.x.x 80 tcp #用来配置一条域名到外部IP地址、端口号、协议类型的映射 方案一: !!!外网口[Gateway 阅读全文
posted @ 2020-11-10 11:45 邓聪聪 阅读(1661) 评论(0) 推荐(0) 编辑
摘要: 为了监控某个IP的端口是否正常,zabbix内置tcp监控的key值" net.tcp.port[IP,port] 返回结果1表示端口正常,返回0表示不存在",既触发器配置" {Zabbix server:net.tcp.port[113.143.100.199,8899].last()}=0 " 阅读全文
posted @ 2020-10-24 21:28 邓聪聪 阅读(1754) 评论(0) 推荐(0) 编辑
摘要: import_export版本不对,可能是版本太高了,已经取消了chunk_size这个函数 import import_exportimport_export.__version__ 解决办法: pip3 --default-timeout=2000 install django_import_e 阅读全文
posted @ 2020-10-20 15:22 邓聪聪 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 1 来自B站的干货:https://www.bilibili.com/video/BV1PV411k7Rz?p=7 阅读全文
posted @ 2020-09-29 14:03 邓聪聪 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1,首先查询需要查询主机的hositid select host,hostid from hosts WHERE host="xxx" 2,查询主机的item select itemid,name,key_ from items where hostid=hostid and name regexp 阅读全文
posted @ 2020-08-31 21:54 邓聪聪 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 1.问题:登陆MYSQL以后,不管运行任何命令,总是提示这个 mysql> show databases; ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing thi 阅读全文
posted @ 2020-08-21 14:45 邓聪聪 阅读(362) 评论(0) 推荐(0) 编辑
摘要: #select *from hosts where hostid=10322#select * from items where hostid=10322 and key_ like 'net.if%' and `name` like '%0/0/1%'#select * from history_ 阅读全文
posted @ 2020-08-11 16:17 邓聪聪 阅读(547) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页