schumaku wrote:The QNAP UPS configuration allows:
- Serving as a Network Master for other daemons on the network fo the locally connected UPS
- Serving as a Network Slave communiating with a master daemon
What for do you need to use another daemon now?
UPSCABLE ether
UPSTYPE net
DEVICE anotherbox.example.com:3551What is a networked UPS box now please?doktornotor wrote:This does not work at all for networked UPS boxes.
schumaku wrote:What is a networked UPS box now please?
schumaku wrote:We are talking of a product - which is configured and managed in the first priority from the NAS Web UI. Everything I stated is related to the standard product functionality, the apcupsd is not used:
- For a network-enabled APC UPS, the NAS does support SNMP. The NAS is able to listen to power event traps sent from the UPS, and able to fetch operaitonal data by SNMP (Protocol APC UPS with SNMP Management).
- To talk to another computer with a UPS daemon (ie. also a stock apcupsd), you can configure Protocol: Network UPS Slave and enter the IP address of the other device.
schumaku wrote:Nobody ever stated there is a plain standard, complete and fully manaually configureable apcupsd on board, even if some fragments are around on the system. Nothing, absolutely nothing form what you can configure from the NAS Web UI does make use of the stock apcupsd. That's why you dont see the network support in the existing apcupsd, pitty - but that's the way the NAS is implemented as a product. If you want to reinvent the wheel - feel free.
Exactly that is supposed to be possible configuring the Network UPS Slave. The NAS can also serve in that way - this is the Network UPS Master becoming available if a UPS is connected to the USB.doktornotor wrote:Sigh, I already explained twice. You connect an UPS to some box via USB cable. On that box, you install apcupsd and let it listen on a NIS port. On another box, you install another apcupsd and let it talk with the other box via net.
Why? You _can_ configure the Network UPS Sslave and the IP address of this device ... sufficient to substitute the three lines from your config example. Just the port defaults to the standard one - what should be sufficient for a normal environment.doktornotor wrote:Yes. Sadly, the GUI is useless for the above use case.
Sorry, please try to undertand: This is not applicable to the QNAP implementation - QNAP does NOT use the standard apcupsd as part of thier product - so this is _not_ a limiting factor here.doktornotor wrote:Let me say it again: the driver is not even compiled in -> it can never work. (
schumaku wrote:Exactly that is supposed to be possible configuring the Network UPS Slave. The NAS can also serve in that way - this is the Network UPS Master becoming available if a UPS is connected to the USB.doktornotor wrote:Sigh, I already explained twice. You connect an UPS to some box via USB cable. On that box, you install apcupsd and let it listen on a NIS port. On another box, you install another apcupsd and let it talk with the other box via net.
schumaku wrote:Why? You _can_ configure the Network UPS Sslave and the IP address of this device ... sufficient to substitute the three lines from your config example. Just the port defaults to the standard one - what should be sufficient for a normal environment.
schumaku wrote:Sorry, please try to undertand: This is not applicable to the QNAP implementation - QNAP does NOT use the standard apcupsd as part of thier product - so this is _not_ a limiting factor here.
I don't understand too, why they are still providing an outdated and incomplete apcupsd. In fact, it can be removed - as it's not required as a part of the product.
Traced any proof? Might be broken - we never know. Is your statement the NAS does not connect to your apcupsd implementation? That was the compatibility I have challanged QNAP to implement...doktornotor wrote:Well, let me say again that it does NOT work at all.
No - your explanation is false - because of the apcupsd does is outdated and does not contain network support. However: That's not applicable - it definitively not the binary named apcupsd or similar listenting to other UPS daemons resps. connecting to others on the NAS.doktornotor wrote:And I have already explained multiple times why it does not work.
schumaku wrote:Traced any proof? Might be broken - we never know. Is your statement the NAS does not connect to your apcupsd implementation? That was the compatibility I have challanged QNAP to implement...
# netstat -le | grep snmp
udp 0 0 *:snmp-trap *:*
# ps ax | grep ups | grep snmp
3620 admin 184 S /sbin/min_snmptrapd /etc/config/ups_snmptrapd.conf 10.0.0.254
schumaku wrote:However: That's not applicable - it definitively not the binary named apcupsd or similar listenting to other UPS daemons resps. connecting to others on the NAS.
Why has QNAP diverted from the standard binary? I have no clue.
Does it always have to be the same well-kown binary names and code? Well, Apple decided to leave SAMBA for example and implement thier own Microsift File Sharing client for example.
Users browsing this forum: Postman99 and 1 guest