首先在一台agent安装zabbix-agent rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm yum clean all yum -y install za ...
分类:
其他好文 时间:
2021-05-24 10:48:30
阅读次数:
0
远程主机指纹的作用:用于验证远程主机确实是我以前连接过的主机,而不是被DNS劫持的主机。 远程主机:ubuntu20.04系统 本地:wsl 2 的debian 10系统 所谓的主机指纹:把远程主机的公钥用一种hash算法输出一个较短的数串。 这就涉及到2个材料:1、远程主机的公钥。2、双方公用的哈 ...
分类:
其他好文 时间:
2021-05-24 10:10:47
阅读次数:
0
这篇文章主要介绍了Powershell 之批量获取文件大小的实现代码 效果图: 核心代码: $startFolder = "D:\" $colItems = (Get-ChildItem $startFolder | Where-Object {$_.PSIsContainer -eq $True} ...
分类:
系统相关 时间:
2021-05-24 10:08:31
阅读次数:
0
在官网下载二进制包:这里直接使用wget wget https://cdn.zabbix.com/zabbix/binaries/stable/4.0/4.0.30/zabbix_agent-4.0.30-linux-3.0-amd64-static.tar.gz 之后进行解压 [root@zabb ...
分类:
其他好文 时间:
2021-05-24 08:48:26
阅读次数:
0
命令模式 public interface Command { void execute(); } ? public class CommandA implements Command{ public void execute() { System.out.println("a执行了"); } } ...
分类:
其他好文 时间:
2021-05-24 08:31:58
阅读次数:
0
<html> <embed height="200" type="application/x-shockwave-flash" width="200" src="http://www.blogclock.cn/swf/S1000746cf11489-9.swf" wmode="transparent ...
分类:
其他好文 时间:
2021-05-24 08:27:38
阅读次数:
0
安装好 Settings Sync 拓展,ctrl(mac 是 command) + shift + p,输入 sync,点击 Sync: Download Settings,输入 access token 和 gist id,泡杯咖啡,等待同步完成。 github:ghp_ixKloDjaYckF ...
分类:
其他好文 时间:
2021-05-24 07:55:41
阅读次数:
0
场景 在Jenkins中新建任务后,在源码管理中选择Git,并且通过用户名和密码的 凭证方式连接到Git仓库时提示: 无法连接仓库:Error performing git command: git ls-remote -h... 注: 博客: https://blog.csdn.net/badao ...
分类:
其他好文 时间:
2021-05-24 07:05:12
阅读次数:
0
@Override public String getUrlRestInfo(String[] command, String fileName) { //新建一个StringBuffer StringBuffer sb = new StringBuffer(); //过程 Process pro ...
分类:
编程语言 时间:
2021-05-24 06:50:41
阅读次数:
0
正则表达式是一种符号表示法,被用来识别文本模式。 grep 元字符和原义字符 (Metacharacters And Literals) 正则表达式元字符由以下字符组成: 任何字符 我们将要查看的第一个元字符是圆点字符,其被用来匹配任意字符。如果我们在正则表达式中包含它,它将会匹配在此位置的任意一个 ...
分类:
系统相关 时间:
2021-05-24 06:37:50
阅读次数:
0