Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unRAID 充当 ”SNMP UPS“服务器,共享 UPS 给群晖 NAS

Featured Replies

0)💡工作原理

 

unRAID 内建有 apcupsd

创建 sh脚本 收集USP电源状态的信息。

然后通过 snmpd 扩展给其他设备或软件使用

 

1)🔦连接并配置好 UPS

 

UPS-up.thumb.png.8808e6a9f04a3b1c5318e093b4197b18.png


2)🗃️下载 UPS电源状态 监控脚本
 

终端内输入命令

cd /mnt/user/appdata && \
wget https://raw.githubusercontent.com/0awe/rpi-snmp-ups-synology-nas/master/apcupsd.sh && \
chmod +x apcupsd.sh

 

脚本 Github 仓库:

Quote

 

 

3)🏵️安装并配置 SNMP 插件

 

SNMP.png.b0da116c0f74977ce05b5aa79f509706.png

 

插件设置添加一行,保存

pass .1.3.6.1.4.1.318.1.1.1 /bin/sh /mnt/user/appdata/apcupsd.sh


SNMP-Set.thumb.png.93113549724b0410c49807cf42a720bd.png


4)🪄测试是否工作

 

终端内输入命令,注意按实际情况替换为 unRAID 的内网ip

snmpwalk -v 2c -c public 192.168.168.4 .1.3.6.1.4.1.318.1.1.1


正常的话,会输出类似内容

Quote

SNMPv2-SMI::enterprises.318.1.1.1.1.1.1.0 = STRING: "Back-UPS BK650M2-CH "
SNMPv2-SMI::enterprises.318.1.1.1.2.2.1.0 = Gauge32: 100

 


5)🔗群晖 DSM系统 设置

Syno.thumb.png.f6196a7b52666593e39682c9763dd4ce.png

感谢!刚添置了台群晖,正好用的着,按照你的教程已经成功应用。

非常感谢!另外一台绿联NAS正好用上这个教程,成功配置!

  • 8 months later...

现在这款ups对unraid支持完美的了

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.