• Latest
Monitoring Linux OS Using HertzBeat

Monitoring Linux OS Using HertzBeat

March 21, 2023
macOS Sonoma brings new Lock Screen with aerial wallpapers

macOS Sonoma brings new Lock Screen with aerial wallpapers

June 6, 2023
Shocking Truth about **CAR UPDATES** 😱😱 #shorts #trending #mkbhd #andrewschulz

Shocking Truth about **CAR UPDATES** 😱😱 #shorts #trending #mkbhd #andrewschulz

June 6, 2023
Which Macs support macOS 14? Mostly only Apple Silicon models. Here’s the list …

Which Macs support macOS 14? Mostly only Apple Silicon models. Here’s the list …

June 6, 2023
😬 Andrew Tate First Interview With BBC #shorts #potcast #mkbhd

😬 Andrew Tate First Interview With BBC #shorts #potcast #mkbhd

June 6, 2023
Apple may kick off M3 launch with 13- and 15-inch MacBook Air by WWDC, OLED iPad with M3 coming next year

Best MacBook trade-in-values summer 2023

June 6, 2023
Apple unveils Vision Pro headset, calling it 'revolutionary' new augmented reality product

Apple unveils Vision Pro headset, calling it 'revolutionary' new augmented reality product

June 6, 2023
Apple releases first macOS Sonoma beta to developers

Apple releases first macOS Sonoma beta to developers

June 6, 2023
Forged In Aeternum Season 2 Deep Dive

Forged In Aeternum Season 2 Deep Dive

June 6, 2023
You Won't Believe about this iMessage killer!!  #shorts #trending #mkbhd #andrewschulz #viral #short

You Won't Believe about this iMessage killer!! #shorts #trending #mkbhd #andrewschulz #viral #short

June 6, 2023
Fully-specced Apple silicon Mac Pro more affordable than last version that maxed out at over $50,000

Fully-specced Apple silicon Mac Pro more affordable than last version that maxed out at over $50,000

June 6, 2023
Apple’s new Adaptive Audio will supercharge your AirPods Pro 2

Apple’s new Adaptive Audio will supercharge your AirPods Pro 2

June 6, 2023
Vision Pro Apple Walks Through Mixed Reality Headset Design

Vision Pro Apple Walks Through Mixed Reality Headset Design

June 6, 2023
Advertise with us
Tuesday, June 6, 2023
Bookmarks
  • Login
  • Register
GetUpdated
  • Game Updates
  • Mobile Gaming
  • Playstation News
  • Xbox News
  • Switch News
  • MMORPG
  • Game News
  • IGN
  • Retro Gaming
  • Tech News
  • Apple Updates
  • Jailbreak News
  • Mobile News
  • Software Development
  • Photography
  • Contact
No Result
View All Result
GetUpdated
No Result
View All Result
GetUpdated
No Result
View All Result
ADVERTISEMENT

Monitoring Linux OS Using HertzBeat

March 21, 2023
in Software Development
Reading Time:6 mins read
0 0
0
Share on FacebookShare on WhatsAppShare on Twitter


Introduction to HertzBeat

HertzBeat is an open source, easy-to-use and friendly real-time monitoring system that does not require Agent and has powerful custom monitoring capabilities.

  • Integrate monitoring-alarm-notification, support monitoring of application services, databases, operating systems, middleware, cloud-native, etc., threshold alarms, and alarm notifications (email WeChat Dingding Feishu SMS Slack Discord Telegram).
  • It configurable protocol specifications such as Http, Jmx, Ssh, Snmp, Jdbc, etc. You only need to configure YML to use these protocols to customize and collect any indicators you want to collect. Do you believe that you can immediately adapt to a new monitoring type, such as K8s or Docker, just by configuring YML?
  • HertzBeat’s powerful customization, multi-type support, easy expansion, and low coupling hope to help developers and small and medium teams quickly build their own monitoring systems.

Github: https://github.com/dromara/hertzbeat

Get Linux Monitoring Done in HertzBeat in 5 Minutes

  • Prerequisites, you already have a Linux environment and a HertzBeat environment.

Add Monitoring of the Linux Operating System to the Monitoring Page of the Open-Source Monitoring System HertzBeat

  1. Click Add Linux Monitoring

Path: Menu -> Operating System Monitoring -> Linux Operating System -> Add Linux Operating System Monitoring

Click Add Linux Monitoring

  1. Configure the parameters required for new monitoring Linux

Fill in the Linux peer IP, SSH port (default 22), account password, etc., on the monitoring page, and finally, click OK to add. For other parameters, such as collection interval, timeout period, etc., please refer to the help document.

Configure the parameters required for new monitoring Linux
  1. Complete, now we have added the monitoring of Linux. Check the monitoring list to see our added items.
