PostgreSQL自动备份脚本及恢复备份方式
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a25a2488cd808d89f0a7647b6b4c0cd732408daab9bb88420819e0fb55f2f85580dcdb98cbf251dad024 ...
grub rescue救援模式的处理
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a254b7707111cfff295133a9caa72472e9ff03c4a17e714c0baa04a8fe1aa960de5e74c714a8e9a649e8 ...
redis-expoter监控redis
redis-expoter监控redishttps://juejin.cn/post/7119751560900378637#heading-3
一. redis配置远程连接12345678# 允许任何主机连接、访问bind 127.0.0.1 改为 bind 0.0.0.0 # 关闭保护模式protected-mode yes 改为 protected-mode no # 允许启动后在后台运行,即关闭命令行窗口后仍能运行daemonize no 改为 daemonize yes
二. 构建redis-expoterdocker run构建12# cmd构建redis_exporterdocker run -d --name redis_exporter --restart always -p 9121:9121 oliver006/redis_exporter --redis.addr redis://host:6379 --redis.password 'password'
dokcer-compose构建12345678910111213# docker- ...
nginx-module-vts监控nginx
通过with-http_stub_status_module或nginx-module-vts监控nginxhttps://juejin.cn/post/7119751560900378637#heading-6
前言:nginx安装时推荐编译安装
一. nginx编译两模块 (with-http_stub_status_module监控的东西太少不推荐 )nginx-module-vts下载链接:https://codeload.github.com/vozlt/nginx-module-vts/tar.gz/v0.1.18
编译安装nginx:https://gegewu12.github.io/2023/05/15/%E7%BC%96%E8%AF%91%E9%83%A8%E7%BD%B2nginx/
1.首次安装nginx编译(with-http_stub_status_module模块)查看是否已有模块
12# 查看是否已编译./nginx -V 2>&1 | grep -o with-http_stub_status_module
编译安装
1cd /usr ...
mysql_exporter监控mysql(含监控nginx redis linux mysql)
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a2540d89c6c853dcdc8b88f597eab0de43d493688a2b4c7d7cc1d4e1e05df428c41c0abf102334069623 ...
telegraf监控mysql
telegraf监控mysql参考:
https://cloud.tencent.com/developer/article/1758937https://blog.csdn.net/an1090239782/article/details/102986488
一. 数据库开启远程连接权限https://gegewu12.github.io/2023/05/16/mysql-mariadb%E9%85%8D%E7%BD%AE%E8%BF%9C%E7%A8%8B%E8%BF%9E%E6%8E%A5/
创建远程连接用户
1234# 创建远程连接用户GRANT SELECT, PROCESS, SUPER, REPLICATION CLIENT, RELOAD ON *.* TO 'exporter'@'%' IDENTIFIED BY 'exporterpw';# 刷新flush privileges;
注释bind=127.0.0.1(vim /etc/mysql/mysql.conf.d/mysqld.cnf)
二. 构建 ...
node_exporter监控linux
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a25f70926bfe18b5e4ae2eca05ed274690b9b752e0f7ab29ac6265c6c686103f9e092bf369a2eb39aed2 ...
ceph与k8s集成
729e698e3453280de24556b4e376a8111cd39f8b0c39816b6028c181dff2ce240871853004f99f0b66bd7ab391493090efd6a8a064ee787d414f01a517f963bf1fb958ff4fe6c45a0a249f602c506a1903bd453dc4e1025c187cbfaef18ca29aedd5bfa0ce6972dafc0428a17a9ec899da30535227c9f98128f8cb83977cb52aa0ef580f56840627bfff98dc4cfe1384cb922175bf052acfe270a106a0b51f8e8abe30f0a52f5aaafdb17088f6f1d8abd4149f5a7fb7145e6b8c632fb66801283d20be0fe6500f1843e8710c55034faac773f9e71da0cfdf2f7a1ba98ad412264f42c186a32ab6b6e80fd1daac0f44e65371a0daf925c7abe ...
使用terraform管理openstack
4d04042c6ca46bd44e1433b27a81c2cf1d7ebe395378e6b7d366280b19cd34464dbaf1b441366bd6ad20f97f778b89aeeeaf429e24c71e03e0a8cad736649e91abcfee610148ffd49863b8dcf69717f77113147a0c9a4344240550d0c751cfa6d43cfe5b4a840e4ecffab93568236480425f32df2377c162804f5ddb9a9f5d0161da849a34989a44ff16ec31d6f15f2c243bac70d87c65e198322cfa61d504b0b4dcbb2a1c05dc766339f8b8a4eb5ccad749a22b8458e2f581b0035c955b2f8aff8efae838b2f5c1606849a823812a25e4fd205223923cb802952ddf5e290124996e87b93219a983c6a95bbdff782dbf8d3b8a16a906ea85c ...
ubuntu部署kubernetes
729e698e3453280de24556b4e376a8111cd39f8b0c39816b6028c181dff2ce240871853004f99f0b66bd7ab391493090efd6a8a064ee787d414f01a517f963bf1fb958ff4fe6c45a0a249f602c506a1903bd453dc4e1025c187cbfaef18ca29aedd5bfa0ce6972dafc0428a17a9ec899da30535227c9f98128f8cb83977cb52aa0ef580f56840627bfff98dc4cfe1384cb922175bf052acfe270a106a0b51f8e8abe30f0a52f5aaafdb17088f6f1d8abd4149f5a7fb7145e6b8c632fb66801283d20be0fe6500f1843e8710c55034faa88b263028465fed2f379522cf041f927db6592a2491f90765f1e0a7b5f95b31717ca8e0b7845ef466 ...