Chinaunix首页 | 论坛 | 博客
  • 博客访问: 135802
  • 博文数量: 34
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 252
  • 用 户 组: 普通用户
  • 注册时间: 2014-05-27 20:04
文章分类

全部博文(34)

文章存档

2018年(1)

2017年(23)

2016年(10)

我的朋友

发布时间:2018-02-01 18:46:35

作者:撸大师链接:https://www.jianshu.com/p/172118ca0262前言:目前有个需求,需要对线上几台拥有5个tomcat的服务器添加监控,分别监控各个tomcat的gc、连接数、使用内存等,现成的模板是监控一台tomcat,完全不适用目前情况,5个tomcat,如果现在新建模板,那每个tomcat得添加十几个item,也就是要添加60多个 Ttem,.........【阅读全文】

阅读(5952) | 评论(1) | 转发(0)

发布时间:2017-11-27 09:50:09

相关软件下载地址Apache:http://httpd.apache.org/Nginx:http://nginx.org/en/download.htmlOpenSSL:http://www.openssl.org/openssl-poc附件说明PoC.py : 漏洞利用测试PoC脚本showssl.pl:OpenSSL动态库版本检测脚本安装OpenSSL步骤由于运营环境不同,以下过程仅供参考。openssl属于系统应用,被较多应用.........【阅读全文】

阅读(6566) | 评论(0) | 转发(0)

发布时间:2017-10-23 14:35:26

1. 安装qpress ( 解压工具,恢复数据库时使用)http://www.quicklz.com/ 下载tar xvf qpress-11-linux-x64.tarchmod +x qpressmv qpress /usr/bin2. 安装必要rpm包yum install perl-DBD-MySQLyum install perl-Digest-MD5下载与操作系统对应的libev包并安装http://rpmfind.net/linux/rpm2html/search.php?query=l.........【阅读全文】

阅读(2170) | 评论(0) | 转发(0)

发布时间:2017-07-26 10:06:20

1、编写agentd端python监控脚本[root@bj1-10-112-80-11 etc]# cat check_port.py #!/usr/bin/python__author__ = 'Yan'import osimport jsondata = {}tcp_list = []port_list = []t = ['2000','2001','2002','2003','2004','2005','2006','2007','2008','2009','2010','2011','2012','2013','2014','2015','2016'.........【阅读全文】

阅读(2634) | 评论(0) | 转发(0)

发布时间:2017-07-01 17:18:43

#encoding=utf8  import loggingimport MySQLdbdef olddb():    return DB("200db",3306,"user","password","dbname")def newdb():    return DB("200db",3306,"user","password","dbname")class DB():    def __init__(self,db_host,db_port,db_user,db_pwd.........【阅读全文】

阅读(2032) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册