#Resolved: NUT SNMP only the first item in the config gets data in the integration

1 messages · Page 1 of 1 (latest)

vagrant swan
#

I have 4 APC items, 2 UPS and 2 PDU that I want to add to HA.
I have the NUT add-on running and the config filled with the 4 items.
Only the first device with the snmp-ups driver gets data in the NUT Integration.
When I switch the item order of the devices, always the one on top gets data in the integration and the others get unavailable.
What am I missing from the config to get all 4 populated with data?

Below my configuration from the NUT add-on:

users:
  - username: xxxx
    password: xxxx
    instcmds:
      - all
    actions:
      - SET
      - FSD
devices:
  - name: Switched-Rack-PDU-X1500
    driver: snmp-ups
    port: 192.168.1.27
    config:
      - community=public
      - snmp_version=v1
  - name: Smart-UPS-3000
    driver: snmp-ups
    port: 192.168.1.26
    config:
      - community=public
      - snmp_version=v1
  - name: Switched-Rack-PDU-3000
    driver: snmp-ups
    port: 192.168.1.28
    config:
      - community=public
      - snmp_version=v1
  - name: Smart-UPS-X1500
    driver: snmp-ups
    port: 192.168.1.29
    config:
      - community=public
      - snmp_version=v1
mode: netserver
shutdown_host: false
list_usb_devices: false
i_like_to_be_pwned: true
log_level: info```
vagrant swan
#

What I can see in the downloaded diagnostic file from the NUT Integration is that there is an "Description unavailable" for all 4 items. Line 212 to 215. Is this a problem?
A little bit above (line 207) that there is a mention of a line: "unique_id": "American Power Conversion _Smart-UPS X 1500_AS1747334370 ", but I think that is from when my UPS was connected via USB in the past. I deleted that from the config and from the integration but it still shows?

Below the Downloaded diagnostic file from the NUT Integration:

https://paste.debian.net/hidden/0c558a1a

vagrant swan
#

Solved my own problem.
The solution is, add multiple devices in the NUT integration with the same nut server name and credentials.
When you already have 1 entry the second and all subsequent entries give you a selection option for the next entry you want to have added.
Now I have all 4 items in my integration showing with the right data!