brew install mosquitto
sudo apt-get update
sudo apt-get install -y mosquitto mosquitto-clients
sudo netstat -tulpn | grep 1883
Learn More →
mosquitto_pub -h 127.0.0.1 -t "test" -m "test-message"
mosquitto_sub -h 127.0.0.1 -t "test"
Learn More →
前往 MQTTX github Release 網站 (連結)
下載 官方 最新打包的 zip
Learn More →
解壓縮 mqttx zip 包的獲得安裝檔
Learn More →
sudo apt-get install -y snap
sudo snap install snap mqttx
sudo /snap/mqttx/current/mqttx
Learn More →
點選 建立新的連線
Learn More →
配置 Broker 連線資訊 與 在 MQTTX 中的識別名稱
Learn More →
Broker 完成配置
Learn More →
點選增加訂閱內容
Learn More →
配置 Topic 相關資訊
Learn More →
接收 Topic 上的資訊
Learn More →
設定 送出 (Publish) 的資料內容與格式
Learn More →
查看送出的訊息
Learn More →
本日重點與方向 (TAG): SNMP、Simple Network Management Protocol、LibreNMS、MySQL、Apache2、開源網管系統、NMS、Network Management System 今天將會介紹使用 Bare Metal 進行 LibreNMS 設備監控,因為使用 SNMP 協定進行通訊,SNMP 設定部分請依照各家廠商配置(Ubuntu、Windows 也有軟體跟設定可用),SNMP V1、V2c、V3 在於 LibreNMS 皆可以設定,這邊就是介紹 LibreNMS 安裝與添加設備,還有稍微看一下納管的狀態,詳細的其他設定就不做贅述了,配合一下計算節點算是我們軟體業手上的小劍劍,節點一關機等同於你的武器掉在路上,準備等死或是客戶的電話塞爆你了(老闆海 K 揍爆你),安裝 LibreNMS 進行監控的話,我們就比較可以馬上知道小劍劍掉在路上,掉了馬上撿起來www,並透過告警功能與網頁監控方式,解決設備掉線而你在狀況外的問題了,此外 LibreNMS 感謝 台中軟體開源社群 節省哥 Jason 推薦使用!,詳細的配置與神奇功能與同步機制等等的,可以到 節省哥的Blog 參考 。 本次使用設備資訊 Network Router 數量: 1 型號: DrayTek Vigor300B Network Switch
Jul 31, 2022本日重點與方向 (TAG): Rancher、Rancher Dashboard、kubernetes、k8s、Pod、Grafana、prometheus 今天將會介紹使用 Bare Metal 進行 Kubernetes 監控的 Rancher Dashboard 的部署,並對於先前搞定的 kubernetes 功能進行整合,這邊適用 Docker 進行安裝的,基本上就是安裝筆記居多,需要先準備一下 k8s 叢集,配置上就是部署 Image 就可以弄好啦,後面還有再搞一下 Prometheus 與 Grafana 的整合使用,還有一些進階一點的去看官方網站 吧,詳細的操作還是去看看大神的文吧。 本次使用設備資訊 Network Switch 數量: 1 型號: D-Link 1210-28 (L2 Switch) Bare Metal (Master Node)
Jul 31, 2022硬體環境需求 ARM Board:Raspberry Pi 1/2/3 System:ubuntu_Mate、Raspbian Storage:8GB (micro_sdcard) PC Base Hardware Base:OpenStack、VMware、VitrualBox、PC(x86_64)
Jul 31, 2022Python3 安裝 (安裝連結) Ubuntu sudo apt-get update sudo apt-get install python3 python3-dev python3-pip python3-venv Python 相關環境測試 python3 python3 --version pip
Apr 12, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up