当前位置:网站首页>Elk - hearthbeat implements service monitoring
Elk - hearthbeat implements service monitoring
2022-06-11 11:43:00 【Rufeng】
Hearthbeat, heartbeat , seeing the name of a thing one thinks of its function ,Hearthbeat It can be used to detect whether the service is running normally .
Hearthbeat Support ICMP、TCP and HTTP, Also support TLS、 Authentication and proxy .
Hearthbeat Can and Logstash、Elasticsearch and Kibana Seamless collaboration . install Hearthbeat, Add services to be monitored , Good configuration Elasticsearch and Kibana, You can output the results to Elasticsearch, And in Kibana Show it .
Kibana No configuration required Dashboard, Just click Uptime Menu to see the results .
Elasticsearch and Kibana For installation, please refer to : Quickly build ELK(7.2.0)
download
curl -L -O https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-7.2.0-linux-x86_64.tar.gz
tar xzvf heartbeat-7.2.0-linux-x86_64.tar.gz -C /opt/elk/
To configure
cd /opt/elk/heartbeat-7.2.0-linux-x86_64/
vi heartbeat.yml
For example, by simply detecting console url To monitor Websphere Is it working .
monitor TCP Refer to the examples in the notes .Schedule each 10 Every second .
# Configure monitors inline
heartbeat.monitors:
- type: http
# List or urls to query
urls: ["https://dummy.hostname.net:9043/ibm/console/logon.jsp"]
# Configure task schedule
schedule: '@every 10s'
#- type: tcp
#hosts: ["192.168.1.101:1414"]
#schedule: '@every 10s'
setup.kibana:
# Kibana Host
# Scheme and port can be left out and will be set to the default (http and 5601)
# In case you specify and additional path, the scheme is required: http://localhost:5601/path
# IPv6 addresses should always be defined as: https://[2001:db8::1]:5601
host: "localhost:5601"
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
start-up
chown elk:elk -R /opt/elk/heartbeat-7.2.0-linux-x86_64/
sudo chmod o+rx -R /opt/elk/heartbeat-7.2.0-linux-x86_64/
sudo -u elk ./heartbeat setup
sudo -u elk nohup ./heartbeat -e &
verification
- Open http://localhost:5601/
- Go to Uptime.
- Restart the monitored service

边栏推荐
- Network protocol of yyds dry goods inventory: datagram socket for detailed explanation of socket protocol
- 拆分数据---水平拆分和纵向拆分
- WP Super Cache静态缓存插件简明使用教程
- How does Sister Feng change to ice?
- WP super cache static cache plug-in concise tutorial
- MSF CS OpenSSL traffic encryption
- 《公司理财师专业能力》笔记
- [C language] anonymous/unnamed struct & Union
- Smart sidebar plug-in: Mo widgets
- Learning in Bi design 03
猜你喜欢

Intl.NumberFormat 设置数字格式

设置默认收货地址【项目 商城】

web开发选型,web开发毕业谁

Use of Chinese input method input event composition

Node连接MySql数据库写模糊查询接口

Only when you find your own advantages can you work tirelessly and get twice the result with half the effort!

JS to realize the rotation chart (riding light). Pictures can be switched left and right. Moving the mouse will stop the rotation
![[file upload vulnerability 05] server suffix detection and bypass experiment (based on upload-labs-3 shooting range)](/img/f5/52bc5e01bb0607b6ecab828fb70c93.jpg)
[file upload vulnerability 05] server suffix detection and bypass experiment (based on upload-labs-3 shooting range)

JS interview questions - arrow function, find and filter some and every

MYCAT sub database and sub table
随机推荐
How to understand CPU load
Queuing theory model
Définir l'adresse de réception par défaut [Centre commercial du projet]
How should ordinary people choose annuity insurance products?
nft数字藏品app系统搭建
2020-07 study notes sorting
苹果MobileOne: 移动端仅需1ms的高性能骨干
P2580 "so he started the wrong roll call"
js面试题---箭头函数,find和filter some和every
AcWing 1944. 记录保存(哈希,STL)
Guice integrated properties configuration
WordPress database cache plug-in: DB cache Reloaded
推荐几款Gravatar头像缓存插件
Centos7.x下安装mysql8遇到的问题Couldn‘t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
【C语言】anonymous/unnamed struct&&union
AcWing 1944. Record keeping (hash, STL)
iframe 传值
拆分数据---水平拆分和纵向拆分
WordPress重新生成特色图像插件:Regenerate Thumbnails
导师转我800块,让我仿真一个电路(电源设计)