autumnwalker Posted October 18, 2021 Share Posted October 18, 2021 Hello, I have a UPS which does not work with apcupsd or NUT. The vendor does provide a free suite of software which will run headless under Linux. Is it possible to create some sort of plugin (like NUT) so that I can use this software with Unraid? Thanks! Quote Link to comment
Ford Prefect Posted October 24, 2021 Share Posted October 24, 2021 ...you can try to create a Docker and pass through / mountain the USB inside. Use the recommended Linux distribution recommended by the ups manufacturer to start as base image Gesendet von meinem SM-G780G mit Tapatalk Quote Link to comment
autumnwalker Posted October 25, 2021 Author Share Posted October 25, 2021 (edited) On 10/24/2021 at 8:57 AM, Ford Prefect said: ...you can try to create a Docker and pass through / mountain the USB inside. Not exactly what I'm going for. I want Unraid itself to be able to talk to the UPS via this software with a plugin (or something). Like someone else has done for NUT. End goal is I want to be able to cleanly shutdown Unraid via the software / UPS in the event of a power outage. Software is Vertiv Power Assist. Freely available here: https://www.vertiv.com/en-us/support/software-download/software/vertiv-power-assist-software-download/ Edited October 25, 2021 by autumnwalker Quote Link to comment
JonathanM Posted October 25, 2021 Share Posted October 25, 2021 51 minutes ago, autumnwalker said: Software is Vertiv Power Assist. Freely available here: https://www.vertiv.com/en-us/support/software-download/software/vertiv-power-assist-software-download/ Linux Ubuntu, Red Hat, CentOS From that page, no slackware support yet, they say other OS in future, but don't say which ones. Unraid is built on slackware. Quote Link to comment
autumnwalker Posted October 25, 2021 Author Share Posted October 25, 2021 7 hours ago, JonathanM said: From that page, no slackware support yet, they say other OS in future, but don't say which ones. Unraid is built on slackware. Understood. Hadn't considered that. Slackware is nothing like Ubuntu or RedHat, is it? As in - the chance of "it might work" is low? Quote Link to comment
JonathanM Posted October 25, 2021 Share Posted October 25, 2021 10 minutes ago, autumnwalker said: Understood. Hadn't considered that. Slackware is nothing like Ubuntu or RedHat, is it? As in - the chance of "it might work" is low? It probably won't work as presented. There is a good possibility it could be forced to work properly, but the amount of manual manipulations is unknown until you try. If you are more familiar with a windows environment the closest analogy I can offer is trying to get a windows 95 program to work on windows 10. Small chance it works out of the box, likely can be forced by manually copying things where they should go, still possible it will never work properly. The linux environment is a little better, especially if they offer low level files that could be compiled for slackware, but not all companies do that. Many just put together a precompiled binary package that they know works with a specific version. If you want to start an internet argument, slack vs ubuntu / debian is a pretty good firestarter. They each have strengths and weaknesses, so it's easy to argue passionately for either one. Quote Link to comment
autumnwalker Posted October 26, 2021 Author Share Posted October 26, 2021 3 hours ago, JonathanM said: If you want to start an internet argument, slack vs ubuntu / debian is a pretty good firestarter. They each have strengths and weaknesses, so it's easy to argue passionately for either one. Lol not my intent here! Is there some other way I could get a VM or something to trigger Unraid to shutdown based on it being shutdown by this client? Like a bash script? I know enough about some of this stuff to think it could be done, but not familiar enough with how to do it. Quote Link to comment
JonathanM Posted October 26, 2021 Share Posted October 26, 2021 23 minutes ago, autumnwalker said: Is there some other way I could get a VM or something to trigger Unraid to shutdown based on it being shutdown by this client? Like a bash script? I know enough about some of this stuff to think it could be done, but not familiar enough with how to do it. I can't help with details, but broad strokes, yeah, you could theoretically check for a VM to be running with virsh commands and if it's shut down you could then script unraid to shutdown. The tricky bit is figuring out how you want to handle troubleshooting scenarios where you DON'T want unraid to shutdown if the VM isn't running for some other reason. Quote Link to comment
Recommended Posts
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.