Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

10 total results found

LibreNMS Smokeping 安裝設定

LibreNMS LibreNMS 外部整合

SmokePing為開源的網路品質監控專案,LibreNMS可整合Smokeping方便監測設備 安裝Smokeping 下載Smokeping apt-get install smokeping 複製Librenms smokeping腳本到cron sudo cp /opt/librenms/misc/smokeping-debian.example /etc/cron.hourly/librenms-smokeping sudo chmod +x /etc/cron.hourly/libr...

LIBRENMS
SMOKEPING

LibreNMS 修改設備IP

LibreNMS

在 LibreNMS 中更改已纳管設備的 IP 地址(同時保留歷史繪圖與設定),最正規的做法是使用內建的 renamehost.php 工具能完美保留 RRD 歷史圖表 cd /opt/librenms ./renamehost.php old_ip new_ip 更改的設備Snmp若有監聽指定IP記得修改 /etc/snmp/snmpd.conf agentAddress udp:new_ip:161  

LIBRENMS

LibreNMS SMART 監控

LibreNMS LibreNMS 應用程式設定

安裝 SMART SNMP Extend 安裝套件 Debian/Ubuntu apt-get install smartmontools libjson-perl libmime-base64-perl wget https://github.com/librenms/librenms-agent/raw/master/snmp/smart-v1 -O /etc/snmp/smart chmod +x /etc/snmp/smart 查詢硬碟 fdisk -l | grep "Disk /dev" ...

LIBRENMS

LibreNMS ICMP 監控警報

LibreNMS LibreNMS 警報相關設定

新增警報規則 若ICMP 5分鐘沒恢復則發送告警 Transport選擇要發送的位置 若不選擇設備則預設全部設備套用 新增警報範本 {{ $alert->title }} 設備名稱: {{ $alert->display }} @if (!empty($alert->uptime_short)) 運行時間: {{ $alert->uptime_short }} @endif @if ($alert->state == 0) 持續時間: {{ $alert->elapsed }} 恢復時...

LIBRENMS

LibreNMS CPU使用率監控警報

LibreNMS LibreNMS 警報相關設定

新增警報規則 Severity:警報等級 Max alert :最多通知幾次 Delay :延遲多久再來通知 Interval :通知間隔 Transports:選擇傳送類別 範例使用CPU>70%持續10分鐘發出警報 由於多核心CPU預設一顆CPU觸發就會警報,故修改使用平均使用率計算 官方解決範本https://docs.librenms.org/Alerting/Rules/#advanced,不過有GROUP語法錯誤告警 以下為自訂修改版本搭配警報範本使用,Override SQL記得...

LIBRENMS

LibreNMS Mdadm RAID監控警報

LibreNMS LibreNMS 警報相關設定

啟用Mdadm 確認已安裝Mdadm監控 新增警報規則 Severity:警報等級 Max alert :最多通知幾次 Delay :延遲多久再來通知 Interval :通知間隔 Transports:選擇傳送類別 範例監控RAID降級後1分鐘發出警報 新增警報範本 {{ $alert->title }} 設備名稱: {{ $alert->display }} @if (!empty($alert->uptime_short)) 運行時間: {{ $alert->uptim...

LIBRENMS

LibreNMS架設 - Debian 12

LibreNMS LibreNMS架設

運行環境 PVE LXC Debian 12 安裝nginx mariadb php apt update apt install php-mbstring php-cli php-common php-curl php-fpm php-gd php-mbstring php-mysql php-opcache php-readline php-snmp php-xml php-zip acl curl fping git graphviz imagemagick mariadb-client ...

LIBRENMS

LibreNMS 自訂CPU溫度監控警報

LibreNMS LibreNMS 警報相關設定

自訂OID 確認已經建立OID,名稱統一為CPU溫度,後續只要自訂CPU 監控OID都能統一套用 建立警報規則 選擇Create rule from collection,選擇CustomOID over warning limit Add rule放在上面,讓descr匹配CPU溫度 建立警報範本 {{ $alert->title }} 設備名稱: {{ $alert->display }} @if (!empty($alert->uptime_short)) 運行時間...

LIBRENMS

LibreNMS 自訂 LVM-Thin Pool 監控

LibreNMS LibreNMS 警報相關設定

傳統 LVM: 當您建立傳統的 LV(Logical Volume)並格式化掛載(例如 /dev/mapper/vg-lv 掛載到 /data),它在作業系統中是一個標準的「掛載檔案系統」。LibreNMS 透過標準的 SNMP(HOST-RESOURCES-MIB)就能直接抓到這個掛載點的磁碟容量與使用率。 LVM-Thin Pool: LVM-Thin Pool 是一個「區塊層級的儲存池」(如 Proxmox VE 上的 local-lvm)。它本身沒有檔案系統,也沒有掛載到任何目錄上。因為它在系統中沒有 m...

LIBRENMS

LibreNMS 轉發網頁IP帶PORT

LibreNMS

librenms架在路由器後方需要轉送並帶PORT 在librenms主機的nginx裡新增fastcgi_param HTTP_HOST $http_host; location ~ [^/]\.php(/|$) {        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;        fastcgi_param PATH_INFO $fastcgi_path_info;        fastcgi_pass unix...

LIBRENMS