Подскажите новичку, как задействовать службу UPS c источником бесперебойного питания "DNS SMART PRO 800va". Подключается по USB. Есть в комплекте программа для freeBSD "upsmanager1.0v.bsd". В мануале к ней readme:
Here is UPS Manager help doc and comment(version and other).
/*==================English Readme==============================*/
1.Software installation and operation
i) soft installation
copy the package ups_manager to you favorite directory , example :/root/tmp Use the tar command to extract files from the diskette or software package:
tar -xzvf upsmanager1.0v.bsd.tar
This demand will create a directory: upsmanagerinstall. Enter this directory, executefile:./install.freebsd.sh . Converse the file installation.the installation program will automatically copy files to the default location "/etc/ups_manager/" and modify the system startup file to contain the ups_manager for freebsd daemon process.
ii) start program
The installation program will automatically start the main program .
you can start it use following command:
./ups_manager start
iii) stop program
you can start it use following command:
./ups_manager stop
iv) config program
you can start it use following command:
./ups_manager config
2.software package
./ups_monitor
./ups_status
./ups_config
./shutdown.sh
./ups_manager
./ups_manager start
./ups_manager stop
./ups_manager status
./ups_manager config
./ups_manager restart
./TimeCfg.conf
./install.freebsd.sh
./Readme
./SendMSG.sh
./startup.add
3.contact us and technical support
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
служба UPS
Moderators: alexey123, MikeMac
-
rvm
- NewUser

- Posts: 11
- Joined: 10 Sep 2012 08:44
- Contact:
- Status: Offline
Re: служба UPS
Попробуйте в N4F в настройках службы UPS:
И "System power control options" в rc.conf
Code: Select all
driver: usbhid-ups
port: autoCode: Select all
powerd_flags = -a adaptive -b adaptive-
madrid
- Starter

- Posts: 15
- Joined: 17 Dec 2012 07:37
- Status: Offline
Re: служба UPS
Спасибо!
И "System power control options" в rc.conf
Код: Выделить всё
powerd_flags = -a adaptive -b adaptive
А можно об этом по-подробнее, а то я вообще новичок)
И "System power control options" в rc.conf
Код: Выделить всё
powerd_flags = -a adaptive -b adaptive
А можно об этом по-подробнее, а то я вообще новичок)
-
rvm
- NewUser

- Posts: 11
- Joined: 10 Sep 2012 08:44
- Contact:
- Status: Offline
-
madrid
- Starter

- Posts: 15
- Joined: 17 Dec 2012 07:37
- Status: Offline
Re: служба UPS
Взял ИБП Ippon, который указан в драйверах, вроде бы всё запустилось, но через 8 мин, он терялся. Плюнул, поменял на APC - всё работает отлично (правда и цена в 2 раза больше). Всем спасибо.
-
payalnik
- NewUser