heck the monitoring list to see our added items.
  1. Click Operation->Monitoring Details Icon of the monitoring list item to browse the real-time monitoring indicator data of Linux.

Click Operation->Monitoring Details Icon

browse the real-time monitoring indicator data of Linux

  1. Click Monitoring History Details TAB to browse the historical monitoring indicator data chart of Linux.
Click Monitoring History Details TAB to browse the historical monitoring indicator data chart of Linux.

Data chart

DONE! Done! To sum up, it only takes one step.

  • On the HertzBeat monitoring page, configure the IP port account password and add Linux monitoring

Through the above two steps, we have completed the monitoring of Linux. We can view the monitoring details and indicators in HertzBeat at any time to observe its service status. Of course, just looking at it is definitely not perfect. Monitoring is often accompanied by alarm thresholds. When Linux performance indicators exceed our expectations or are abnormal, we can promptly notify our corresponding person in charge. The person in charge receives the notification and handles the problem. It is a complete monitoring and alarm process.

Next, we will demonstrate step by step how to configure threshold alarm notifications in the HertzBeat system so that when Linux indicators are found to be abnormal, they will be notified to us in time

Add Linux Indicator Threshold Alarm in HertzBeat System

  1. Configure an alarm threshold for an important indicator

Path: Menu -> Threshold Rules -> Add Threshold

  • Select the configured indicator object. Linux monitors mainly related indicators such as cpu, memory, disk, network performance, etc. For example, we set the threshold for the indicator CPU utilization cpu -> usage. When the Linux cpu utilization is greater than 90% When a warning is issued.
  • Here we configure to send an alarm when the usage>90 of this indicator cpu, the alarm level is Warning Alarm, which will be triggered after three times, as shown in the figure below.
Select the configured indicator object.
Set alarms
  1. Add message notification recipients

Configure the receiver to let the alarm message know who to send and how to send it.

Path: Menu -> Alarm Notification -> Alarm Recipient -> Add New Recipient

Message notification methods support email, DingTalk, WeChat Work, Feishu, WebHook, SMS, etc. Here we take the commonly used DingTalk as an example.

  • Refer to this Help Documentation to configure the robot on DingTalk and set the security custom keyword HertzBeat, get the corresponding access_token value.
  • Configure the receiver parameters in HertzBeat as follows.

[Alarm Notification]->[New Recipient]->[Select DingTalk Robot Notification Method]->[Set DingTalk Robot ACCESS_TOKEN]->[OK]

Configure the receiver parameters in HertzBeat

  1. Configure the associated alarm notification strategy [Add notification strategy] -> [Associate the recipient just set] -> [OK]

Configure the alarm notification policy to bind the alarm message with the receiver, so that you can decide which alarms to send to whom.

Configure the associated alarm notification strategy

Finished, now wait for the warning message to come.

[HertzBeat warning notification]
Alarm target object: linux.cpu.usage
Affiliated monitoring ID: 483783444839382
Belonging monitoring name: Linux_182.33.34.2
Alarm level: warning alarm
Alarm trigger time: 2023-02-15 21:13:44
Content details: The linux cpu usage is too high. now is 95.

Summary

This practical article showed us how to use an open-source real-time monitoring system HertzBeat to monitor Linux indicator data. We can find that HertzBeat, which integrates monitoring-alarm-notification, is more convenient in operation and use. Linux can be included in the monitoring and alarm notification, and there is no need to deploy multiple components and write configuration files.



Source link

ShareSendTweet
Previous Post

Get the perfect white balance using Lightroom on your phone

Next Post

‘Ghost Pilots ACA NEOGEO’ Review – Nineteen Forty No – TouchArcade

Related Posts

DevOps in Legacy Systems – DZone

June 6, 2023
0
0
DevOps in Legacy Systems – DZone
Software Development

I had a discussion with one of my then-manager-colleagues about ensuring the movement of a planned item even if the...

Read more

CPU vs. GPU Intensive Applications

June 6, 2023
0
0
CPU vs. GPU Intensive Applications
Software Development

CPU vs. GPU Intensive Applications Computing has become increasingly important in our daily lives and society as a whole. While...

Read more
Next Post
‘Ghost Pilots ACA NEOGEO’ Review – Nineteen Forty No – TouchArcade

‘Ghost Pilots ACA NEOGEO’ Review – Nineteen Forty No – TouchArcade

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

© 2021 GetUpdated – MW.

  • About
  • Advertise
  • Privacy & Policy
  • Terms & Conditions
  • Contact

No Result
View All Result
  • Game Updates
  • Mobile Gaming
  • Playstation News
  • Xbox News
  • Switch News
  • MMORPG
  • Game News
  • IGN
  • Retro Gaming
  • Tech News
  • Apple Updates
  • Jailbreak News
  • Mobile News
  • Software Development
  • Photography
  • Contact

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?