[root@wallet01 ~]# rpm -ivh elasticsearch-7.9.0-x86_64.rpm
[root@wallet01 ~]# vim /etc/elasticsearch/elasticsearch.yml
node.name: node-1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
indices.fielddata.cache.size: 40%
network.host: 192.168.40.201
http.port: 9200
cluster.initial_master_nodes: ["node-1"]
[root@wallet01 ~]# systemctl start elasticsearch.service
[root@wallet01 ~]# systemctl status elasticsearch.service
[root@wallet01 ~]# curl http://192.168.40.201:9200
{
"name" : "node-1",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "58x-qng_R0qzgWcbcP3IEA",
"version" : {
"number" : "7.9.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "a479a2a7fce0389512d6a9361301708b92dff667",
"build_date" : "2020-08-11T21:36:48.204330Z",
"build_snapshot" : false,
"lucene_version" : "8.6.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
[root@wallet01 ~]# rpm -ivh kibana-7.9.0-x86_64.rpm
[root@wallet01 ~]# vim /etc/kibana/kibana.yml
server.port: 5601
server.host: "192.168.40.201"
elasticsearch.hosts: ["http://192.168.40.201:9200"]
[root@wallet01 ~]# service kibana start
kibana started
[root@wallet01 ~]# service kibana status
kibana is running
[root@wallet01 ~]# rpm -ivh heartbeat-7.9.0-x86_64.rpm
[root@wallet01 ~]# vim /etc/heartbeat/heartbeat.yml
setup.kibana:
host: "192.168.40.201:5601"
output.elasticsearch:
hosts: ["192.168.40.201:9200"]
[root@wallet01 ~]# heartbeat setup -e
[root@wallet01 ~]# vim /etc/heartbeat/monitors.d/baidu.yml
- type: http # monitor type `http`. Connect via HTTP an optionally verify response
# ID used to uniquely identify this monitor in elasticsearch even if the config changes
id: baidu
# Human readable display name for this service in Uptime UI and elsewhere
name: baidu
# Enable/Disable monitor
enabled: true
# Configure task schedule
schedule: '@every 5s' # every 5 seconds from start of beat
# Configure URLs to ping
hosts: ["https://www.baidu.com"]
# Configure IP protocol types to ping on if hostnames are configured.
# Ping all resolvable IPs if `mode` is `all`, or only one IP if `mode` is `any`.
ipv4: true
ipv6: true
mode: any
[root@wallet01 ~]# systemctl start heartbeat-elastic.service
[root@wallet01 ~]# systemctl status heartbeat-elastic.service
【Linux】通过elk与heartbeat监控ssl证书有效期
原创
©著作权归作者所有:来自51CTO博客作者dbprofessional的原创作品,请联系作者获取转载授权,否则将追究法律责任
【Linux】通过elk与heartbeat监控ssl证书有效期
https://blog.51cto.com/dbprofessional/2371302
【Linux】通过elk与heartbeat监控ssl证书有效期
https://blog.51cto.com/dbprofessional/2371302
举报文章
请选择举报类型
内容侵权
涉嫌营销
内容抄袭
违法信息
其他
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Linux之vim详解
一、vim使用介绍介绍在linux系统中,大部分配置文件都是ASCII的纯文本形式存放的,所以我们在修改系统
vim linux 编辑器 命令模式 -
LAXCUS分布式操作系统三代UI演进之路
从字符界面到图形界面,LAXCUS分布式操作系统在UI领域走出一条自己路
图形界面 任务栏 分布式应用 -
说说最近linux运维那些事
背景作为一名开发,平时工作中也会涉及到后端服务部署等一些linux运维任务,在此想总结一下我最近一次遇到的
运维 linux java nginx mysql -
8年测试工程师 —— 基于爬虫的自动化测试经验分享
之前很难区分自动化测试和测试自动化之间的区别,一直傻傻分不清楚,最近在工作实践中,突然对测试自动化有了深入的理解。个人理事先知晓被测接口和服务的调用.
经验分享 自动化测试 软件测试 测试自动化 解决方案 -
【0基础转行测试的看过来】一个初级测试工程师(能找到工作的水平就行)1、学多久2、学什么?
前言我是普通二本院校的垫底学渣,全班成绩倒数第三,并且还是非计算机专业。现在毕业2年,从销售岗位跨越式跳槽软件测试岗。当然我
功能测试 软件测试 测试工程师 职场和发展 程序人生 -
数据中心机房智能化系统建设方案
推荐阅读:世界的真实格局分析,地球人类社会底层运行原理不是你需要中台,而是一名合格的架构师(附各大厂中台建设PPT)亿级(无限级)并发,没那么难论数字化转型——转什么
编程语言 docker linux 物联网 大数据 -
终于有架构师把Spring微服务架构设计第2版文档给整理完毕了
前言微服务是一种架构风格和模式:将复杂系统拆解为协同工作的小型服务,以此构建大型业务服务。微服务是自治、自包含且可独立部署的服务。当今
微服务 java spring cloud spring docker