顯示具有 network 標籤的文章。 顯示所有文章
顯示具有 network 標籤的文章。 顯示所有文章

2018年12月25日 星期二

CentOS 安裝 zabbix-agent



1.Adding Zabbix repository
#rpm -ivh https://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm


2.Agent installation
#yum install zabbix-agent

3.start the agent
#service zabbix-agent start

2018年6月25日 星期一

取得台灣IP列表

取得台灣IPv4列表
#fetch http://ftp.apnic.net/stats/apnic/delegated-apnic-latest

#netmask `cat delegated-apnic-latest | awk -F'|' '/TW\|ipv4/ {print $4":+"($5-1)}'` > tw_ip_range.txt