# LibreNMS LINE Messaging API 設定

##### **運行環境**  


- **Librenms 25.9.0**

##### **LINE Messaging API 申請**

**先在LINE Developers新增一個channel並選擇Messaging API**

**[![image.png](https://note.homesitetw.com/uploads/images/gallery/2025-09/scaled-1680-/lNtimage.png)](https://note.homesitetw.com/uploads/images/gallery/2025-09/lNtimage.png)**

##### **設定警報傳送**

**Type選擇LINE Messaging API**

**Access token輸入Channel access token**

**userID輸入Channel 內的user ID**

**[![image.png](https://note.homesitetw.com/uploads/images/gallery/2025-09/scaled-1680-/e3Rimage.png)](https://note.homesitetw.com/uploads/images/gallery/2025-09/e3Rimage.png)**

**設定好後點選右邊Test，LINE有出現測試訊息則成功**

**[![image.png](https://note.homesitetw.com/uploads/images/gallery/2025-09/scaled-1680-/qFkimage.png)](https://note.homesitetw.com/uploads/images/gallery/2025-09/qFkimage.png)**