Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Bug: NUT UPS crashes management interface
« previous
next »
Print
Pages: [
1
]
Author
Topic: Bug: NUT UPS crashes management interface (Read 1751 times)
papdee
Newbie
Posts: 7
Karma: 0
Bug: NUT UPS crashes management interface
«
on:
May 28, 2020, 08:46:04 am »
I notice the management interface becomes unresponsive if the following conditions are met:
1. NUT is configured for APCSmartUPS (I am using an APC Back UPS Pro)
2. Click on diagnostics to view UPS status. At this point the management interface becomes unresponsive and requires a reboot of the machine to get back the interface.
NB: The APC Back UPS Pro works fine if set to default USB HID.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Bug: NUT UPS crashes management interface
«
Reply #1 on:
May 28, 2020, 10:42:14 am »
The problem is nut-tools itself, it has no timeout values. So when you configure something wrong, the process hangs forevery, and every couple of seconds a new process is spawned.
The only option is to confiure it correct or dont use it
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
NetGobbler
Jr. Member
Posts: 71
Karma: 2
Re: Bug: NUT UPS crashes management interface
«
Reply #2 on:
May 13, 2024, 12:33:57 pm »
Problem is, it's 2024 and this fault is still in play and until you understand HOW to configure it then you're probably going to configure it wrong first few times....
Logged
NetGobbler
Jr. Member
Posts: 71
Karma: 2
Re: Bug: NUT UPS crashes management interface
«
Reply #3 on:
May 13, 2024, 01:14:39 pm »
aaaand I've given up, this is surprisingly difficult to get this to talk to the system, but it's not fun.
"ugen0.3: <American Power Conversion Back-UPS BX1200MI FW:294201G -302201G> at usbus0"
It seems according to several google results, I need to possibly hand edit files due to some problems with it.
If anyone knows how to get an APC ups working (USB driver or APC driver, I really don't care) - let me know, because this seems way more difficult than it should be.
Logged
richtri
Newbie
Posts: 1
Karma: 0
Re: Bug: NUT UPS crashes management interface
«
Reply #4 on:
June 15, 2024, 09:05:00 pm »
Hello NetGobbler,
here is a German translation:
There is a nice manual on:
https://www.thomas-krenn.com/de/tkmag/expertentipps/usvs-mit-opnsense-und-nut-plugin-ueberwachen/
There is also something very IMPORTANT:
Attention: The plugin must not be activated yet, but only when the other settings are set, otherwise the service will fall into a timeout loop and no longer respond. This error has not yet been fixed, although it is known to the NUT developers.
The os-nut plugin is an absolute disease. The configuration is a disaster, but once it works, it works ;-)
It makes sense to check the compatibility of Nut and the UPS used beforehand:
https://networkupstools.org/stable-hcl.html
On the page you can read out the driver to be used. You can also scan the USB bus in the OPNsense shell: nut-scanner -U
For the APC Back-UPS BX1200MI I would use the "usbhid-ups".
Prerequisite: Please check whether an "enable" is still set somewhere in the "UPS Type" settings. Deactivate this and save with "Apply".
1. uncheck "Enable Nut" under "General Settings" and click "Apply".
2. if the USB cable of the UPS is connected directly to the Sense, then Service Mode "standalone", Name "Back-UPS BX1200MI", Listen Address "127.0.0.1" if no other PC is connected to the UPS as a net client or "0.0.0.0" if other PCs are connected to the UPS on which upsmon is running. then save with "Apply".
3. under "General Settings" arrow down -> select "Nut Account Settings". Assign the two passwords for Admin and Monitor and save with "Apply".
4. select "USBHID-Driver" under "UPS Type" and activate "enable" and click Apply.
5. now activate "Enable Nut" under "General Setting" (General Nut Settings) and save with "Apply".
6. the UPS can now be queried under "Services - Nut - Diagnostics".
I hope this is helpful.
Have fun testing.
Greetings richtri
«
Last Edit: June 16, 2024, 01:16:03 am by richtri
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Bug: NUT UPS crashes management interface