nagios监控服务器10.1.7.110linux客户端服10.1.7.120windows客户端10.1.7.1191创建nagios组和账号root@nagios~]#useradd-mnagios[root@nagios~]#groupaddnagcmd[root@nagios~]#groupaddnagcmd[root@nagios~]#usermod-a-Gnagcmdnagios[root@nagios~]#usermod-a-Gnagcmdapache2编..
分类:
移动开发 时间:
2014-10-14 20:21:20
阅读次数:
166
一、实验环境:rhel1————ip:192.168.10.1————监控端rhel6.0系统rhel2————ip:192.168.10.2————被监控段rhel6.0系统client————ip:192.168.10.3————被监控端windowsxp系统二、rhel1(监控端)安装步骤:(1.)安装apache+php搭建php运行环境,不做介绍..
分类:
移动开发 时间:
2014-10-14 05:18:58
阅读次数:
292
1.初始化数据库;postgresql-setup initdb2.启动postgresql并设置为开机自启动;systemctl restart postgresqlsystemctl enable postgresql3.登进数据库看看状态;(可略)su - postgrespsql\du (查...
分类:
数据库 时间:
2014-10-13 19:02:27
阅读次数:
303
cd/usr/local/src
wgethttp://nginx.org/download/nginx-1.7.6.tar.gz
tar–xvfnginx-1.7.6.tar.gz
cdnginx-1.7.6
./configure--prefix=/usr/local/nginx--with-http_stub_status_module--with-http_ssl_module--with-pcre
makemakeinstall
vi/usr/local/nginx/conf/nginx.con..
分类:
Web程序 时间:
2014-10-13 17:47:30
阅读次数:
552
在ubuntu 14.04 系统探索部署 nagios nrdp 插件过程中,遇到如下问题? 测试 http: ip /nrdp/ 提交结果的页面中,总是报如下错误: -1 BAD COMMAND FILE -1 BAD CHECK RESULTS DIR “BAD COMMAND FILE” “BAD C...
分类:
移动开发 时间:
2014-10-13 02:03:59
阅读次数:
629
nagios --> plugins ( 插件 ) --> (host ,service)( 主机,服务 ) --> 返回值( 0--成功,1--警告,2--紧急 ,3--不知道 )--> web****************************************************...
分类:
移动开发 时间:
2014-10-12 19:18:08
阅读次数:
259
安装完centos7minimal后,无力吐槽,变化之大,发现以前常用的一些命令都没有。一、常用命令安装查看anaconda-ks.cfg,原来是没装basegroup的包[root@centos7~]#catanaconda-ks.cfg
#version=RHEL7
#Systemauthorizationinformation
auth--enableshadow--passalgo=sha512
#UseC..
分类:
其他好文 时间:
2014-10-11 18:26:46
阅读次数:
225
系统版本[root@localhostlibexec]#cat/etc/redhat-releaseCentOSrelease5.6(Final)1安装和配置snmp1)yuminstallnet-snmp-utilsnet-snmpnet-snmp-libs-y2)vi/etc/snmp/snmpd.conf把下面两行的#号去掉#viewmib2included.iso.org.dod.internet.mgmt.mib-2fc#viewallincluded.180..
分类:
移动开发 时间:
2014-10-11 17:24:56
阅读次数:
258
由于cacti本身自带的插件有限,在实际的生产环境中,光依赖这些是远远不够的,那么这篇博文呢就带我们走进cacti插件安装的世界,请顺着我的行迹往下看1.到cacti官网下载我们要用到的插件,这里以monitor、thold、setting、syslog为例[root@Cacti~]#wgethttp://docs.cacti.net/_..
分类:
其他好文 时间:
2014-10-11 15:14:36
阅读次数:
185