Displaying 20 results from an estimated 400 matches similar to: "A patch to add a command to get client information"
2019 May 14
2
weakforced and GeoIP lookups
Hi Tobi,
it should just work, but depends on the OS version.
./configure ?help tells you all the configure options, including:
--with-maxminddb-includedir
path to maxminddb include directory [default=auto]
--with-maxminddb-libdir path to maxminddb library directory [default=auto]
Neil
> On 14 May 2019, at 17:44, Tobi via dovecot <dovecot at dovecot.org>
2019 May 14
2
weakforced and GeoIP lookups
Hi Tobi,
This looks like you haven?t included the libmaxmind libraries before running configure. GeoIP support is only compiled in if it finds the right libs.
This would be libmaxminddb-dev on Ubuntu for example.
Neil
>> Hi list
>>
>> hope it's okay to ask weakforced questions here as well, but I could not
>> find a dedicated mailinglist for wforce.
>>
2017 Nov 30
2
SNMPv3 fails when more than one UPS is configured in ups.conf
New NUT install dealing with three APC Smart-UPS 5000s, two of which
have AP9617 and the third has a AP9619 card.
The SNMPv3 configurations on all three are exactly the same. This is
confirmed by snmpget calls that work just fine:
snmpget -Cf -v3 -u [...] -l authPriv -A '[...]' -X '[...]' -a
MD5 -x DES [upsname] .1.3.6.1.4.1.318.1.1.1.1.1.1.0
snmp-ups can query all three
1998 May 30
1
Samba file permissions.
Hi,
I,ve just installed a Samba file server and I can?t figure out how can I set file permissions in order to grant access to certain directories only to a group of users and grant access to the subs of that directory only to certain subgroups of users.
Is possible to make a user group containing other user groups? And to set file permissions accordingly. If it is so, how can I make such a
2007 Apr 20
2
Multiple UPS monitoring, relaying
Hello,
I've got a setup with NUT, where we've got two UPSes,
ups1 and ups2. UPS1 supports our servers, while UPS2
supports our desktop boxes. We monitor both of them
via USB on a box now called "upsmon".
The interesting point comes here. We monitor both
UPSes on the upsmon box, but if UPS2 fails, which
supports our desktop boxes, NUT shouldn't initiate
a shutdown in
2019 May 22
1
weakforced: Possible to access the ip address of report/allow?
Hi Neil
thanks for the hint with the dovecot config, adding this and I can see that
> ... attrs={local_ip="XX.XX.XX.XX"} ...
is now logged by wforce daemon. Then I tried to access that value from
wforce with the following testcode
> if (#lt.attrs > 0)
> then
> return 7, "ip_local", "ip_local", { test=test }
> end
but even if attrs are set
2011 Mar 19
1
how to access the elements of a univariate results table with Anova (library car)
Dear R users, I use the excelent Anova function of the library car because
the easy way to get sphericity correction. Unless I use the scan function. I
have not been able to access the values of sum squares and degrees of
freedom for each effect in the univariate summary table.
Example of the car library for Anova function:
library(car)
phase <- factor(rep(c("pretest",
2020 Mar 23
5
USB drivers not found when compiling
Came across this in the process of troubleshooting:
https://alioth-lists.debian.net/pipermail/nut-upsuser/2011-November/007249.html
My whole reason for compiling from source is to add SSL support (as it
doesn't seem available through the package manager). Apt list shows these
installed:
libusb-1.0-0-dev/stable,now 2:1.0.22-2 armhf [installed]
libusb-1.0-0/stable,now 2:1.0.22-2 armhf
2015 Sep 10
3
why upsc need no authentication?
Hi:
I found I can setup password for uspmon. but upsc can connect to
any upsd without authentication. although the ups data is not very
confidential, but I would like not to expose it to anyone who can
connect to server.
is there any method to harden upsd? thanks for hint.
Regards,
tbskyd
2025 May 12
2
Questions about failover architecture
P.S. To articulate better what I am unclear about from your message:
`nutshutdown` seems to run `@SBINDIR@/upsdrvctl shutdown`.
>From my understanding, this would command - all - `ups.conf` UPS to
shutdown.
So this would already include the UPS monitored by any
failover/multiplexing driver.
In contrast, `upsdrvctl shutdown` would start up all these drivers again,
respectively.
What kind of
2025 May 12
1
Questions about failover architecture
Sounds great, thanks for the update!
For communications with the other drivers (from failover or multiplexor), I
suggest using the local driver socket line the clone* drivers do: this
removes a dependency on `upsd` both for the service startup (no
chicken-and-egg issue of drivers before upsd, but upsd before the failover
driver) and for FSD end-game (after all services stopped, we just need to
2025 May 12
1
Questions about failover architecture
Hello Jim,
I am following the direction of the `clone` drivers, although using the
modern `upsdrvquery.c` API.
Essentially I am parsing the protocol lines directly reading from the
driver sockets, as the clone drivers do.
As for ups.conf, I start up as follows without problems:
[ups]
driver = dummy-ups
port = /etc/nut/5E.dev
[ups2]
driver = dummy-ups
port = /etc/nut/APC.dev
[failover]
driver
2007 Dec 01
1
APC smartups 1500 is broken with usbhid-ups
I'm trying to setup a server controlling 8 ups, 6 APC Smartups 1500
and two 1000. Because of the number of ups, i connected them using usb
cables.
I'm using Debian Etch AMD64 and 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 =
2024 May 02
1
Group Membership Retrieval not using kerberos authentication
Hello,
I have an Active Directory domain to which a Linux machine with Ubuntu 20.04 LTS is joined using Winbind. The version of Winbind is 4.15.13.
On this machine, users authenticate via SSH using PAM (pam_winbind), and I need to know their group membership.
NSS is configured for this purpose.
When users authenticate via username and password, there's no issue retrieving the list of groups
2024 May 02
1
Group Membership Retrieval not using kerberos authentication
Op 02-05-2024 om 10:39 schreef Oscar Alonso | MailTecK via samba:
> Hello,
>
> I have an Active Directory domain to which a Linux machine with Ubuntu 20.04 LTS is joined using Winbind. The version of Winbind is 4.15.13.
> On this machine, users authenticate via SSH using PAM (pam_winbind), and I need to know their group membership.
> NSS is configured for this purpose.
> When
2012 Mar 04
2
NUT Two Apc UPSes on Windows
Hi,
I've got a question about managing two UPSes under NUT.
I have two similar model APC usb-connected UPSes to work with, but don't
know how to manage them simultaneously from under Windows. Long story
short, my ups.conf looks like this:
--- ups.conf ---
[ups1]
driver= usbhid-ups
port= auto
serial=AS1054340323
[ups2]
driver= usbhid-ups
port= auto
serial=AS1026662626
---
2005 Dec 24
1
Regular expressions in upssched.conf?
Hi,
I didn't found an answer for my question in NUT documentation/FAQ or
this mailing list archive so I?m posting it here.
I want to start a timer only if both of my UPSes remain on battery. Not
just one, both.
My UPSes are:
- ups1@host-a
- ups2@host-b
Is it possible to use something like this in upssched.conf?
AT ONBATT ups1.* && ups2.* START-TIMER onbattwarn 180
Thanks,
2025 May 12
1
Questions about failover architecture
Hello again,
I can report back that my failover driver is progressing nicely, and a lot
of
things seem to overlap with what could very well also be useful and maybe
used
eventually for a future multiplexing driver.
Basically, my failover logic takes driver names (sockets) in comma-separated
form from the `port` variable and keeps track of these drivers, monitoring
their information and failing
2025 May 12
1
Questions about failover architecture
Good point, I guess I thought it knew which UPSes are getting the FSD
treatment.
Maybe this should also get revised eventually (e.g. a "primary" monitoring
system not fed by the UPS it is wired to should never FSD itself due to the
outage, but should ensure that UPS gets powered off or power-cycled when no
"secondary" clients remain).
Then maybe not much is needed at this
2025 May 12
1
Questions about failover architecture
Wow, that's quite the tale!
I take away from this:
There is a real example of wanting to merge two information sources.
It's very complicated.
Anybody wishing to succeed in a very complicated situation needs to
really pay attention, to twice as many things as they thought when
they started.
It's unclear how to generalize from this to a solution that will work
for the