zabbix安装+邮件(短信)报警一、zabbix的安装安装开发软件包1、yum-ygroupinstall"DevelopmentTools"2、安装所需的依赖包yum-yinstallhttpdmysqlmysql-servermysql-develphpphp-mysqlphp-commonphp-mbstringphp-gdphp-odbcphp-pearphp-bcmath.x86_64curlcurl-develnet-snmpnet..
分类:
其他好文 时间:
2014-07-04 00:42:06
阅读次数:
442
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:
其他好文 时间:
2014-07-03 20:58:08
阅读次数:
248
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.class Solution...
分类:
其他好文 时间:
2014-07-03 20:25:21
阅读次数:
219
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.此题目有两种解决思路:1)递归...
分类:
其他好文 时间:
2014-07-03 20:07:01
阅读次数:
199
Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu...
分类:
其他好文 时间:
2014-07-03 18:57:04
阅读次数:
193
[LeetCode]Remove Duplicates from Sorted List...
分类:
其他好文 时间:
2014-07-03 16:00:08
阅读次数:
202
一、 故障现象描述NAS操作系统内核为Linux,自带的存储有16块硬盘,总共分两组,每组做了RAID5,Linux操作系统无法正常启动,在服务启动到cups那里就停止了,按键ctrl+c强制断开也没有响应,查看硬盘状态,都是正常的,没有报警或者警告现象。二、 问题判断思路 通过上面这些现..
分类:
系统相关 时间:
2014-07-03 15:04:41
阅读次数:
305
mongodb的日志相对其他数据库来说应该算是很大的,刚才由于报警,所以我查看啦一下,有15G的日志产生,下面是我的清理过程出于对安全方面,我们服务器禁止使用rm命令,所以我在/home目录下创建啦一个mongolog文件夹先查看一下日志大小和数量#ls/opt/mongodb/logtotal15G-rw-r--..
分类:
数据库 时间:
2014-07-03 14:25:41
阅读次数:
313
linux是一个很能自动产生文件的系统,日志、邮件、备份等。虽然现在硬盘廉价,我们可以有很多硬盘空间供这些文件浪费,让系统定时清理一些不需要的文件很有一种爽快的事情。不用你去每天惦记着是否需要清理日志,不用每天收到硬盘空间不足的报警短信,想好好休息的话,让我们把这个事情交给机器定时去执行吧。1.删除...
分类:
系统相关 时间:
2014-07-03 13:12:07
阅读次数:
312
题目:Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ...
分类:
其他好文 时间:
2014-07-03 12:10:12
阅读次数:
191