Displaying 7 results from an estimated 7 matches for "sdorder".
Did you mean:
dorder
2017 Jul 08
1
Trying to understand sdorder
My understanding is that NUT provides a mechanism to shut down multiple
systems protected by multiple UPS's in a given order. For example to
shutdown the users before their NFS server.
1. man ups.conf says
sdorder Optional. When you have multiple UPSes on your system, you
usually need to turn them off in a certain order. upsdrvctl shuts down all
the 0s, then the 1s, 2s, and so on. To exclude a UPS from the shutdown
sequence, set this to -1.
2. config-notes.txt gives an example
To set the order in which...
2005 Aug 10
1
/var/state not accessible
...to shut down after 2 minutes, and not wait any
more. The shutdown time is pretty long, and thus I 'panic' after 2
minutes of loss of power. Therefore, I use the upssched and
upssched-cmd utilities.
ups.conf:
--------
[hat_PC_ups]
driver = belkinunv
port = /dev/ttyS0
sdorder = 0
[hat_HAT_ups]
driver = belkinunv
port = /dev/ttyS1
sdorder = 0
upsd.conf:
---------
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
upsd.users
----------
[nut]
password = ******
allowfrom = localhost 127.0.0.1
actions =...
2007 Dec 01
1
APC smartups 1500 is broken with usbhid-ups
...nd nut 2.2.0 from testing (already tried
2.0 from stable, but had problems reading the ups serials and all the
following problems of 2.2).
This is my ups.conf:
[ups2]
driver = usbhid-ups
port = auto
vendorid = 051d
serial = AS0413113031
offdelay=5
ondelay=30
sdorder = 4
The output of "upsrw ups2 at localhost":
[battery.charge.low]
Remaining battery level when UPS switches to LB (percent)
Type: STRING
Value: 10
[battery.runtime.low]
Remaining battery runtime when UPS switches to LB (seconds)
Type: STRING
Value: 120
[ups.beeper.status]
UPS beeper st...
2019 Jul 16
2
Two APC900 UPS on the same usbbus1
...d]
root at netstore:~ # diff -u /root/upsdrvctl.c
nut-2.7.4/drivers/upsdrvctl.c
--- /root/upsdrvctl.c 2019-07-16 15:23:36.496587000 +0200
+++ nut-2.7.4/drivers/upsdrvctl.c 2015-12-29 13:08:34.000000000 +0100
@@ -33,7 +33,6 @@
char *upsname;
char *driver;
char *port;
- char *serial;
int sdorder;
int maxstartdelay;
void *next;
@@ -95,9 +94,6 @@
if (!strcmp(var, "port"))
tmp->port = xstrdup(val);
- if (!strcmp(var, "serial"))
- tmp->serial = xstrdup(val);
-
if (!strcmp(var, "maxstartdelay"))
tmp->maxstartdelay = atoi(v...
2012 Aug 30
1
Force Shutdown without shuting down the UPS
I have NUT server connected to the UPS, several other servers connects to
this server, after 5 minutes without power I want all the servers to
shutdown without waiting to the UPS batt status.
Everything works ok, but I have one issue, the NUT server shutdown the UPS
unit too, this is ok in most case but in our case I don't want the UPS to be
shutdown. All the servers yes and the NUT server
2009 Nov 15
3
two MGE Ellipse 1500 ups via usb
Hi,
I've got two MGE Ellipse 1500 UPS connected via usb to an ubuntu
jaunty system with nut and libupsclient1 2.4.1-2ubuntu4.
As soon as I start the driver for the second one, they start fighting
each other and I get no data. I found an older post to this list that
said: If you want to monitor multiple UPSes through usbhid-ups, you
*must* make sure that each one can be uniquely identified
2024 Jun 01
1
UPS not Shutting Down
...at support ups.conf:
#
# driver: REQUIRED. Specify the program to run to talk to this UPS.
# apcsmart, bestups, and sec are some examples.
#
# port: REQUIRED. The serial port where your UPS is connected.
# /dev/ttyS0 is usually the first port on Linux boxes, for example.
#
# sdorder: OPTIONAL. When you have multiple UPSes on your system, you
# usually need to turn them off in a certain order. upsdrvctl
# shuts down all the 0s, then the 1s, 2s, and so on. To exclude
# a UPS from the shutdown sequence, set this to -1.
#
# The default value...