ITeye博客

2020 年文章归档

共 5 篇文章

compare file content

grep -Fxvf /usr/cp/Log/alarms/prvAlarms.log /usr/cp/Log/alarms/curAlarms.log > /usr/cp/Log/alarms/difAlarms.log

2020-11-04 16:25 · compare file content

wmi

Install the wmi client in Linux, follow these steps Download wmi from www.atomicorp.com wget http://www6.atomicorp.com/channels/atomic/centos/7/x86_64/RPMS/wmi-1.3.14-4.el7.art.x86_64.rpm Install wmi using yum: yum install wmi-1.3.14-4.el7.art.x86_64.rpm Usage: wmic -U user%password //host “query”

2020-08-21 16:35 · install wmi in linux

snmp trap

eps 1.snmptrapd /etc/rc.local auto restart added & in the end snmptrapd -c c:/etc/snmp/snmptrapd.conf -d -f -Lo ps -ef|grep snmptrapd https://blog.csdn.net/yanhang1589/article/details/7292354 linux install net snmp https://blog.csdn.net/jiangeeq/article/details/70144092 https://blog.csdn.net/u01041…

2020-06-21 22:10 · net snmp trap

Linux下安装net-snmp

Linux下root权限安装net-snmp5.7.3 1.#tar zxvf net-snmp-5.7.3.tar.gz //解压 2.#cd net-snmp-5.7.3 3.#./configure --prefix=/usr/local/snmp //配置 配置中会出现这样的提示: default version of-snmp-version: 2 Systemcontact information(配置设备的联系人):jackhe System location(设备的位置):Shenzhen 下面两个默认就行 Location to write logfile(日志文件位置):…

2020-06-21 21:22 · net snmp linux

snmp trap

https://metacpan.org/source/DTOWN/Net-SNMP-v6.0.1/examples/trap.pl https://blog.csdn.net/liang_baikai/article/details/53522293 用zabbix监测snmptrap的主动告警功能 https://blog.csdn.net/wangcg123/article/details/53837737 snmp trap配置 https://www.cnblogs.com/clsn/p/7885990.html Zabbix 3.0 从入门到精通(zabbix使用详解) http…

2020-05-14 13:56 · snmp trap