Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70637 - [apcupsd] event command is not supported
Attached to Project:
Community Packages
Opened by Aleš Ferlan (Alko89) - Thursday, 29 April 2021, 09:22 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 02 May 2021, 08:44 GMT
Opened by Aleš Ferlan (Alko89) - Thursday, 29 April 2021, 09:22 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 02 May 2021, 08:44 GMT
|
DetailsDescription:
From the documentation it should be possible to read logs using apcaccess events command, however in the package it seems its not available. Help only lists the status command to be supported. http://www.apcupsd.org/manual/manual.html#nis-network-server-protocol A workaround is to just read the logs from /var/log/apcupsd.status Additional info: * 3.14.14-6 $ apcaccess events Unknown command events Usage: apcaccess [-f <config-file>] [-h <host>[:<port>]] [-p <parameter-name>] [-u] [<command>] [<host>[:<port>]] -f Load default host,port from given conf file (default: /etc/apcupsd/apcupsd.conf) -h Connect to host and port (supercedes conf file) -p Return only the value of the named parameter rather than all parameters and values -u Strip unit labels Supported commands: 'status' (default) |
This task depends upon
Comment by Florian Pritz (bluewind) -
Sunday, 02 May 2021, 08:44 GMT
The documentation you linked sounds like this might be just a possible command via the network socket, but it does not say that the apcaccess client would support this command. This does not sound like a packaging issue to me so I'd suggest that you contact the apcupsd developers about this. I don't see anything I could do here, sorry.