码迷,mamicode.com
首页 >  
搜索关键字:nagios pnp4 监控 脚本    ( 69093个结果
学习shell脚本笔记
1.if 是单分支语句,使用格式如下: if condition ; then statement ….. fi 2.if … else 是双分支语句,使用格式如下: if condition ; then statement …. else statement …. fi 3.if …elif…e...
分类:其他好文   时间:2014-05-01 13:53:51    阅读次数:356
Unity3D 中脚本执行的先后顺序
Unity3D本身自带有控制脚本执行先后顺序的方法:Edit---> Project Settings---> Script Execution Order --->值越小脚本会越先被执行
分类:其他好文   时间:2014-05-01 13:31:42    阅读次数:404
python压缩文件脚本
zf.py文件"""desc:读取配置文件config.ini压缩sourcepath路径到targetpath 并可以排除不需要压缩的文件excludefiletime:2014/4/30 12:03:42author:ggh"""import zipfile, os, configpar...
分类:编程语言   时间:2014-05-01 00:59:26    阅读次数:428
监控线上系统异常日志
在监控线上系统时,需要实时监控异常日志信息。...
分类:其他好文   时间:2014-04-29 13:27:20    阅读次数:320
JavaWeb基础(复习2)
会话清除与过期 程序主动清除session数据 设置会话失效:session.invalidate() 移除会话中一个属性: 语法:public void removeAttribute(String name); 服务器主动清除长时间没有再次发出请求的session 设置会话过期时间 方法一:public void setMaxInactiveInterval(int interv...
分类:编程语言   时间:2014-04-28 10:36:41    阅读次数:322
使用Zenoss对JMX的监控
Zenoss 4.x 版本中提供了对JMX的监控支持,...
分类:其他好文   时间:2014-04-28 10:35:41    阅读次数:348
Python将JSON格式数据转换为SQL语句以便导入MySQL数据库
前文中我们把网络爬虫爬取的数据保存为JSON格式,但为了能够更方便地处理数据,我们希望把这些数据导入到MySQL数据库中。phpMyadmin可以把MySQL数据库中的数据导出为JSON格式文件,但却不能把JSON格式文件导入到MySQL数据库。为了实现这个目标,可以编写Python脚本将JSON格式数据转换为SQL语句以便导入MySQL数据库。 JSON文件tencent.json...
分类:数据库   时间:2014-04-28 10:33:41    阅读次数:479
避免nrpe端进程监控多个接口
为了避免目标端nrpe进程监控多个接口而造成的安全漏洞。有必要固定服务端的地址,对nrpe.cfg配置中,有下列一行介绍 #SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all in...
分类:其他好文   时间:2014-04-27 22:36:17    阅读次数:454
彻底解决CHECK_NRPE: Error - Could not complete SSL handshake.
出现“CHECK_NRPE: Error - Could not complete SSL handshake.”的错误。       问题解决的步骤:    1. 确保openssh , openssl, openssl-devel版本一致。 在centOS 上,可以运行: yum install openssl openssl-devel     2. nagios监控端的允许地址和...
分类:其他好文   时间:2014-04-27 22:18:19    阅读次数:988
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!      解决方法: setenforce 0...
分类:移动开发   时间:2014-04-27 21:18:05    阅读次数:450
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!