摘要: select lpad(level,2,0) from dual connect by level<13 阅读全文
posted @ 2017-12-11 16:47 啊朋 阅读(2697) 评论(0) 推荐(0) 编辑
摘要: 1、模拟登录 结果: 2、获取所有监控主机的hostid 结果: 3、特定监控主机的预警信息 监控主机id:10105,过滤,只选择esc_step为1(异常报警)的 结果: 4、检测当前所有主机的检测项对应的异常,以及异常级别: curl -i -X POST -H 'Content-Type:a 阅读全文
posted @ 2017-12-01 16:43 啊朋 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 1、创建服务器群组 阅读全文
posted @ 2017-11-24 17:44 啊朋 阅读(422) 评论(0) 推荐(0) 编辑
摘要: zabbix表结构 1、acknowledges 记录告警的确认信息 2、actions 记录了当触发器触发时,需要采用的动作。 3、alerts 报警信息表(比如邮件报警信息) alertid: 报警ID actionid: 动作ID eventid: 事件ID userid: 报警用户id cl 阅读全文
posted @ 2017-11-23 17:49 啊朋 阅读(8882) 评论(0) 推荐(0) 编辑
摘要: nagios服务器安装:http://www.jb51.net/article/79496.htm默认端口12489 nagios +ndo2db+mysqlhttps://www.cnblogs.com/caoguo/p/5022645.html zabbixhttp://www.osyunwei 阅读全文
posted @ 2017-11-17 13:57 啊朋 阅读(322) 评论(0) 推荐(0) 编辑
摘要: nginx 的启动与关闭 php-fpm 的启动与关闭 阅读全文
posted @ 2017-11-17 13:39 啊朋 阅读(413) 评论(0) 推荐(0) 编辑
摘要: select table_name,table_rows from tables where TABLE_SCHEMA = 'database name' order by table_rows desc; 阅读全文
posted @ 2017-11-15 16:08 啊朋 阅读(1593) 评论(0) 推荐(0) 编辑
摘要: 查看进程占用pid 杀死pid 阅读全文
posted @ 2017-11-15 15:35 啊朋 阅读(185) 评论(0) 推荐(0) 编辑
摘要: linux安装完mysql后,使用程序连接报以上错误解决方法,重新设置密码,步骤如下 1.先停掉原来的服务 2.使用安全模式登陆,跳过密码验证 3.登陆 4.修改密码 5.刷新权限 6.重新使用正常模式登陆 可以正常登陆。 7.执行其他命令:show databases; 提示如下错误 8.重新将密 阅读全文
posted @ 2017-11-08 09:58 啊朋 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/fanshuyao/p/6485245.html 阅读全文
posted @ 2017-11-01 11:51 啊朋 阅读(120) 评论(0) 推荐(0) 编辑