Skip to content

apc_modbus over TCP not supported #375

Closed as not planned
Closed as not planned
@HarrisonWilson

Description

@HarrisonWilson

Problem/Motivation

Appears that due to the version being pinned to NUT 2.8.0-7 if I am reading correctly. Wanted to take advantage of apc_modbus over TCP as I have a UPS that only supports one specific management card and I don't have a way to add direct connections like RS232, USB, etc. The SNMP drivers in NUT also for whatever reason don't seem to fully understand that this is a split-phase (2 phase) UPS (model SURTD5000RMXLP3U) which is very uncommon and thus not all statistics are being reported correctly, which in turn shows incorrect information.

When I go to configure apc_modbus as driver with porttype:tcp and port:[hostname] the add-on crashes with "Can't start /lib/nut/apc_modbus: No such file or directory"

Expected behavior

Newer version and support for apc_modbus

Actual behavior

Add-on crashes following NUT documentation for apc_modbus with "Can't start /lib/nut/apc_modbus: No such file or directory"

Steps to reproduce

Use configuration settings as follows:

- name: test
  driver: apc_modbus
  porttype: tcp
  port: 192.168.1.1:502 
  config: [] 

error is shown in logs:

Network UPS Tools - UPS driver controller 2.8.0
Can't start /lib/nut/apc_modbus: No such file or directory
cont-init: info: /etc/cont-init.d/nut.sh exited 1

Proposed changes

Update version. Ensure support for apc_modbus

Was specifically pointed to this PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions