iT邦幫忙

第 12 屆 iThome 鐵人賽

DAY 3
0
Elastic Stack on Cloud

ELK x SRE (沒時間了,你快變成賽亞人吧)系列 第 3

今夜,運維來觀察機器的健康狀態吧-初探 Metrics(上)

想了一會兒,目錄走黑白極簡風就好

https://ithelp.ithome.com.tw/upload/images/20200916/20109984Z5N2PFJuSg.png

https://ithelp.ithome.com.tw/upload/images/20200917/201099843dhgGTeckB.png

觀看教學影片,練了英文聽力 10 分鐘後,發現有英文字幕 /images/emoticon/emoticon13.gif

影片傳送門:
https://www.elastic.co/training/metrics-quick-start

文件傳送門:
https://www.elastic.co/guide/en/beats/metricbeat/7.9/metricbeat-installation-configuration.html

https://ithelp.ithome.com.tw/upload/images/20200916/201099840AMeY9MDMr.png

Observability

發現有別的參賽者大大,介紹的很言簡意賅,好想抄考卷(誤)

https://ithelp.ithome.com.tw/upload/images/20200917/20109984CapKARbHIL.png

視覺化的呈現

https://ithelp.ithome.com.tw/upload/images/20200917/20109984vsxs0u3tPp.png

https://ithelp.ithome.com.tw/upload/images/20200917/201099844UnDCYTyV4.png

https://ithelp.ithome.com.tw/upload/images/20200917/20109984IPAm8yQ44D.png

https://ithelp.ithome.com.tw/upload/images/20200917/20109984qEsnvhOA9A.png

System metrics
Collect CPU, memory, network, and disk statistics from the host.

Metrics

https://ithelp.ithome.com.tw/upload/images/20200917/20109984BqXOpBlIr4.png

https://ithelp.ithome.com.tw/upload/images/20200917/20109984BgnUi8skIr.png

System metrics

Collect CPU, memory, network, and disk statistics from the host.

https://ithelp.ithome.com.tw/upload/images/20200917/20109984jLBMTDwn52.png

注意有各種 OS,Linux Distribution 當然也有細分
這邊基本上就是滑鼠往下拉,打開命令列,跟著實操就對啦

我本來還想說什麼時候會下cmd ,這~麼快就來了

https://ithelp.ithome.com.tw/upload/images/20200917/20109984LjdNIbusAq.png

https://ithelp.ithome.com.tw/upload/images/20200917/20109984z5657Mxu6v.png

我的系統是是 Win10

https://ithelp.ithome.com.tw/upload/images/20200917/20109984g74WKXAZEo.png

https://ithelp.ithome.com.tw/upload/images/20200917/20109984Qxdr5H6rG4.png

https://ithelp.ithome.com.tw/upload/images/20200917/20109984hftiZ6IOWz.png

最後按下 "System metrics dashboard" 的按鍵,
看到 Successful 後,就會心底放下一顆大石頭啦


我也希望是那麼順利.....卡在安裝中,持續更新 OAO

PS > cd 'C:\Program Files\Metricbeat
PS C:\Program Files\Metricbeat> .\install-service-metricbeat.ps1

***卡在 第二行 install .......


https://ithelp.ithome.com.tw/upload/images/20200917/201099846FN2Q5l62c.png

https://ithelp.ithome.com.tw/upload/images/20200917/20109984eYZa0h3l5m.png

https://ithelp.ithome.com.tw/upload/images/20200917/20109984kbC2YM2qPA.png

這是目前的狀態,總感覺沒裝成..... 睡個覺再來查看一波吧

或是果斷放棄微軟改去 Linux 架設

https://ithelp.ithome.com.tw/upload/images/20200917/20109984XZpJ5PDPIs.png

參考資料:
PowerShell - 解決 ".ps1 檔案無法載入,因為這個系統上已停用指令碼執行。" 問題

get-executionpolicy
set-executionpolicy remotesigned

在Windows服務器上安裝

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

文件傳送門:
https://www.elastic.co/guide/en/beats/metricbeat/7.9/metricbeat-installation-configuration.html

PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-metricbeat.ps1.

https://ithelp.ithome.com.tw/upload/images/20200917/20109984z5657Mxu6v.png


上一篇
今夜,先來個視覺饗宴-初探 ELK Cloud & Kibana
下一篇
今夜,運維來找出機器的效能瓶頸吧-初探 APM(上)
系列文
ELK x SRE (沒時間了,你快變成賽亞人吧)9
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言