-
-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Tripplite SUINT1500LCD2U #2808
Comments
The SUINT1500LCD2U shares the same Advanced Users Manual as several other supported models (such as the SU2200RTXLCD2U), which means it might be close enough. Are you planning to use the USB interface? If so, what does Reference: https://networkupstools.org/stable-hcl.html?manufacturer=Tripp%20Lite |
Hi Charles. Thanks for your support. I am a bit of a noob with this software, used it long ago for USB mode but I want to setup NUT with SNMP mode now. I will however try that command with the USB cable attached. I have 2-3 servers attached to each UPS. I have installed the nut software via "dnf install nut" in rock linux 8.10. That is as far as I have got. Can you clue me in on the next steps? Thanks! |
That sounds like you are looking for something like https://networkupstools.org/docs/user-manual.chunked/Features.html#_advanced_configuration (instructions in the next section: https://networkupstools.org/docs/user-manual.chunked/Configuration_notes.html) I am aware of the SNMP driver, but the UPSes I use day-to-day only have USB or serial connections. From https://networkupstools.org/docs/man/snmp-ups.html (and the fact that no Tripp Lite UPSes have been marked as tested for "network" in the HCL link I sent earlier) it looks like maybe the SNMP support is still pretty basic. |
Yes, in fact the "Tripplite MIB" is an alias to standard default fallback IETF mapping at the moment (just uses detection of vendor-specific OID to match). |
Do you know the settings from UPS side? If SNMP is enabled at all, if it is on standard port (161/udp), if its SNMP v1/v2c community is set and is not default |
We are making some progress. We changed port to 161 and manually added "public" for the community string and "tripplite" for the community string on the tripplite profile. You can see the snmp query worked with net-scanner and snmpwalk. WE are still a little needy on proceeding to get a working setup. We really just need to be able to detect when the battery goes to 50% or so and shutdown servers gracefully. |
Trying to do some sanity testing now, I wonder what we are missing?! upsdrvctl -t shutdown "Create a upsd user for upsmon to use while monitoring this UPS." Does this user need to be a SNMP user on the UPS side? |
That's from... where? Don't see an exact match above. Anyhow, this is about creating an entry in Note that on the UPS side, the SNMP As for the test itself, can you please retry it with some more debug verbosity, perhaps as On the one hand, looking into code https://github.com/networkupstools/nut/blob/v2.8.2/drivers/upsdrvctl.c I see that all (hopefully) executions and signal sending are fenced by So the drivers did try to power off your UPS despite the testing mode, just by some chance failed to. First I've suspected a non-capable SNMP community, but then remembered an issue fixed a couple of months ago (part of upcoming NUT v2.8.3 release) to let So I suppose these devices have no way of triggering a shutdown with NUT v2.8.2 or older, and might be able to with custom Orthogonally to this, note that nut-driver-enumerator can automatically generate systemd units that wrap your driver instances, see https://github.com/networkupstools/nut/wiki/nut%E2%80%90driver%E2%80%90enumerator-(NDE) - so using directly the driver programs or old Here socket files like |
https://networkupstools.org/docs/user-manual.chunked/ar01s06.html under "NUT User Creation" It seems that we chased some rabbits today one being that in order to start getting ups.status returned we need to run upsd manually via cli. For whatever reason installing from packages does not allow it to startup when the server boots? I cannot seem to find the instructions to have it init at start? We are going to try a basic shutdown config per the docs. I however, lack experience with this project and please forgive me if it sounds elementary. |
At some point previously, I started getting these complaints about SElinux blocking in logs. I will put them here for review I am not sure if any are related to our issues. For now, I put SElinux into permissive mode. I have not confirmed it is an issue. UPS-Testbed setroubleshoot[2610]: SELinux is preventing /usr/sbin/upsd from connectto access on the unix_stream_socket /run/nut/snmp-ups-tripplite. For complete SELinux mes> |
Thanks for the latter. I don't think interaction of NUT with SELinux was ever explored or automated, at least not in this upstream project. No idea if any distribution packages have additional lore or files for that - would be great to find and upstream here, if any :) But this may be behind your service not starting (or being useful) when the server boots... I've lost the detail a bit - which OS release is that on? |
Network UPS Tools - UPS driver controller 2.8.2 |
Our test bed is Rocky Linux 8.10. |
|
My bad, I hit the wrong button and accidentally closed the issue. I wanted to add that we tested a reboot with SElinux=Permissive and still we needed to run it by hand. I am not exactly sure if we should be testing in this mode or not. |
Some state changes are happening now but we want to shutdown after about 60 seconds on. Battery 🔋 We have been unable to get it to send the shutdown signal after this time. OK, we let the UPS run to battery 🪫 depletion of around 15% a double time beep alarm 🚨 started and about 1 min after NUT initiated a graceful shutdown of the server. |
For the latest post, it seems like you are after |
For now we will just use the defaults. We have an issue when we do a server reboot where we don't have NUT actively monitoring on a boot: [root@UPS-Testbed ~]# upsc tripplite@localhost:3493 so now we run this command: it seems to initialize everything needed too start monitoring and reading back status information from the ups: further, status monitoring is not active at boot in order to get it to start monitoring UPS power conditions we must now run upsmon [root@UPS-Testbed ~]# upsmon Broadcast message from root@UPS-Testbed (somewhere) (Wed Feb 26 14:54:51 2025): UPS tripplite@localhost battery is low Broadcast message from root@UPS-Testbed (somewhere) (Wed Feb 26 14:54:51 2025): Executing automatic power-fail shutdown Broadcast message from root@UPS-Testbed (somewhere) (Wed Feb 26 14:54:51 2025): UPS tripplite@localhost on battery Broadcast message from root@UPS-Testbed (somewhere) (Wed Feb 26 14:54:51 2025): Auto logout and shutdown proceeding How do we fix this? Is there something missing to have this stuff running after boot? Thanks! |
Quite strange indeed. What do NUT service units say in detail? Blocked on SELinux and so not starting? Anything else upsets them? Can you please check and post:
and maybe other units if you have them (e.g. multiple I suppose the later report about shutdown is not immediately after you started |
Upon server boot we ran: [root@UPS-Testbed ~]# systemctl status nut-server nut-monitor nut-driver@tripplite ● nut-monitor.service - Network UPS Tools - power device monitor and shutdown controller ● [email protected] - Network UPS Tools - device driver for tripplite |
As long as we run upsmon + upsd in shell the following occurs: Communications with tripplite@localhost established. {unplug UPS AC} UPS tripplite@localhost on battery {plug UPS back into AC supply} UPS tripplite@localhost on line power |
We noticed mode=none in nut.conf so we changed to mode=standalone to try in the meantime. Rebooting now. |
no change. |
Hm, there are also NUT target units, and those might have not been enabled by packaging - they pull in the rest. Try this (and post the logs so we can see if they confirm the hypothesis):
|
Hello,
Can you advise if Tripplite SUINT1500LCD2U is supported by NUT?
Thanks!
The text was updated successfully, but these errors were encountered: