05 2018 档案

摘要:Ansible是一个批量部署的工具 参考:Ansible中文权威指南 1.安装 sudo apt-get install software-properties-common sudo apt-add-repository ppa:ansible/ansible sudo apt-get updat 阅读全文
posted @ 2018-05-23 00:39 tonglin0325 阅读(804) 评论(1) 推荐(1) 编辑
摘要:Logstash 是开源的服务器端数据处理管道,能够同时 从多个来源采集数据、转换数据,然后将数据发送到您最喜欢的 “存储库” 中。(我们的存储库当然是 Elasticsearch。) 作用:集中、转换和存储数据 官方网站: https://www.elastic.co/cn/products/lo 阅读全文
posted @ 2018-05-16 10:33 tonglin0325 阅读(11728) 评论(1) 推荐(1) 编辑
摘要:1.下载nexus 2.解压,会出现两个目录,nexus-2.11.2-03是服务 sonatype-work是私有库目录 3.修改配置,在nexus-2.11.2-03/bin目录下修改nexus文件 4.修改端口,nexus-2.11.2-03/conf修改nexus.properties文件 阅读全文
posted @ 2018-05-13 00:29 tonglin0325 阅读(486) 评论(0) 推荐(0) 编辑
摘要:1.首先查看机器是否使用的是MegaRAID卡 2.添加 megaraid 源: 修改 /etc/apt/sources.list 在末尾添加 然后执行: 如果执行提示 GPG 错误,需要执行如下命令添加证书: 然后再次执行: 3.使用megacli命令进行一些简单的查询 <i>显示所有RAID级别 阅读全文
posted @ 2018-05-07 15:43 tonglin0325 阅读(1852) 评论(0) 推荐(1) 编辑
摘要:参考:完全用 GNU/Linux 工作 - 29. 檢測硬碟 S.M.A.R.T. 健康狀態 1.安装 2.查看硬盘的参数,需要获得Root权限 3.如果使用下面的Python脚本来调用该命令的时候,是需要获得Root权限的 可以使用下面的方法来实现免输入密码,使用 sudo visudo 命令对/ 阅读全文
posted @ 2018-05-07 10:16 tonglin0325 阅读(1210) 评论(0) 推荐(0) 编辑
摘要:1.首先下载Kibana 2.解压 3.修改配置,在config文件夹下面修改kibana.yml 4.启动 5.访问web 6.在Manager里面添加index,demo中的index名称叫做es 添加之后 7.在discover中可以查看数据,里面还会对top数据进行统计 8.在Dev too 阅读全文
posted @ 2018-05-06 22:36 tonglin0325 阅读(645) 评论(0) 推荐(0) 编辑
摘要:1.请安装好Go的环境,参考上一篇open-falcon的安装博文 2.安装 mail-provider https://github.com/open-falcon/mail-provider 安装方法 cd $GOPATH/src mkdir github.com/open-falcon/ -p 阅读全文
posted @ 2018-05-03 10:46 tonglin0325 阅读(3375) 评论(0) 推荐(0) 编辑
摘要:1.首先你需要知道flume的http监控端口是否启动 请参考博文 Flume的监控参数 即在 http://localhost:3000/metrics 可以访问到如下内容 2.在open-falcon中安装flume监控插件,参考官方文档 http://book.open-falcon.org/ 阅读全文
posted @ 2018-05-02 10:48 tonglin0325 阅读(889) 评论(0) 推荐(0) 编辑
摘要:在Ubuntu下安装open-falcon和Centos下安装的方法有点区别,因为Ubuntu使用的包管理器是apt-get,而Centos下使用的是Yum,建议不要再Ubuntu下使用yum 建议自己下载源码打包二进制包来安装,因为官方给出的二进制包应该是再centos下打包的,再Ubuntu下运 阅读全文
posted @ 2018-05-02 09:30 tonglin0325 阅读(2324) 评论(0) 推荐(0) 编辑
摘要:1.首先需要注册一个网易的邮箱,开启smtp服务,并使用其授权码 2.发送邮件的Python脚本 #!/usr/bin/python # -*- coding: UTF-8 -*- import smtplib from email.header import Header from email.m 阅读全文
posted @ 2018-05-02 00:14 tonglin0325 阅读(258) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示