Closed Gis70 closed 12 months ago
@Gis70
Would it be possible to add a variable to be able to set a different port for apcupsd-cgi ?
If I'm understanding your requirement correctly, you have an instance of apcupsd running on a Synology NAS that uses port 3493 -- is that correct? If so, and you want apcupsd-cgi to be able to communicate with it, you should be able to add :3493 to the hostname or IP address you're using in the existing UPSHOSTS environment variable.
For example in my stack below, if I needed to change the port to query for RaspberryPi4, I would use RaspberryPi4:3493. The same would be true if you're using the IP address instead.
I've always used the default port 3551, so this is untested by me -- but it should work.
Thx, indeed, the argument seems to be passed, but i forget that my Synology use NUT as built in ups integration so it doesn't work unfortunately.
Hello,
First, thank you for this docker.
Would it be possible to add a variable to be able to set a different port for apcupsd-cgi ?
For example, i want to monitor an UPS on a NAS Synology port cannot be modifiyed and it is 3493.
Thx