概述SNMPTrap监控主要用于设备发生故障时的主动通知的监控接收SNMPtrap与查询启用SNMP的设备相反。在这种情况下,信息发送自启用SNMP的设备并由Zabbix收集或“trapped”。通常在某些条件更改时发送trap,并且代理通过端口162连接到服务器(相反的,代理端的161端口是用于查询代理的)。使用trap可以检测在查询间隔期间发生的一些可能被查询数据遗漏的短期问题。在Zabbix
分类:
其他好文 时间:
2020-09-17 22:41:11
阅读次数:
19
备份复制特定以开头的目录下的文件,并查看结果 ls /usr/local/apache-tomcat-*/conf/catalina.properties|xargs -i cp -a {} {}.bak && ll -thr /usr/local/apache-tomcat-*/conf/cata ...
分类:
其他好文 时间:
2020-09-17 21:40:06
阅读次数:
37
Problem LeetCode Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where t ...
分类:
编程语言 时间:
2020-09-17 20:29:16
阅读次数:
30
import time from selenium import webdriver driver = webdriver.Chrome() driver.get("https://email.163.com") time.sleep(2) iframe = driver.find_elements ...
分类:
编程语言 时间:
2020-09-17 18:46:29
阅读次数:
27
/etc目录下一些简单的操作,find查找,sed 命令使用,xars 使用
分类:
系统相关 时间:
2020-09-17 17:47:53
阅读次数:
33
1 开启 Map 输出阶段压缩(中间压缩) 开启 map 输出阶段压缩可以减少 job 中 map 和 Reduce task 间数据传输量。具体配置如下: 步骤1: 开启 Hive 中间传输数据压缩功能 map 任务和 reduce 任务之间的数据的压缩. hive.exec.compress.i ...
分类:
其他好文 时间:
2020-09-17 17:04:51
阅读次数:
30
1. 登录服务器 2. 登录docker docker exec -it ***容器名*** /bin/bash 3. 查看 PHP版本 php -v 4. 查找扩展包 yum search bcmath 5 选择版本并安装 yum install php72-php-bcmath.x86_64 6 ...
分类:
Web程序 时间:
2020-09-17 16:58:55
阅读次数:
47
1.为什么用线程池 1.启动一个新线程的消耗较高且涉及与操作系统的交互,尤其是程序中需要创建大量生存期很短暂的线程,而使用线程池可以很好地提升性能 2.线程池则是创建指定线程数量等待执行事件,当该事件执行结束后该线程并不会死亡,而是回到线程池中变成空闲状态等待执行下一个事件 3.当系统中包含有大量的 ...
分类:
编程语言 时间:
2020-09-17 16:03:34
阅读次数:
30
html: <a href="#" onclick="addrow(this);">[+]</a> JS:function addrow(o){ var div=$(o).parent().parent(); if($(o).html() == '[+]'){ var newdiv=div.clon ...
分类:
Web程序 时间:
2020-09-17 14:10:54
阅读次数:
34