Skip to content

Please report it to NUT developers, with an 'upsc' output for your device. - APC Smart-UPS X 3000 - SNMP #2665

@bergernetch

Description

@bergernetch

The tool said I should report this.

ii  libnutscan2:amd64            2.8.0-7                        amd64        network UPS tools - scanner library
ii  libupsclient6:amd64          2.8.0-7                        amd64        network UPS tools - client library
ii  nut                          2.8.0-7                        all          network UPS tools - metapackage
ii  nut-client                   2.8.0-7                        amd64        network UPS tools - clients
ii  nut-server                   2.8.0-7                        amd64        network UPS tools - core system
ii  nut-snmp                     2.8.0-7                        amd64        network UPS tools - SNMP driver

ups.conf

driver = snmp-ups
port = 10.67.100.30
community = public
snmp_version = v1
desc = "APC AP9630 UPS"
root@nut-test03:~# systemctl status nut-driver@apc-ups
● [email protected] - Network UPS Tools - device driver for NUT device 'apc-ups'
     Loaded: loaded (/lib/systemd/system/[email protected]; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/[email protected]
             └─nut-driver-enumerator-generated-checksum.conf, nut-driver-enumerator-generated.conf
     Active: active (running) since Mon 2024-10-28 12:40:50 UTC; 2s ago
    Process: 204 ExecStart=/bin/sh -c NUTDEV="`/usr/libexec/nut-driver-enumerator.sh --get-device-for-service apc-ups`" && [ -n "$NUTDEV" ] || { echo "FATAL: Could not find a NUT device section for >
   Main PID: 386 (snmp-ups)
      Tasks: 1 (limit: 269849)
     Memory: 1.9M
        CPU: 44ms
     CGroup: /system.slice/system-nut\x2ddriver.slice/[email protected]
             └─386 /lib/nut/snmp-ups -a apc-ups

Oct 28 12:40:49 nut-test03 nut-driver@apc-ups[243]: Please report it to NUT developers, with an 'upsc' output for your device.
Oct 28 12:40:49 nut-test03 nut-driver@apc-ups[243]: Going back to the classic MIB detection method.
Oct 28 12:40:49 nut-test03 nut-driver@apc-ups[243]: Detected Smart-UPS X 3000 on host 10.67.100.30 (mib: apcc 1.6)
Oct 28 12:40:49 nut-test03 nut-driver@apc-ups[243]: [apc-ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3)
Oct 28 12:40:49 nut-test03 snmp-ups[243]: [apc-ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.2.3.1.5.1.1.3)
Oct 28 12:40:50 nut-test03 nut-driver@apc-ups[243]: [apc-ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.1)
Oct 28 12:40:50 nut-test03 snmp-ups[243]: [apc-ups] Warning: excessive poll failures, limiting error reporting (OID = .1.3.6.1.4.1.318.1.1.1.9.3.3.1.6.1.1.1)
Oct 28 12:40:50 nut-test03 snmp-ups[386]: Startup successful
Oct 28 12:40:50 nut-test03 nut-driver@apc-ups[242]: Network UPS Tools - UPS driver controller 2.8.0
Oct 28 12:40:50 nut-test03 systemd[1]: Started [email protected] - Network UPS Tools - device driver for NUT device 'apc-ups'.
root@nut-test03:~# upsc apc-ups
Error: Connection failure: Connection refused

Furthermore, why does it not work? snmpwalk does work. I would be glad if someone could point me to the right direction.

root@nut-test03:~# snmpwalk -v1 -c"public" 10.67.100.30 | head
SNMPv2-MIB::sysDescr.0 = STRING: APC Web/SNMP Management Card (MB:v4.1.0 PF:v6.5.0 PN:apc_hw05_aos_650.bin AF1:v6.5.0 AN1:apc_hw05_sumx_650.bin MN:AP9630 HR:08 SN: ZA1828021293 MD:07/10/2018) (Embedded PowerNet SNMP Agent SW v2.2 compatible)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.318.1.3.27
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (343130) 0:57:11.30
SNMPv2-MIB::sysContact.0 = STRING: manager
SNMPv2-MIB::sysName.0 = STRING: apc01
SNMPv2-MIB::sysLocation.0 = STRING: Rack1
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance

Metadata

Metadata

Assignees

No one assigned

    Labels

    impacts-release-2.8.0Issues reported against NUT release 2.8.0 (maybe vanilla or with minor packaging tweaks)questionservice/daemon start/stopGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions