Open thermoscookies opened 6 months ago
The error Got SNMP error: None noSuchName
is caused, if a requested OID does not exist in the device.
During setup the integration tries to get the product name and serial number from the device using these OIDs:
SNMP_OID_IDENT_PRODUCT_NAME = "1.3.6.1.4.1.534.1.1.2.0"
SNMP_OID_IDENT_SERIAL_NUMBER = "1.3.6.1.4.1.534.1.1.6.0"
Can you check these specific OIDs with your SNMP tester?
I implemented this integration for my Eaton 9PX with a Network-M2 installed using the official OIDs.
What device or network card do you use? If yours is different, it could be possible, that the OIDs are different too. This would be a bummer as I intended to use the official OIDs from Eaton to support as many of their UPSs and network cards as possible.
Could you provide the SNMP MIB (Management Information Base) files for your network card?
Here is the output for those OIDs
----------------------- New Test -----------------------
Paessler SNMP Tester - 23.3.87.552 Computername: BASEMENTPC Interface: (192.168.10.170)
2/7/2024 2:38:01 PM (15 ms) : Device: 192.168.10.68
2/7/2024 2:38:01 PM (19 ms) : SNMP v1
2/7/2024 2:38:01 PM (24 ms) : Custom OID 1.3.6.1.4.1.534.1.1.2.0
2/7/2024 2:38:01 PM (36 ms) : SNMP Datatype: ASN_OCTET_STR
2/7/2024 2:38:01 PM (41 ms) : -------
2/7/2024 2:38:01 PM (45 ms) : Value: Powerware 9130 2000
2/7/2024 2:38:01 PM (48 ms) : Done
----------------------- New Test -----------------------
Paessler SNMP Tester - 23.3.87.552 Computername: BASEMENTPC Interface: (192.168.10.170)
2/7/2024 2:38:14 PM (11 ms) : Device: 192.168.10.68
2/7/2024 2:38:14 PM (15 ms) : SNMP v1
2/7/2024 2:38:14 PM (19 ms) : Custom OID 1.3.6.1.4.1.534.1.1.6.0
2/7/2024 2:38:14 PM (30 ms) : SNMP Datatype: ASN_NULL
2/7/2024 2:38:14 PM (34 ms) : -------
2/7/2024 2:38:14 PM (37 ms) : Value: NULL2
2/7/2024 2:38:14 PM (41 ms) : Done
It's an Eaton 9130, the card just says Network-MS on it.
I was able to get my ups added by rolling back the version.
Based on the responses, it seems, that a serial number is not available.
The previous solution of entering the name manually was more reliable and sufficient. So I reverted the config flow back to manual (and even added the missing label to the name input field) and created a new version. This should now work as before.
Hi there!
Sorry for reviving this issue, but I seem to have the same problem:
D:\Downloads\SnmpGet>SnmpGet -r:192.168.0.47 -o:.1.3.6.1.4.1.534.1.1.2.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
OID=.1.3.6.1.4.1.534.1.1.2.0
Type=OctetString
Value=Evolution S 2500
D:\Downloads\SnmpGet>SnmpGet -r:192.168.0.47 -o:.1.3.6.1.4.1.534.1.1.6.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
%Failed to get value of SNMP variable. Variable does not exist (noSuchName(2))
It extracts the name, but it fails on the serial number. I am also not able to find it manually using SNMPWalk. Anything I can do on my end?
Trying to set this up for the first time.
During initial configuration, it gives me an "Unknown error occured". I was able to connect to the UPS using Passler SNMP Tester with the same info to verify the SNMP connection does work on the UPS side.
and here is the error info from the HA logs: