zabbix配置流程 针对对象不同配置 运维加监控 开发需要 提供需求,以及获取需求的指令 运营需要 通用流程 添加主机组 添加监控项 添加触发器 添加媒介 添加收件人邮箱 配置动作 手动触发(模拟问题出现) 查看界面是否提示问题 实例 环境: ip|设备 | 192.168.94.143|node ...
分类:
其他好文 时间:
2021-04-09 13:26:20
阅读次数:
0
前言 本文主要介绍ElasticSearch冷热分离架构以及实现。 冷热分离架构介绍 冷热分离是目前ES非常火的一个架构,它充分的利用的集群机器的优劣来实现资源的调度分配。ES集群的索引写入及查询速度主要依赖于磁盘的IO速度,冷热数据分离的关键点为使用固态磁盘存储数据。若全部使用固态,成本过高,且存 ...
分类:
其他好文 时间:
2021-03-31 12:30:47
阅读次数:
0
#将文件1作为命令的标准输入并将标准输出到文件2 cat <test.txt >test_copy.txt #将EOF之间的内容追加写入/etc/hosts cat >> /etc/hosts << EOF 172.16.127.35 prod-node1 172.16.127.36 prod-no ...
分类:
系统相关 时间:
2021-03-31 12:05:00
阅读次数:
0
在剧本中设置循环信息 vim test04.yml hosts: all remote_user: root tasks: name: Add Users user: name={{ item.name }} groups={{ item.groups }} state=present with_i ...
分类:
其他好文 时间:
2021-03-31 11:52:29
阅读次数:
0
文档链接 https://docs.ansible.com/ansible/latest/reference_appendices/config.html 配置文件 [defaults] inventory = /etc/ansible/hosts sudo_user=root remote_por ...
分类:
其他好文 时间:
2021-03-30 13:37:18
阅读次数:
0
import contextlib import pyhdfs class HdfsUtil(object): def __init__(self, hosts='namenode1:9870,namenode2:9870', user_name='hdfs'): self.hosts = host ...
分类:
编程语言 时间:
2021-03-30 13:29:22
阅读次数:
0
决方案: Cd到文件位置:C:\Windows\System32\drivers\etc\hosts 输入以下内容: 日期:2021/3/15 搜查到新的地址和IP 已经实时更新! #GitHub Start 140.82.112.3 github.com 140.82.114.4 gist.git ...
分类:
其他好文 时间:
2021-03-18 14:09:26
阅读次数:
0
(1)17347083 -rw-r--r--. 1 root root 384 Sep 1 2020 /etc/hosts (2)17347083 inode号 (3) - 文件类型 (4) rw-r--r-- 文件权限 (5) . .与selinux有关 (6) 1 文件硬链接数量 (7)root ...
分类:
其他好文 时间:
2021-03-17 14:17:18
阅读次数:
0
一、前言 作为一名合格的程序员,github打开速度太慢怎么能容忍。但是可以通过修改hosts文件信息来解决这个问题。 二、macOS解决方法 打开hosts文件.终端输入sudo vim /private/etc/hosts 在 vim 编辑中,输入i可以编辑hosts文件(如果按了没效果再按一下 ...
分类:
其他好文 时间:
2021-03-15 11:10:07
阅读次数:
0
需要修改host文件 以管理员身份运行cmd(windows) 使用vscode打开host文件: code C:\Windows\System32\drivers\etc\hosts 进入ipaddress.com 分别查找如下几个网址的IP: github.com assets-cdn.gith ...
分类:
其他好文 时间:
2021-03-01 13:43:05
阅读次数:
0