- Posts: 3
- Joined: 30 Jan 2013 16:21
- Status: Offline
Re: служба UPS
Периодически отваливается ИБП FSP EP850. Драйвер стоит blazer_usb, порт USB. Сам UPS подключен тоже по USB. Помогает только перезагрузка NAS`а. В какую сторону копать?
-
exabiche
- NewUser

- Posts: 7
- Joined: 17 Sep 2012 22:27
- Status: Offline
Re: служба UPS
Такая же проблема. ИБП ippon, драйвер blazer_usb. Через некоторое время вижу в консоле и логах
-
forcedell
- NewUser

- Posts: 1
- Joined: 11 Jun 2013 14:35
- Status: Offline
Re: служба UPS
падает вот эта служба...exabiche wrote:Такая же проблема. ИБП ippon, драйвер blazer_usb. Через некоторое время вижу в консоле и логах
/usr/local/libexec/nut/blazer_usb -a ups -u root
если пустить руками все востанавливаеться, нужно скрипт на перле написать для проверки работает эта служба или нет ... если нет, то стартовать заново.
- D1M0N
- Starter

- Posts: 17
- Joined: 01 Aug 2013 09:30
- Location: Ukraine, Rovno
- Contact:
- Status: Offline
Re: служба UPS
У меня проблема с APC 525 ES
Подключил по USB, порт определился usbus0, драйвер usbhid-ups но при сохранении настроек в закладке "Services|UPS" консоль выдает ошибку Error: The changes could not be applied (error code 1).
В сервисах "Status|Services" - напротив UPS есть галка "Enabled" а напротив "Status" - прочерк
last pid: 4549; load averages: 0.08, 0.13, 0.15 up 0+00:20:15 11:58:20
21 processes: 1 running, 20 sleeping
Mem: 22M Active, 1013M Inact, 329M Wired, 210M Buf, 583M Free
Swap:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
1574 transmission 3 20 0 84932K 23872K select 0 2:13 18.99% transmission-daemon
1954 root 1 26 0 39340K 5880K kqread 1 0:01 0.00% lighttpd
4548 root 1 52 0 82028K 17112K piperd 1 0:00 0.00% php-cgi
1693 root 1 20 0 12052K 1604K select 1 0:00 0.00% powerd
1428 root 1 20 0 12080K 1716K select 0 0:00 0.00% syslogd
1751 root 1 20 0 67496K 7048K select 0 0:00 0.00% nmbd
4112 root 1 20 0 20308K 3808K nanslp 1 0:00 0.00% upsmon
1754 root 1 20 0 76096K 10468K select 0 0:00 0.00% smbd
2040 root 1 52 0 14476K 3148K pause 1 0:00 0.00% csh
2037 root 1 52 0 41164K 2260K wait 0 0:00 0.00% login
1801 root 1 20 0 76096K 10472K select 0 0:00 0.00% smbd
1886 root 1 20 0 9912K 1880K select 0 0:00 0.00% mDNSResponderPosix
4549 root 1 73 0 16560K 2232K CPU1 1 0:00 0.00% top
2049 root 1 52 0 14504K 2672K ttyin 0 0:00 0.00% sh
1831 root 1 20 0 14128K 1784K nanslp 0 0:00 0.00% cron
4035 root 1 52 0 20304K 3764K nanslp 0 0:00 0.00% upslog
4110 root 1 52 0 20308K 3784K piperd 1 0:00 0.00% upsmon
2039 root 1 52 0 12052K 1644K ttyin 1 0:00 0.00% getty
nas4free: ~ # usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen0.2: <Back-UPS ES 525 FW851.t3.I USB FWt3 American Power Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0x2080-0x209f irq 23 at device 29.0 on pci0
uhci0: LegSup = 0x2f00
Подключил по USB, порт определился usbus0, драйвер usbhid-ups но при сохранении настроек в закладке "Services|UPS" консоль выдает ошибку Error: The changes could not be applied (error code 1).
В сервисах "Status|Services" - напротив UPS есть галка "Enabled" а напротив "Status" - прочерк
last pid: 4549; load averages: 0.08, 0.13, 0.15 up 0+00:20:15 11:58:20
21 processes: 1 running, 20 sleeping
Mem: 22M Active, 1013M Inact, 329M Wired, 210M Buf, 583M Free
Swap:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
1574 transmission 3 20 0 84932K 23872K select 0 2:13 18.99% transmission-daemon
1954 root 1 26 0 39340K 5880K kqread 1 0:01 0.00% lighttpd
4548 root 1 52 0 82028K 17112K piperd 1 0:00 0.00% php-cgi
1693 root 1 20 0 12052K 1604K select 1 0:00 0.00% powerd
1428 root 1 20 0 12080K 1716K select 0 0:00 0.00% syslogd
1751 root 1 20 0 67496K 7048K select 0 0:00 0.00% nmbd
4112 root 1 20 0 20308K 3808K nanslp 1 0:00 0.00% upsmon
1754 root 1 20 0 76096K 10468K select 0 0:00 0.00% smbd
2040 root 1 52 0 14476K 3148K pause 1 0:00 0.00% csh
2037 root 1 52 0 41164K 2260K wait 0 0:00 0.00% login
1801 root 1 20 0 76096K 10472K select 0 0:00 0.00% smbd
1886 root 1 20 0 9912K 1880K select 0 0:00 0.00% mDNSResponderPosix
4549 root 1 73 0 16560K 2232K CPU1 1 0:00 0.00% top
2049 root 1 52 0 14504K 2672K ttyin 0 0:00 0.00% sh
1831 root 1 20 0 14128K 1784K nanslp 0 0:00 0.00% cron
4035 root 1 52 0 20304K 3764K nanslp 0 0:00 0.00% upslog
4110 root 1 52 0 20308K 3784K piperd 1 0:00 0.00% upsmon
2039 root 1 52 0 12052K 1644K ttyin 1 0:00 0.00% getty
nas4free: ~ # usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen0.2: <Back-UPS ES 525 FW851.t3.I USB FWt3 American Power Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0x2080-0x209f irq 23 at device 29.0 on pci0
uhci0: LegSup = 0x2f00
NAS4Free 10.3.0.3 - Pilingitam (сборка 3065) - Intel Corporation D410PT x64-full on Intel(R) Atom(TM) CPU D410 @ 1.66GHz, 2GB DDR2,
HDD - Hitachi Travelstar 5K320 (System), WD20EZRX UFS (NAS), D-Link DGE-530T Gigabit Ethernet, APC BACK-UPS RS 1500VA
HDD - Hitachi Travelstar 5K320 (System), WD20EZRX UFS (NAS), D-Link DGE-530T Gigabit Ethernet, APC BACK-UPS RS 1500VA