上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 38 下一页
  2013年7月9日
摘要: http://bbs.chinaunix.net/thread-1463276-1-1.html 阅读全文
posted @ 2013-07-09 17:59 语辰 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 由于单篇文档最大字限制是40000个字符,不能将OID附上,因此写出我是如何得到这些OID的。1.安装NET-SNMP yum install net-snmp yum install net-snmp-utils2.打开SNMPD服务 service snmpd start3.执行命令 snmptranslate -Tos > oid.txtoid.txt里就是OID和节点名称。 阅读全文
posted @ 2013-07-09 17:04 语辰 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 第一部分是主机外监控,比如:主机是否存活,WEB服务是否正常,MySQL服务是否正常等内容,再主机外通过访问其端口即可得知。这些监控命令再安装nagios-plugins-1.4.13.tar.gz时已经生成了,再/usr/local/nagios/libexec 目录下。第二部分是主机内监控,比如:要监控服务器的进程、磁盘使用等功能。这些功能的实现要依靠nrpe了,nrpe的工作模式是C/S模式,在被监控主机中,开启nrpe监听,当听到监控服务器上所发出的命令,让它检查该服务器上的硬盘使用信息时,它就会执行,并把信息传回,监控服务器,用一个不太恰当的比喻,就是木马的工作模式。 阅读全文
posted @ 2013-07-09 10:13 语辰 阅读(180) 评论(0) 推荐(0) 编辑
  2013年7月5日
摘要: rrdtool 编译出错:Please fix the library issues listed above and try again.configure: WARNING:----------------------------------------------------------------------------* I found a copy of pkgconfig, but there is no libxml-2.0.pc file around.You may want to set the PKG_CONFIG_PATH variable to point to i 阅读全文
posted @ 2013-07-05 17:23 语辰 阅读(417) 评论(0) 推荐(0) 编辑
摘要: sendEmail下载地址:http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz安装方式:tar –zxvf sendEmail-v1.56.tar.gzcd sendEmail-v1.56cp sendEmail /usr/local/binchmod 755 /usr/local/bin/sendEmailchown nagios:nagios /usr/local/bin/sendEmail使用测试#/usr/local/bin/sendEmail –f root@localhost–t xxx 阅读全文
posted @ 2013-07-05 16:10 语辰 阅读(716) 评论(0) 推荐(0) 编辑
摘要: yum -y install sendmailservice sendmail startecho “test”|mail test@163.com #测试能否正常发出短信 阅读全文
posted @ 2013-07-05 16:02 语辰 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1.yum groupinstall "chinese support"2.登陆Cacti,在主页的左边点击setting,选择paths页(console>>setting>>paths)将RRDTool Binary Path修改为:/usr/local/rrdtool/bin/rrdtool将RRDTool Default Font Path修改为:/usr/share/fonts/zh_CN/TrueType/字体名.ttf点击save。到此已经完成了,刷新页面! 阅读全文
posted @ 2013-07-05 15:43 语辰 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 其大概意思是fastestmirror不能使用,fastestmirror是yum的一个加速插件,具体我也没有仔细了解过,可能是系统不支持或者缺少组建导致的。处理办法就是禁用这个插件,方法如下:修改以下配置文件root@www]#vi/etc/yum/pluginconf.d/fastestmirror.conf [main] enabled=0//把1改为0verbose=0socket_timeout=3hostfilepath=/var/cache/yum/timedhosts.txt maxhostfileage=10maxthreads=15#exclude=.gov, facebo 阅读全文
posted @ 2013-07-05 15:41 语辰 阅读(357) 评论(0) 推荐(0) 编辑
摘要: centos 6.2用yum安装中文输入法1.su root2.yum install "@Chinese Support"3.exit4.回到桌面,system->preferences->input method5.如果没有,先注销一下。6.按照提示添加输入法。7.最后 再次注销,登录即可。备注:我最小化安装的,装完之后命令行可以直接输入汉字,不确定上面的情况是不是但适用于桌面的。 阅读全文
posted @ 2013-07-05 15:38 语辰 阅读(237) 评论(0) 推荐(0) 编辑
摘要: yum 提供二种安装软件的方式1,yum install 它安装单个软件,以及这个软件的依赖关系2,yum groupinstall 它安装一个安装包,这个安装包包涵了很多单个软件,以及单个软件的依赖关系。 阅读全文
posted @ 2013-07-05 15:17 语辰 阅读(846) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 38 下一页