// 按钮点击事件-(void)startTime{ __block int timeout=30; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); dis...
分类:
其他好文 时间:
2014-08-06 14:12:31
阅读次数:
216
上篇文章写到了我们布置的nagios监控本机的状态,下面我们来看下nagios监控服务器状态的配置。至于为什么要这么配置,大家可以自行去百度下看看使用NRPE插件实现对remoteserver进行监控,远程服务器配置1,编译安装nagios-plugin,提供检查服务器状态时使用的命令。这些命令可..
分类:
移动开发 时间:
2014-08-06 06:20:51
阅读次数:
264
上篇我们把被监控端的配置已经完成。下面再让我们回到nagios监控端配置下即可完成对服务器的监控工作1,安装nrpetar-zxvfnrpe-2.12.tar.gz-C/usr/src/cd/usr/src/nrpe-2.12/ls./configuremake&&makeinstallmakeinstall-plugin/usr/local/nagios/libexec/check_nrpe-H19..
分类:
移动开发 时间:
2014-08-06 06:19:21
阅读次数:
326
首先说下自己的搭建环境。RedHat6.4系统nagios-4.0.7。关闭selinux和iptables服务1,准备工作,安装好nagios所需要的软件ApachePHPGCCcompilerGDdevelopmentlibrariesyuminstallhttpdphpgccglibcglibc-commongdgd-devel2,创建nagios使用的账号和组,首先要切换成管理员账号[ro..
分类:
移动开发 时间:
2014-08-05 22:54:11
阅读次数:
295
http://www.tecmint.com/how-to-add-linux-host-to-nagios-monitoring-server/
分类:
移动开发 时间:
2014-08-05 14:24:00
阅读次数:
225
http://www.tecmint.com/how-to-add-windows-host-to-nagios-monitoring-server/
分类:
移动开发 时间:
2014-08-05 14:23:40
阅读次数:
204
http://www.tecmint.com/install-nagios-in-linux/
分类:
移动开发 时间:
2014-08-05 14:23:20
阅读次数:
215
一、$表示jquery对象 二、样本 1.ajax进行json交互 $.ajax({ url : path+"expressDic.do?parentId=" + parentId, type : ‘post‘, dataType : ‘json‘, timeout : 5000, error : function() { alert(‘加载数据异常,...
分类:
Web程序 时间:
2014-08-05 11:41:29
阅读次数:
226
一、工作原理Nagios服务器使用check_nt工具与客户端程序通讯,客户端程序NSCP使用命令来获取本地客户端的信息并返回给check_nt。check_nt只是NSCP其中一项服务,Nagios还可以通过check命令(如check_http检查WEB服务)、check_nrpe、NSCA、WMI来监控windows客户端。二、下载客..
分类:
移动开发 时间:
2014-08-04 18:22:08
阅读次数:
453
定时器
ACE_Reactor::instance()->handle_events() #include "ace/Reactor.h"
ACE_Event_Handler #include "ace/Event_Handler.h"
int ACE_Event_Handler::handle_timeout(const ACE_Time_Value &curre...
分类:
其他好文 时间:
2014-08-04 14:34:47
阅读次数:
239