5.使用centreon命令之Commands详细使用,请参考:http://documentation.centreon.com/docs/centreon-clapi/en/latest/user/objects/commands.html#使用centreon的commands参数,可以增、删、改nagios的检查命令。①.列出可用的Nagios命令,使用SHOW动作:1)、命令:centreon-u..
分类:
移动开发 时间:
2014-09-24 16:59:28
阅读次数:
365
Nagios Linux客户端需要安装NRPE进行数据收集,如果在Ubuntu系统下安装过程中遇到下面的错误提示:checking for SSL libraries... configure: error: Cannot find ssl libraries那么可能是缺少sudo apt-get ...
分类:
其他好文 时间:
2014-09-23 19:22:15
阅读次数:
202
1.简介CentreonCLAPI是centreon命令行接口,可以替代在网页上的许多工作。命令行还是非常方便的。2.安装wgethttp://download.centreon.com/Modules/CLAPI/centreon-clapi-1.5.2.tar.gztar-axfcentreon-clapi-1.5.2.tar.gz-C/usr/local/src/cd/usr/local/src/centreon-clapi-1.5..
分类:
移动开发 时间:
2014-09-23 18:13:35
阅读次数:
286
一、安装前准备
(1)创建nagios用户和用户组
[root@localhost ~]#useradd -s /sbin/nologin nagios
[root@localhost ~]#mkdir /usr/local/nagios
[root@localhost ~]#chown –R nagios.nagios /usr/local/nagios
(2)开启系统sendm...
分类:
移动开发 时间:
2014-09-23 13:53:05
阅读次数:
241
需求:
目前公司的邮件报警邮件都是发给运维部的,这样造成运维部要处理大量的报警邮件,这样做降低了效率,今天想了一下把具体的一些应用的报警分配到各个开发小组的项目负责人,以便更好的解决和处理线上服务器出现的问题。
好了直接上步骤:
首先编辑contacts.cfg文件:内..
分类:
移动开发 时间:
2014-09-22 20:14:23
阅读次数:
163
参考:http://blog.163.com/jgh2008@126/blog/static/28596246201092081139283/一、获得和安装iftopCentos:yum install iftopUbuntu: sudo apt-get install iftop编译安装:ifto...
分类:
系统相关 时间:
2014-09-22 15:26:52
阅读次数:
321
下载源码 http://www.roland-riegel.de/nload/ 解压,进入源码目录 $?./configure?--prefix=/usr/local/nload 报错 configure:?error:?ncurses?library?or?development?files?not?found.?ncurses?is?...
分类:
系统相关 时间:
2014-09-21 18:49:21
阅读次数:
326
因已在oschina上发表,所以这里就不在重复了,详情可访问:http://my.oschina.net/fufangchun/blog/312808
分类:
移动开发 时间:
2014-09-21 03:42:50
阅读次数:
203
因已在oschina上发表,所以这里就不在重复了,详情可访问:http://my.oschina.net/fufangchun/blog/312365
分类:
移动开发 时间:
2014-09-21 03:26:20
阅读次数:
244
在交换机上启用snmp并配置团体名(交换换机IP192.168.5.209)Switch(config)#snmp-servercommunitypublicroSwitch(config)#snmp-servercommunitypublicrw2.在nagios服务器上输入如下命令获取交换机的index信息[root@localhost~]#/usr/local/nagios/libexec/check_traffic.sh-V2c-..
分类:
移动开发 时间:
2014-09-20 02:19:57
阅读次数:
470