差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
tech:librenms [2022/10/04 18:58] – [升級 php 至 8.1 以上版本] jonathantech:librenms [2024/02/20 12:13] (目前版本) – [設定告警通知] jonathan
行 1: 行 1:
 ====== Ubuntu 20.04 / CentOS7 安裝 LibreNMS 程序 ====== ====== Ubuntu 20.04 / CentOS7 安裝 LibreNMS 程序 ======
 +<note tip>
 +如果要以 Docker 方式進行安裝, 可參考 [[tech/k8s_librenms]]
 +</note>
 +
   * Ubuntu 20.04 LTS   * Ubuntu 20.04 LTS
   * CentOS Linux release 7.5.1804 (Core)   * CentOS Linux release 7.5.1804 (Core)
行 56: 行 60:
       * 進入 172.16.0.230 的 Alert Rules 設定頁面 ++設定畫面參考| \\ {{:tech:2022-08-01_15_25_47.png?800|}}++       * 進入 172.16.0.230 的 Alert Rules 設定頁面 ++設定畫面參考| \\ {{:tech:2022-08-01_15_25_47.png?800|}}++
       * 修改 硬碟空間已使用 90% 規則, 增加排除 /mnt/ext 規則 ++設定畫面參考| \\ {{:tech:2022-08-01_15_27_40.png?600|}}++       * 修改 硬碟空間已使用 90% 規則, 增加排除 /mnt/ext 規則 ++設定畫面參考| \\ {{:tech:2022-08-01_15_27_40.png?600|}}++
 +    * 針對特定群組主機設定實體記憶體使用超過 7G 就發出 Critical 通知 ++設定畫面參考| \\ {{:tech:螢幕擷取畫面_2024-02-20_120728.png?800|}}++
  
  
行 439: 行 444:
     * 關閉 7.4 版的 php-fpm<cli>     * 關閉 7.4 版的 php-fpm<cli>
 root@ct-librenms:~# systemctl stop php7.4-fpm.service  root@ct-librenms:~# systemctl stop php7.4-fpm.service 
 +root@ct-librenms:~# systemctl disable php7.4-fpm.service 
 +Synchronizing state of php7.4-fpm.service with SysV service script with /lib/systemd/systemd-sysv-install.
 +Executing: /lib/systemd/systemd-sysv-install disable php7.4-fpm
 +Removed /etc/systemd/system/multi-user.target.wants/php7.4-fpm.service.
 </cli> </cli>
     * 確認 8.4 版的 php-fpm socket 檔案<cli>     * 確認 8.4 版的 php-fpm socket 檔案<cli>
行 547: 行 556:
 chown -R librenms:librenms /opt/librenms chown -R librenms:librenms /opt/librenms
 chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/ chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
 +usermod -a -G librenms www-data
 su - librenms su - librenms
 </cli><cli> </cli><cli>
行 589: 行 599:
   * https://docs.librenms.org/Support/FAQ/#faq24   * https://docs.librenms.org/Support/FAQ/#faq24
  
-{{tag>nms librenms centos7 ubuntu20.04}}+{{tag>nms librenms centos7 ubuntu}}
  • tech/librenms.1664881115.txt.gz
  • 上一次變更: 2022/10/04 18:58
  • jonathan