zabbixagent类型所有keyfzabbix服务器端通过与zabbixagent通信来获取客户端服务器的数据,agent分为两个版本,其中一个是主动一个是被动,在配置主机我们可以看到一个是agent,另一个是agent(active)。前者为被动检测,后者为主动检测。那么主动和被动区别在哪里呢?被动:za..
分类:
其他好文 时间:
2014-11-21 16:41:29
阅读次数:
349
基于CentOS6.6搭建Zabbix2.4.x安装YUM源wgethttp://mirrors.163.com/.help/CentOS6-Base-163.repowgethttp://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpmwgethttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm安..
分类:
其他好文 时间:
2014-11-21 16:37:53
阅读次数:
310
说明:WebMonitoring是用来监控web程序的,可以监控到web程序的下载速度、返回码及响应时间,还支持把一组连续的web动作作为一个整体来监控。1、进入监控主机的Web资源2、创建Web场景3、设置访问web页面的场景,包括IE客户端和登陆账号(如果有的话)说明:可以为web监控新建一..
分类:
Web程序 时间:
2014-11-21 16:30:58
阅读次数:
432
今天遇到,自己搭建的maven私服速度很慢,nexus 搭建的
下载自己上传的卡头,返回的信息是Could not transfer artifact
查询日志
2014-11-21 11:52:56 INFO [RepositoryStatusChecker-proxy-oschina-public] org.sonatype.nexus.proxy.registry.DefaultR...
分类:
其他好文 时间:
2014-11-21 14:25:16
阅读次数:
451
代理模式:代理模式(Proxy):为其他对象提供一种代理以控制对这个对象的访问。UML结构如下图:代码实现: //定义一个Subject 抽象类 public abstract class Subject { public abstract void Request()...
分类:
其他好文 时间:
2014-11-21 14:06:12
阅读次数:
133
通过查资料后,再去看了看我的配置文件,结果发现我没有如下配置: nginx反向代理配置时,一般会添加下面的配置: ????? proxy_set_header Host $host; ??????proxy_set_header X-Real-IP $remote_ad...
分类:
其他好文 时间:
2014-11-21 00:10:23
阅读次数:
174
问题:在WEB端上中文会显示为问号,当创建一个GRAPH,名字中带中文时会报错:(latin1_swedish_ci,IMPLICIT)and(utf8_general_ci,COERCIBLE)foroperation‘=‘意思是使用了两种不同的字符集(latin1和utf8)1、方法一:网上找到最多也就是添加字体文件方法将windows系统中的字体文..
分类:
其他好文 时间:
2014-11-21 00:09:40
阅读次数:
629
1、客户端新建脚本[root@agent01~]#vi/usr/local/zabbix_agent/sbin/discovertcpport.sh
#!/bin/bash
portarray=(`netstat-tnlp|egrep-i"$1"|awk{‘print$4‘}|awk-F‘:‘‘{if($NF~/^[0-9]*$/)print$NF}‘|sort|uniq`)
#namearray=(`netstat-tnlp|egrep-i"$1"|awk{‘print$7‘}|awk-F‘..
分类:
系统相关 时间:
2014-11-21 00:07:40
阅读次数:
414
The socks proxy I created following?Proxy Using SSH Tunnel?works very well on both?Linux?and?Windows. However, when I try to configure my iPhone and iPad with iOS, I find iOS does not support ...
分类:
移动开发 时间:
2014-11-20 20:29:39
阅读次数:
293
1、监控windows进程的几个KEYS:proc.mem[<name>,<user>,<mode>,<cmdline>]Memoryusedbyaprocess.<name>processname(default:"allprocesses").<user>username(default:"allusers").<mode>possiblevalues:avg,max,min,sum(default).&..
分类:
Windows程序 时间:
2014-11-20 15:43:01
阅读次数:
1088