摘要: 效果如图 代码见Github:https://github.com/OhZLee/switch_cpu_monitor.git 阅读全文
posted @ 2016-06-12 21:40 OhLee 阅读(271) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python #__*__ coding:utf-8 __*__ import os import time import commands from multiprocessing import Queue,Event,Process,Pool,Manager #指定交换机snmp community和日志文件路径 community='public' logfile... 阅读全文
posted @ 2016-05-09 23:18 OhLee 阅读(3790) 评论(0) 推荐(0) 编辑
摘要: 目标:匹配域名关键字,实现特定域名自动代理 环境如下: 1、客户端:Windows 7+Chrome 2、2台CentOS 6.4服务器,1台做DNS,1台做Squid+HTTP 3、DHCP服务器(华为交换机) 步骤: 一、DHCP Server启地址池,并指定option252 二、DNS服务器 阅读全文
posted @ 2016-05-08 23:36 OhLee 阅读(387) 评论(0) 推荐(0) 编辑