10 2019 档案

摘要:0.拓扑图 参考:https://www.cnblogs.com/JetpropelledSnake/p/10057545.html 官网: http://kafka.apache.org/documentation.html#introduction kafka原理 https://www.cnb 阅读全文
posted @ 2019-10-29 23:27 littlevigra 阅读(514) 评论(5) 推荐(0) 编辑
摘要:1.es与MySQL的概念对比 2.概念理解 2.1 Index : 一个索引即是文档的集合 2.2 Document : 一个文档即是一个可被索引的基础单元信息,一条记录; 2.3 Replicas : 索引一份或多份存储,可以理解成冗余存储以防数据丢失; 2.4 shards : 一个索引被截断 阅读全文
posted @ 2019-10-29 09:58 littlevigra 阅读(294) 评论(2) 推荐(0) 编辑
摘要:1.安装部署 1.1 wget https://github.com/oliver006/redis_exporter/releases/download/v0.15.0/redis_exporter-v0.15.0.linux-amd64.tar.gz 1.2 cd /prometheus_exp 阅读全文
posted @ 2019-10-21 14:09 littlevigra 阅读(857) 评论(0) 推荐(0) 编辑
摘要:1.磁盘使用率 1.other:((node_filesystem_size_bytes{fstype=~"xfs|ext4",instance="server2"} - node_filesystem_free_bytes{fstype=~"xfs|ext4",instance="server2" 阅读全文
posted @ 2019-10-18 16:18 littlevigra 阅读(9713) 评论(3) 推荐(0) 编辑
摘要:1.python脚本 阅读全文
posted @ 2019-10-17 11:33 littlevigra 阅读(2412) 评论(0) 推荐(0) 编辑
摘要:1.修改服务的启动脚本 [root@do1cloud01 init.d]# vim learn-school nohup ${JAVA_HOME}/bin/java -javaagent:/usr/local/prometheus_jmx_export_0.3.1/jmx_prometheus_ja 阅读全文
posted @ 2019-10-16 17:15 littlevigra 阅读(3559) 评论(0) 推荐(0) 编辑
摘要:1.安装exporter 1.wget https://github.com/prometheus/blackbox_exporter/releases/download/v0.12.0/blackbox_exporter-0.12.0.linux-amd64.tar.gz 2.tar -zxf b 阅读全文
posted @ 2019-10-14 18:48 littlevigra 阅读(637) 评论(1) 推荐(0) 编辑
摘要:1.jvm类型 8563的grafanadashboard: gc时间,使用的现场,加载的类数 2.apache , nginx 用户连接状态,waiting数量 (使用nginx_status) current total apache access - irate(apache_accesses 阅读全文
posted @ 2019-10-14 11:46 littlevigra 阅读(511) 评论(0) 推荐(0) 编辑
摘要:1.zookeeper的规则 [root@do1cloud01 prometheus]# cat zookeeper.yml rules: - pattern: "org.apache.ZooKeeperService<name0=ReplicatedServer_id(\\d+)><>(\\w+) 阅读全文
posted @ 2019-10-10 17:32 littlevigra 阅读(1614) 评论(1) 推荐(0) 编辑
摘要:1. run JMX exporter as a java agent with all the four daemons. For this I have added EXTRA_JAVA_OPTS in hadoop-env.sh and yarn-env.sh : [root@cloud01 阅读全文
posted @ 2019-10-10 13:58 littlevigra 阅读(3377) 评论(1) 推荐(0) 编辑
摘要:1.安装: 如果有elk单独用户,切换到该用户下, wget下载,进入到es安装目录,执行 ./elasticsearch-plugin install file://$(pwd)/../../elasticsearch-prometheus-exporter-6.4.2.0.zip 即可完成安装 阅读全文
posted @ 2019-10-09 10:57 littlevigra 阅读(1013) 评论(2) 推荐(0) 编辑
摘要:1.prometheus的配置 - job_name: 'java01' #按照这个来分组 scrape_interval: 10s static_configs: - targets: ['192.168.1.44:6060'] labels: instance: jvm44 2. jmx-exp 阅读全文
posted @ 2019-10-08 18:09 littlevigra 阅读(2141) 评论(2) 推荐(0) 编辑
摘要:1.ls -lar|sort -k 5n 阅读全文
posted @ 2019-10-08 17:59 littlevigra 阅读(288) 评论(0) 推荐(0) 编辑

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