[Nut-upsuser] [EXTERNAL] Re: nut-driver fails to communicate with tripplite UPS over snmpv3; snmpget works

Nathan Dehnel ncdehnel at gmail.com
Tue Oct 12 23:43:36 BST 2021


Ok, I have updated to commit 333429b0537dd34d2af17e2e44a0f23a7578e0f7.
It still fails to connect.

root at gentooserver /etc/nut # /lib64/nut/snmp-ups -DDDDDD -a tripplite1
Network UPS Tools - Generic SNMP UPS driver 1.16 (2.7.4-2929-g333429b0)
   0.000000    [D5] send_to_all: SETINFO driver.parameter.port
"poweralert-061036425037"
   0.000029    [D5] send_to_all: SETINFO driver.parameter.snmp_version "v3"
   0.000037    [D5] send_to_all: SETINFO driver.parameter.secLevel "authPriv"
   0.000046    [D5] send_to_all: SETINFO driver.parameter.authProtocol "SHA"
   0.000056    [D5] send_to_all: SETINFO driver.parameter.privProtocol "AES"
   0.000071    [D1] debug level is '6'
   0.001131    [D5] send_to_all: SETINFO device.type "ups"
   0.001144    [D1] SNMP UPS driver: entering upsdrv_initups()
   0.001149    [D2] SNMP UPS driver: entering nut_snmp_init(snmp-ups)
   0.011885    [D2] Setting SNMP retries to 5
   0.011899    [D2] Setting SNMP timeout to 1 second(s)
   0.033904    [D2] SNMP UPS driver: entering load_mib2nut(auto)
   0.033916    [D1] trying the new match_sysoid() method
   0.033920    [D3] Entering nut_snmp_get_oid()
   0.033923    [D3] nut_snmp_get(.1.3.6.1.2.1.1.2.0)
   0.033928    [D3] nut_snmp_walk(.1.3.6.1.2.1.1.2.0)
   0.033937    [D4] nut_snmp_walk: max. iteration = 1
   0.038039    [D2] Can't get sysOID value
   0.038064    [D3] Entering nut_snmp_get_oid()
   0.038072    [D3] nut_snmp_get(.1.3.6.1.2.1.1.2.0)
   0.038078    [D3] nut_snmp_walk(.1.3.6.1.2.1.1.2.0)
   0.038085    [D4] nut_snmp_walk: max. iteration = 1
   0.048673    [D2] Can't get sysOID value
   0.048698    [D3] Entering nut_snmp_get_oid()
   0.048710    [D3] nut_snmp_get(.1.3.6.1.2.1.1.2.0)
   0.048718    [D3] nut_snmp_walk(.1.3.6.1.2.1.1.2.0)
   0.048728    [D4] nut_snmp_walk: max. iteration = 1
   0.050555    [D2] Can't get sysOID value
   0.050581    [D1] load_mib2nut: trying classic method with 'apc_ats' mib
   0.050589    [D3] su_find_info: "device.model" found
   0.050596    [D2] Found entry, not a template .1.3.6.1.4.1.318.1.1.8.1.5.0
   0.050603    [D2] Testing device.model using OID .1.3.6.1.4.1.318.1.1.8.1.5.0
   0.050613    [D3] Entering nut_snmp_get_str()
   0.050622    [D3] nut_snmp_get(.1.3.6.1.4.1.318.1.1.8.1.5.0)
   0.050633    [D3] nut_snmp_walk(.1.3.6.1.4.1.318.1.1.8.1.5.0)
   0.050643    [D4] nut_snmp_walk: max. iteration = 1
   0.052265    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'apc_ats'!
   0.052278    [D1] load_mib2nut: trying classic method with 'apc_pdu' mib
   0.052281    [D3] su_find_info: "device.model" found
   0.052284    [D2] Found entry, not a template .1.3.6.1.4.1.318.1.1.4.1.4.0
   0.052286    [D2] Testing device.model using OID .1.3.6.1.4.1.318.1.1.4.1.4.0
   0.052289    [D3] Entering nut_snmp_get_str()
   0.052301    [D3] nut_snmp_get(.1.3.6.1.4.1.318.1.1.4.1.4.0)
   0.052304    [D3] nut_snmp_walk(.1.3.6.1.4.1.318.1.1.4.1.4.0)
   0.052307    [D4] nut_snmp_walk: max. iteration = 1
   0.057698    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'apc_pdu'!
   0.057723    [D1] load_mib2nut: trying classic method with 'apc_pdu' mib
   0.057732    [D3] su_find_info: "device.model" found
   0.057738    [D2] Found entry, not a template .1.3.6.1.4.1.318.1.1.4.1.4.0
   0.057745    [D2] Testing device.model using OID .1.3.6.1.4.1.318.1.1.4.1.4.0
   0.057756    [D3] Entering nut_snmp_get_str()
   0.057765    [D3] nut_snmp_get(.1.3.6.1.4.1.318.1.1.4.1.4.0)
   0.057774    [D3] nut_snmp_walk(.1.3.6.1.4.1.318.1.1.4.1.4.0)
   0.057782    [D4] nut_snmp_walk: max. iteration = 1
   0.059596    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'apc_pdu'!
   0.059622    [D1] load_mib2nut: trying classic method with 'apc_pdu' mib
   0.059630    [D3] su_find_info: "device.model" found
   0.059636    [D2] Found entry, not a template .1.3.6.1.4.1.318.1.1.4.1.4.0
   0.059643    [D2] Testing device.model using OID .1.3.6.1.4.1.318.1.1.4.1.4.0
   0.059654    [D3] Entering nut_snmp_get_str()
   0.059667    [D3] nut_snmp_get(.1.3.6.1.4.1.318.1.1.4.1.4.0)
   0.059679    [D3] nut_snmp_walk(.1.3.6.1.4.1.318.1.1.4.1.4.0)
   0.059687    [D4] nut_snmp_walk: max. iteration = 1
   0.061403    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'apc_pdu'!
   0.061430    [D1] load_mib2nut: trying classic method with 'apcc' mib
   0.061452    [D3] su_find_info: unknown info type (device.model)
   0.061462    [D3] su_find_info: "ups.model" found
   0.061476    [D2] Found entry, not a template .1.3.6.1.4.1.318.1.1.1.1.1.1.0
   0.061487    [D2] Testing ups.model using OID .1.3.6.1.4.1.318.1.1.1.1.1.1.0
   0.061496    [D3] Entering nut_snmp_get_str()
   0.061506    [D3] nut_snmp_get(.1.3.6.1.4.1.318.1.1.1.1.1.1.0)
   0.061517    [D3] nut_snmp_walk(.1.3.6.1.4.1.318.1.1.1.1.1.1.0)
   0.061526    [D4] nut_snmp_walk: max. iteration = 1
   0.067544    [D2] load_mib2nut: testOID provided and doesn't match MIB 'apcc'!
   0.067571    [D1] load_mib2nut: trying classic method with 'baytech' mib
   0.067579    [D3] su_find_info: "device.model" found
   0.067586    [D2] Found entry, not a template .1.3.6.1.4.1.4779.1.3.5.2.1.24.1
   0.067593    [D2] Testing device.model using OID
.1.3.6.1.4.1.4779.1.3.5.2.1.24.1
   0.067603    [D3] Entering nut_snmp_get_str()
   0.067617    [D3] nut_snmp_get(.1.3.6.1.4.1.4779.1.3.5.2.1.24.1)
   0.067629    [D3] nut_snmp_walk(.1.3.6.1.4.1.4779.1.3.5.2.1.24.1)
   0.067639    [D4] nut_snmp_walk: max. iteration = 1
   0.069421    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'baytech'!
   0.069447    [D1] load_mib2nut: trying classic method with 'bestpower' mib
   0.069456    [D3] su_find_info: unknown info type (device.model)
   0.069463    [D3] su_find_info: "ups.model" found
   0.069470    [D2] Found entry, not a template .1.3.6.1.4.1.2947.1.1.2.0
   0.069480    [D2] Testing ups.model using OID .1.3.6.1.4.1.2947.1.1.2.0
   0.069500    [D3] Entering nut_snmp_get_str()
   0.069509    [D3] nut_snmp_get(.1.3.6.1.4.1.2947.1.1.2.0)
   0.069530    [D3] nut_snmp_walk(.1.3.6.1.4.1.2947.1.1.2.0)
   0.069535    [D4] nut_snmp_walk: max. iteration = 1
   0.071545    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'bestpower'!
   0.071574    [D1] load_mib2nut: trying classic method with 'cpqpower' mib
   0.071593    [D3] su_find_info: unknown info type (device.model)
   0.071604    [D3] su_find_info: "ups.model" found
   0.071613    [D2] Found entry, not a template .1.3.6.1.4.1.232.165.3.1.2.0
   0.071626    [D2] Testing ups.model using OID .1.3.6.1.4.1.232.165.3.1.2.0
   0.071638    [D3] Entering nut_snmp_get_str()
   0.071650    [D3] nut_snmp_get(.1.3.6.1.4.1.232.165.3.1.2.0)
   0.071659    [D3] nut_snmp_walk(.1.3.6.1.4.1.232.165.3.1.2.0)
   0.071670    [D4] nut_snmp_walk: max. iteration = 1
   0.077864    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'cpqpower'!
   0.077880    [D1] load_mib2nut: trying classic method with 'cyberpower' mib
   0.077886    [D3] su_find_info: unknown info type (device.model)
   0.077889    [D3] su_find_info: "ups.model" found
   0.077892    [D2] Found entry, not a template .1.3.6.1.4.1.3808.1.1.1.1.1.1.0
   0.077896    [D2] Testing ups.model using OID .1.3.6.1.4.1.3808.1.1.1.1.1.1.0
   0.077899    [D3] Entering nut_snmp_get_str()
   0.077902    [D3] nut_snmp_get(.1.3.6.1.4.1.3808.1.1.1.1.1.1.0)
   0.077905    [D3] nut_snmp_walk(.1.3.6.1.4.1.3808.1.1.1.1.1.1.0)
   0.077909    [D4] nut_snmp_walk: max. iteration = 1
   0.079654    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'cyberpower'!
   0.079680    [D1] load_mib2nut: trying classic method with 'delta_ups' mib
   0.079690    [D3] su_find_info: unknown info type (device.model)
   0.079697    [D3] su_find_info: "ups.model" found
   0.079703    [D2] Found entry, not a template .1.3.6.1.4.1.2254.2.4.1.2.0
   0.079713    [D2] Testing ups.model using OID .1.3.6.1.4.1.2254.2.4.1.2.0
   0.079724    [D3] Entering nut_snmp_get_str()
   0.079733    [D3] nut_snmp_get(.1.3.6.1.4.1.2254.2.4.1.2.0)
   0.079742    [D3] nut_snmp_walk(.1.3.6.1.4.1.2254.2.4.1.2.0)
   0.079753    [D4] nut_snmp_walk: max. iteration = 1
   0.081402    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'delta_ups'!
   0.081428    [D1] load_mib2nut: trying classic method with
'eaton_ats16_nmc' mib
   0.081440    [D3] su_find_info: "device.model" found
   0.081450    [D2] Found entry, not a template .1.3.6.1.4.1.534.10.2.1.2.0
   0.081458    [D2] Testing device.model using OID .1.3.6.1.4.1.534.10.2.1.2.0
   0.081469    [D3] Entering nut_snmp_get_str()
   0.081477    [D3] nut_snmp_get(.1.3.6.1.4.1.534.10.2.1.2.0)
   0.081490    [D3] nut_snmp_walk(.1.3.6.1.4.1.534.10.2.1.2.0)
   0.081501    [D4] nut_snmp_walk: max. iteration = 1
   0.084042    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'eaton_ats16_nmc'!
   0.084069    [D1] load_mib2nut: trying classic method with
'eaton_ats16_nm2' mib
   0.084086    [D3] su_find_info: "device.model" found
   0.084096    [D2] Found entry, not a template .1.3.6.1.4.1.534.10.2.1.2.0
   0.084107    [D2] Testing device.model using OID .1.3.6.1.4.1.534.10.2.1.2.0
   0.084118    [D3] Entering nut_snmp_get_str()
   0.084130    [D3] nut_snmp_get(.1.3.6.1.4.1.534.10.2.1.2.0)
   0.084139    [D3] nut_snmp_walk(.1.3.6.1.4.1.534.10.2.1.2.0)
   0.084145    [D4] nut_snmp_walk: max. iteration = 1
   0.097751    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'eaton_ats16_nm2'!
   0.097778    [D1] load_mib2nut: trying classic method with 'eaton_ats30' mib
   0.097787    [D3] su_find_info: "device.model" found
   0.097793    [D2] Found entry, not a template .1.3.6.1.4.1.534.10.1.2.1.0
   0.097800    [D2] Testing device.model using OID .1.3.6.1.4.1.534.10.1.2.1.0
   0.097810    [D3] Entering nut_snmp_get_str()
   0.097824    [D3] nut_snmp_get(.1.3.6.1.4.1.534.10.1.2.1.0)
   0.097836    [D3] nut_snmp_walk(.1.3.6.1.4.1.534.10.1.2.1.0)
   0.097844    [D4] nut_snmp_walk: max. iteration = 1
   0.099681    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'eaton_ats30'!
   0.099708    [D1] load_mib2nut: trying classic method with 'eaton_epdu' mib
   0.099725    [D3] su_find_info: "device.model" found
   0.099735    [D2] Found template, need to be adapted
   0.099748    [D2] Testing device.model using OID
.1.3.6.1.4.1.534.6.6.7.1.2.1.2.0
   0.099761    [D3] Entering nut_snmp_get_str()
   0.099773    [D3] nut_snmp_get(.1.3.6.1.4.1.534.6.6.7.1.2.1.2.0)
   0.099785    [D3] nut_snmp_walk(.1.3.6.1.4.1.534.6.6.7.1.2.1.2.0)
   0.099796    [D4] nut_snmp_walk: max. iteration = 1
   0.101569    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'eaton_epdu'!
   0.101596    [D1] load_mib2nut: trying classic method with
'emerson_avocent_pdu' mib
   0.101604    [D3] su_find_info: "device.model" found
   0.101611    [D2] Found template, need to be adapted
   0.101619    [D2] Testing device.model using OID
.1.3.6.1.4.1.10418.17.2.5.3.1.5.1.0
   0.101629    [D3] Entering nut_snmp_get_str()
   0.101640    [D3] nut_snmp_get(.1.3.6.1.4.1.10418.17.2.5.3.1.5.1.0)
   0.101652    [D3] nut_snmp_walk(.1.3.6.1.4.1.10418.17.2.5.3.1.5.1.0)
   0.101662    [D4] nut_snmp_walk: max. iteration = 1
   0.105204    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'emerson_avocent_pdu'!
   0.105230    [D1] load_mib2nut: trying classic method with
'aphel_revelation' mib
   0.105238    [D3] su_find_info: "device.model" found
   0.105245    [D2] Found entry, not a template .1.3.6.1.4.1.534.6.6.6.1.1.12.0
   0.105252    [D2] Testing device.model using OID
.1.3.6.1.4.1.534.6.6.6.1.1.12.0
   0.105263    [D3] Entering nut_snmp_get_str()
   0.105272    [D3] nut_snmp_get(.1.3.6.1.4.1.534.6.6.6.1.1.12.0)
   0.105281    [D3] nut_snmp_walk(.1.3.6.1.4.1.534.6.6.6.1.1.12.0)
   0.105308    [D4] nut_snmp_walk: max. iteration = 1
   0.107939    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'aphel_revelation'!
   0.107966    [D1] load_mib2nut: trying classic method with
'aphel_genesisII' mib
   0.107979    [D3] su_find_info: "device.model" found
   0.107987    [D2] Found entry, not a template .1.3.6.1.4.1.17373.3.1.1.0
   0.107996    [D2] Testing device.model using OID .1.3.6.1.4.1.17373.3.1.1.0
   0.108007    [D3] Entering nut_snmp_get_str()
   0.108019    [D3] nut_snmp_get(.1.3.6.1.4.1.17373.3.1.1.0)
   0.108028    [D3] nut_snmp_walk(.1.3.6.1.4.1.17373.3.1.1.0)
   0.108037    [D4] nut_snmp_walk: max. iteration = 1
   0.109755    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'aphel_genesisII'!
   0.109782    [D1] load_mib2nut: trying classic method with
'pulizzi_switched1' mib
   0.109790    [D3] su_find_info: "device.model" found
   0.109797    [D2] Found entry, not a template .1.3.6.1.4.1.20677.2.1.1.0
   0.109804    [D2] Testing device.model using OID .1.3.6.1.4.1.20677.2.1.1.0
   0.109814    [D3] Entering nut_snmp_get_str()
   0.109827    [D3] nut_snmp_get(.1.3.6.1.4.1.20677.2.1.1.0)
   0.109840    [D3] nut_snmp_walk(.1.3.6.1.4.1.20677.2.1.1.0)
   0.109848    [D4] nut_snmp_walk: max. iteration = 1
   0.119701    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'pulizzi_switched1'!
   0.119729    [D1] load_mib2nut: trying classic method with
'pulizzi_switched2' mib
   0.119746    [D3] su_find_info: "device.model" found
   0.119756    [D2] Found entry, not a template .1.3.6.1.4.1.20677.2.1.1.0
   0.119766    [D2] Testing device.model using OID .1.3.6.1.4.1.20677.2.1.1.0
   0.119775    [D3] Entering nut_snmp_get_str()
   0.119784    [D3] nut_snmp_get(.1.3.6.1.4.1.20677.2.1.1.0)
   0.119796    [D3] nut_snmp_walk(.1.3.6.1.4.1.20677.2.1.1.0)
   0.119810    [D4] nut_snmp_walk: max. iteration = 1
   0.121710    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'pulizzi_switched2'!
   0.121736    [D1] load_mib2nut: trying classic method with 'hpe_epdu' mib
   0.121744    [D3] su_find_info: "device.model" found
   0.121751    [D2] Found template, need to be adapted
   0.121759    [D2] Testing device.model using OID
.1.3.6.1.4.1.232.165.7.1.2.1.3.0
   0.121770    [D3] Entering nut_snmp_get_str()
   0.121784    [D3] nut_snmp_get(.1.3.6.1.4.1.232.165.7.1.2.1.3.0)
   0.121795    [D3] nut_snmp_walk(.1.3.6.1.4.1.232.165.7.1.2.1.3.0)
   0.121802    [D4] nut_snmp_walk: max. iteration = 1
   0.126473    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'hpe_epdu'!
   0.126499    [D1] load_mib2nut: trying classic method with 'huawei' mib
   0.126510    [D3] su_find_info: unknown info type (device.model)
   0.126517    [D3] su_find_info: "ups.model" found
   0.126523    [D2] Found entry, not a template
.1.3.6.1.4.1.2011.6.174.1.2.100.1.2.1
   0.126534    [D2] Testing ups.model using OID
.1.3.6.1.4.1.2011.6.174.1.2.100.1.2.1
   0.126548    [D3] Entering nut_snmp_get_str()
   0.126560    [D3] nut_snmp_get(.1.3.6.1.4.1.2011.6.174.1.2.100.1.2.1)
   0.126568    [D3] nut_snmp_walk(.1.3.6.1.4.1.2011.6.174.1.2.100.1.2.1)
   0.126580    [D4] nut_snmp_walk: max. iteration = 1
   0.137690    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'huawei'!
   0.137716    [D1] load_mib2nut: trying classic method with 'mge' mib
   0.137735    [D3] su_find_info: unknown info type (device.model)
   0.137743    [D3] su_find_info: "ups.model" found
   0.137752    [D2] Found entry, not a template .1.3.6.1.4.1.705.1.1.1.0
   0.137766    [D2] Testing ups.model using OID .1.3.6.1.4.1.705.1.1.1.0
   0.137777    [D3] Entering nut_snmp_get_str()
   0.137788    [D3] nut_snmp_get(.1.3.6.1.4.1.705.1.1.1.0)
   0.137796    [D3] nut_snmp_walk(.1.3.6.1.4.1.705.1.1.1.0)
   0.137810    [D4] nut_snmp_walk: max. iteration = 1
   0.139604    [D2] load_mib2nut: testOID provided and doesn't match MIB 'mge'!
   0.139634    [D1] load_mib2nut: trying classic method with 'netvision' mib
   0.139648    [D3] su_find_info: unknown info type (device.model)
   0.139658    [D3] su_find_info: "ups.model" found
   0.139667    [D2] Found entry, not a template .1.3.6.1.4.1.4555.1.1.1.1.1.1.0
   0.139679    [D2] Testing ups.model using OID .1.3.6.1.4.1.4555.1.1.1.1.1.1.0
   0.139688    [D3] Entering nut_snmp_get_str()
   0.139698    [D3] nut_snmp_get(.1.3.6.1.4.1.4555.1.1.1.1.1.1.0)
   0.139707    [D3] nut_snmp_walk(.1.3.6.1.4.1.4555.1.1.1.1.1.1.0)
   0.139717    [D4] nut_snmp_walk: max. iteration = 1
   0.141376    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'netvision'!
   0.141402    [D1] load_mib2nut: trying classic method with 'pw' mib
   0.141414    [D3] su_find_info: unknown info type (device.model)
   0.141421    [D3] su_find_info: "ups.model" found
   0.141431    [D2] Found entry, not a template 1.3.6.1.4.1.534.1.1.2.0
   0.141438    [D2] Testing ups.model using OID 1.3.6.1.4.1.534.1.1.2.0
   0.141447    [D3] Entering nut_snmp_get_str()
   0.141460    [D3] nut_snmp_get(1.3.6.1.4.1.534.1.1.2.0)
   0.141471    [D3] nut_snmp_walk(1.3.6.1.4.1.534.1.1.2.0)
   0.141483    [D4] nut_snmp_walk: max. iteration = 1
   0.147520    [D2] load_mib2nut: testOID provided and doesn't match MIB 'pw'!
   0.147547    [D1] load_mib2nut: trying classic method with 'pxgx_ups' mib
   0.147563    [D3] su_find_info: unknown info type (device.model)
   0.147574    [D3] su_find_info: "ups.model" found
   0.147583    [D2] Found entry, not a template 1.3.6.1.4.1.534.1.1.2.0
   0.147596    [D2] Testing ups.model using OID 1.3.6.1.4.1.534.1.1.2.0
   0.147608    [D3] Entering nut_snmp_get_str()
   0.147616    [D3] nut_snmp_get(1.3.6.1.4.1.534.1.1.2.0)
   0.147628    [D3] nut_snmp_walk(1.3.6.1.4.1.534.1.1.2.0)
   0.147636    [D4] nut_snmp_walk: max. iteration = 1
   0.149418    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'pxgx_ups'!
   0.149445    [D1] load_mib2nut: trying classic method with 'raritan' mib
   0.149453    [D3] su_find_info: "device.model" found
   0.149460    [D2] Found entry, not a template .1.3.6.1.4.1.13742.1.1.12.0
   0.149467    [D2] Testing device.model using OID .1.3.6.1.4.1.13742.1.1.12.0
   0.149477    [D3] Entering nut_snmp_get_str()
   0.149489    [D3] nut_snmp_get(.1.3.6.1.4.1.13742.1.1.12.0)
   0.149503    [D3] nut_snmp_walk(.1.3.6.1.4.1.13742.1.1.12.0)
   0.149512    [D4] nut_snmp_walk: max. iteration = 1
   0.152060    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'raritan'!
   0.152087    [D1] load_mib2nut: trying classic method with 'raritan-px2' mib
   0.152104    [D3] su_find_info: "device.model" found
   0.152114    [D2] Found entry, not a template .1.3.6.1.4.1.13742.6.3.2.1.1.3.1
   0.152125    [D2] Testing device.model using OID
.1.3.6.1.4.1.13742.6.3.2.1.1.3.1
   0.152134    [D3] Entering nut_snmp_get_str()
   0.152142    [D3] nut_snmp_get(.1.3.6.1.4.1.13742.6.3.2.1.1.3.1)
   0.152150    [D3] nut_snmp_walk(.1.3.6.1.4.1.13742.6.3.2.1.1.3.1)
   0.152163    [D4] nut_snmp_walk: max. iteration = 1
   0.157589    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'raritan-px2'!
   0.157615    [D1] load_mib2nut: trying classic method with 'xppc' mib
   0.157623    [D3] su_find_info: unknown info type (device.model)
   0.157630    [D3] su_find_info: "ups.model" found
   0.157637    [D2] Found entry, not a template .1.3.6.1.4.1.935.1.1.1.1.1.1.0
   0.157647    [D2] Testing ups.model using OID .1.3.6.1.4.1.935.1.1.1.1.1.1.0
   0.157657    [D3] Entering nut_snmp_get_str()
   0.157664    [D3] nut_snmp_get(.1.3.6.1.4.1.935.1.1.1.1.1.1.0)
   0.157673    [D3] nut_snmp_walk(.1.3.6.1.4.1.935.1.1.1.1.1.1.0)
   0.157685    [D4] nut_snmp_walk: max. iteration = 1
   0.159517    [D2] load_mib2nut: testOID provided and doesn't match MIB 'xppc'!
   0.159544    [D1] load_mib2nut: trying classic method with 'tripplite' mib
   0.159560    [D3] su_find_info: unknown info type (device.model)
   0.159570    [D3] su_find_info: "ups.model" found
   0.159578    [D2] Found entry, not a template 1.3.6.1.2.1.33.1.1.2.0
   0.159589    [D2] Testing ups.model using OID 1.3.6.1.2.1.33.1.1.2.0
   0.159602    [D3] Entering nut_snmp_get_str()
   0.159613    [D3] nut_snmp_get(1.3.6.1.2.1.33.1.1.2.0)
   0.159626    [D3] nut_snmp_walk(1.3.6.1.2.1.33.1.1.2.0)
   0.159638    [D4] nut_snmp_walk: max. iteration = 1
   0.161356    [D2] load_mib2nut: testOID provided and doesn't match
MIB 'tripplite'!
   0.161381    [D1] load_mib2nut: trying classic method with 'ietf' mib
   0.161393    [D3] su_find_info: unknown info type (device.model)
   0.161400    [D3] su_find_info: "ups.model" found
   0.161406    [D2] Found entry, not a template 1.3.6.1.2.1.33.1.1.2.0
   0.161416    [D2] Testing ups.model using OID 1.3.6.1.2.1.33.1.1.2.0
   0.161426    [D3] Entering nut_snmp_get_str()
   0.161435    [D3] nut_snmp_get(1.3.6.1.2.1.33.1.1.2.0)
   0.161447    [D3] nut_snmp_walk(1.3.6.1.2.1.33.1.1.2.0)
   0.161455    [D4] nut_snmp_walk: max. iteration = 1
   0.168935    [D2] load_mib2nut: testOID provided and doesn't match MIB 'ietf'!
   0.168960    No supported device detected

root at gentooserver /etc/nut # nut-scanner -S -s poweralert-061036425037
Scanning SNMP bus.

On Tue, Oct 12, 2021 at 11:11 AM Nathan Dehnel <ncdehnel at gmail.com> wrote:
>
> Oh, there are 2920 commits SINCE that release. I misread that. Ignore my other email.
>
> On Tue, Oct 12, 2021, 11:08 AM Nathan Dehnel <ncdehnel at gmail.com> wrote:
>>
>> If you look at the commits for that 2.7.4 package, it shows commits from very recently (September 2021), so it seems to me that it would contain that patch you mentioned.
>>
>> On Tue, Oct 12, 2021, 11:05 AM Nathan Dehnel <ncdehnel at gmail.com> wrote:
>>>
>>> I'm a bit confused about that release. It says it was released just a few days ago, and that it's the first release in a long time. But it has the same version number as a very old version. You can see someone else in the github issues that is confused about this. Is it really just the old version?
>>>
>>> On Tue, Oct 12, 2021, 6:54 AM Jim Klimov <jimklimov at gmail.com> wrote:
>>>>
>>>> Note, you linked to latest tagged release (some 5 years ago, we are still finishing some clean-ups for cutting a 2.7.5 release), same as (or baseline for) what distros package.
>>>>
>>>> The fix you want is (expected to be) on master branch head.
>>>>
>>>> On Fri, Oct 8, 2021, 23:06 Nathan Dehnel via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> wrote:
>>>>>
>>>>> I just built and installed the latest version here:
>>>>> https://github.com/networkupstools/nut/releases/tag/v2.7.4
>>>>>
>>>>> The driver still fails to connect:
>>>>> root at gentooserver /etc/nut #  /lib64/nut/snmp-ups -DDDDDD -a tripplite1
>>>>> Network UPS Tools - Generic SNMP UPS driver 0.97 (2.7.4)
>>>>>    0.000000    send_to_all: SETINFO driver.parameter.port
>>>>> "poweralert-061036425037"
>>>>>    0.000046    send_to_all: SETINFO driver.parameter.snmp_version "v3"
>>>>>    0.000060    send_to_all: SETINFO driver.parameter.secLevel "authPriv"
>>>>>    0.000074    send_to_all: SETINFO driver.parameter.authProtocol "SHA"
>>>>>    0.000112    send_to_all: SETINFO driver.parameter.privProtocol "AES"
>>>>>    0.000138    debug level is '6'
>>>>>    0.001269    SNMP UPS driver: entering upsdrv_initups()
>>>>>    0.001283    SNMP UPS driver: entering nut_snmp_init(snmp-ups)
>>>>>    0.011962    Setting SNMP retries to 5
>>>>>    0.011976    Setting SNMP timeout to 1 second(s)
>>>>>    0.034225    SNMP UPS driver: entering load_mib2nut(auto)
>>>>>    0.034235    trying the new match_sysoid() method
>>>>>    0.034238    Entering nut_snmp_get_oid()
>>>>>    0.034241    nut_snmp_get(.1.3.6.1.2.1.1.2.0)
>>>>>    0.034243    nut_snmp_walk(.1.3.6.1.2.1.1.2.0)
>>>>>    0.034252    nut_snmp_walk: max. iteration = 1
>>>>>    0.036365    Can't get sysOID value
>>>>>    0.036391    load_mib2nut: trying classic method with 'apcc' mib
>>>>>    0.036411    su_find_info: "ups.model" found
>>>>>    0.036414    Testing ups.model using OID .1.3.6.1.4.1.318.1.1.1.1.1.1.0
>>>>>    0.036416    Entering nut_snmp_get_str()
>>>>>    0.036419    nut_snmp_get(.1.3.6.1.4.1.318.1.1.1.1.1.1.0)
>>>>>    0.036421    nut_snmp_walk(.1.3.6.1.4.1.318.1.1.1.1.1.1.0)
>>>>>    0.036425    nut_snmp_walk: max. iteration = 1
>>>>>    0.036437    load_mib2nut: testOID provided and doesn't match MIB 'apcc'!
>>>>>    0.036442    load_mib2nut: trying classic method with 'mge' mib
>>>>>    0.036445    su_find_info: "ups.model" found
>>>>>    0.036449    Testing ups.model using OID .1.3.6.1.4.1.705.1.1.1.0
>>>>>    0.036452    Entering nut_snmp_get_str()
>>>>>    0.036454    nut_snmp_get(.1.3.6.1.4.1.705.1.1.1.0)
>>>>>    0.036460    nut_snmp_walk(.1.3.6.1.4.1.705.1.1.1.0)
>>>>>    0.036463    nut_snmp_walk: max. iteration = 1
>>>>>    0.036468    load_mib2nut: testOID provided and doesn't match MIB 'mge'!
>>>>>    0.036471    load_mib2nut: trying classic method with 'netvision' mib
>>>>>    0.036474    su_find_info: "ups.model" found
>>>>>    0.036476    Testing ups.model using OID .1.3.6.1.4.1.4555.1.1.1.1.1.1.0
>>>>>    0.036478    Entering nut_snmp_get_str()
>>>>>    0.036482    nut_snmp_get(.1.3.6.1.4.1.4555.1.1.1.1.1.1.0)
>>>>>    0.036489    nut_snmp_walk(.1.3.6.1.4.1.4555.1.1.1.1.1.1.0)
>>>>>    0.036496    nut_snmp_walk: max. iteration = 1
>>>>>    0.036501    load_mib2nut: testOID provided and doesn't match MIB 'netvision'!
>>>>>    0.036505    load_mib2nut: trying classic method with 'pw' mib
>>>>>    0.036510    su_find_info: "ups.model" found
>>>>>    0.036517    Testing ups.model using OID 1.3.6.1.4.1.534.1.1.2.0
>>>>>    0.036519    Entering nut_snmp_get_str()
>>>>>    0.036521    nut_snmp_get(1.3.6.1.4.1.534.1.1.2.0)
>>>>>    0.036526    nut_snmp_walk(1.3.6.1.4.1.534.1.1.2.0)
>>>>>    0.036529    nut_snmp_walk: max. iteration = 1
>>>>>    0.036537    load_mib2nut: testOID provided and doesn't match MIB 'pw'!
>>>>>    0.036542    load_mib2nut: trying classic method with 'pxgx_ups' mib
>>>>>    0.036547    su_find_info: "ups.model" found
>>>>>    0.036550    Testing ups.model using OID 1.3.6.1.4.1.534.1.1.2.0
>>>>>    0.036554    Entering nut_snmp_get_str()
>>>>>    0.036557    nut_snmp_get(1.3.6.1.4.1.534.1.1.2.0)
>>>>>    0.036559    nut_snmp_walk(1.3.6.1.4.1.534.1.1.2.0)
>>>>>    0.036564    nut_snmp_walk: max. iteration = 1
>>>>>    0.036568    load_mib2nut: testOID provided and doesn't match MIB 'pxgx_ups'!
>>>>>    0.036572    load_mib2nut: trying classic method with 'aphel_genesisII' mib
>>>>>    0.036578    su_find_info: "ups.model" found
>>>>>    0.036581    Testing ups.model using OID .1.3.6.1.4.1.17373.3.1.1.0
>>>>>    0.036585    Entering nut_snmp_get_str()
>>>>>    0.036587    nut_snmp_get(.1.3.6.1.4.1.17373.3.1.1.0)
>>>>>    0.036593    nut_snmp_walk(.1.3.6.1.4.1.17373.3.1.1.0)
>>>>>    0.036598    nut_snmp_walk: max. iteration = 1
>>>>>    0.036604    load_mib2nut: testOID provided and doesn't match MIB
>>>>> 'aphel_genesisII'!
>>>>>    0.036608    load_mib2nut: trying classic method with 'aphel_revelation' mib
>>>>>    0.036610    su_find_info: "ups.model" found
>>>>>    0.036612    Testing ups.model using OID .1.3.6.1.4.1.534.6.6.6.1.1.12.0
>>>>>    0.036616    Entering nut_snmp_get_str()
>>>>>    0.036619    nut_snmp_get(.1.3.6.1.4.1.534.6.6.6.1.1.12.0)
>>>>>    0.036621    nut_snmp_walk(.1.3.6.1.4.1.534.6.6.6.1.1.12.0)
>>>>>    0.036625    nut_snmp_walk: max. iteration = 1
>>>>>    0.036630    load_mib2nut: testOID provided and doesn't match MIB
>>>>> 'aphel_revelation'!
>>>>>    0.036635    load_mib2nut: trying classic method with 'eaton_epdu' mib
>>>>>    0.036638    su_find_info: "ups.model" found
>>>>>    0.036641    Testing ups.model using OID 1.3.6.1.4.1.534.6.6.7.1.2.1.2.0
>>>>>    0.036644    Entering nut_snmp_get_str()
>>>>>    0.036646    nut_snmp_get(1.3.6.1.4.1.534.6.6.7.1.2.1.2.0)
>>>>>    0.036648    nut_snmp_walk(1.3.6.1.4.1.534.6.6.7.1.2.1.2.0)
>>>>>    0.036655    nut_snmp_walk: max. iteration = 1
>>>>>    0.036660    load_mib2nut: testOID provided and doesn't match MIB
>>>>> 'eaton_epdu'!
>>>>>    0.036666    load_mib2nut: trying classic method with 'pulizzi_switched1' mib
>>>>>    0.036670    su_find_info: "ups.model" found
>>>>>    0.036677    Testing ups.model using OID .1.3.6.1.4.1.20677.2.1.1.0
>>>>>    0.036680    Entering nut_snmp_get_str()
>>>>>    0.036686    nut_snmp_get(.1.3.6.1.4.1.20677.2.1.1.0)
>>>>>    0.036688    nut_snmp_walk(.1.3.6.1.4.1.20677.2.1.1.0)
>>>>>    0.036690    nut_snmp_walk: max. iteration = 1
>>>>>    0.036696    load_mib2nut: testOID provided and doesn't match MIB
>>>>> 'pulizzi_switched1'!
>>>>>    0.036700    load_mib2nut: trying classic method with 'pulizzi_switched2' mib
>>>>>    0.036706    su_find_info: "ups.model" found
>>>>>    0.036710    Testing ups.model using OID .1.3.6.1.4.1.20677.2.1.1.0
>>>>>    0.036713    Entering nut_snmp_get_str()
>>>>>    0.036715    nut_snmp_get(.1.3.6.1.4.1.20677.2.1.1.0)
>>>>>    0.036720    nut_snmp_walk(.1.3.6.1.4.1.20677.2.1.1.0)
>>>>>    0.036723    nut_snmp_walk: max. iteration = 1
>>>>>    0.036729    load_mib2nut: testOID provided and doesn't match MIB
>>>>> 'pulizzi_switched2'!
>>>>>    0.036734    load_mib2nut: trying classic method with 'raritan' mib
>>>>>    0.036738    su_find_info: "ups.model" found
>>>>>    0.036742    Testing ups.model using OID .1.3.6.1.4.1.13742.1.1.12.0
>>>>>    0.036745    Entering nut_snmp_get_str()
>>>>>    0.036747    nut_snmp_get(.1.3.6.1.4.1.13742.1.1.12.0)
>>>>>    0.036752    nut_snmp_walk(.1.3.6.1.4.1.13742.1.1.12.0)
>>>>>    0.036760    nut_snmp_walk: max. iteration = 1
>>>>>    0.036769    load_mib2nut: testOID provided and doesn't match MIB 'raritan'!
>>>>>    0.036772    load_mib2nut: trying classic method with 'baytech' mib
>>>>>    0.036775    su_find_info: "ups.model" found
>>>>>    0.036779    Testing ups.model using OID .1.3.6.1.4.1.4779.1.3.5.2.1.24.1
>>>>>    0.036784    Entering nut_snmp_get_str()
>>>>>    0.036790    nut_snmp_get(.1.3.6.1.4.1.4779.1.3.5.2.1.24.1)
>>>>>    0.036792    nut_snmp_walk(.1.3.6.1.4.1.4779.1.3.5.2.1.24.1)
>>>>>    0.036798    nut_snmp_walk: max. iteration = 1
>>>>>    0.036803    load_mib2nut: testOID provided and doesn't match MIB 'baytech'!
>>>>>    0.036808    load_mib2nut: trying classic method with 'cpqpower' mib
>>>>>    0.036814    su_find_info: "ups.model" found
>>>>>    0.036817    Testing ups.model using OID .1.3.6.1.4.1.232.165.3.1.2.0
>>>>>    0.036821    Entering nut_snmp_get_str()
>>>>>    0.036824    nut_snmp_get(.1.3.6.1.4.1.232.165.3.1.2.0)
>>>>>    0.036831    nut_snmp_walk(.1.3.6.1.4.1.232.165.3.1.2.0)
>>>>>    0.036833    nut_snmp_walk: max. iteration = 1
>>>>>    0.036841    load_mib2nut: testOID provided and doesn't match MIB 'cpqpower'!
>>>>>    0.036846    load_mib2nut: trying classic method with 'bestpower' mib
>>>>>    0.036850    su_find_info: "ups.model" found
>>>>>    0.036857    Testing ups.model using OID .1.3.6.1.4.1.2947.1.1.2.0
>>>>>    0.036860    Entering nut_snmp_get_str()
>>>>>    0.036868    nut_snmp_get(.1.3.6.1.4.1.2947.1.1.2.0)
>>>>>    0.036872    nut_snmp_walk(.1.3.6.1.4.1.2947.1.1.2.0)
>>>>>    0.036876    nut_snmp_walk: max. iteration = 1
>>>>>    0.036882    load_mib2nut: testOID provided and doesn't match MIB 'bestpower'!
>>>>>    0.036888    load_mib2nut: trying classic method with 'cyberpower' mib
>>>>>    0.036892    su_find_info: "ups.model" found
>>>>>    0.036896    Testing ups.model using OID .1.3.6.1.4.1.3808.1.1.1.1.1.1.0
>>>>>    0.036902    Entering nut_snmp_get_str()
>>>>>    0.036906    nut_snmp_get(.1.3.6.1.4.1.3808.1.1.1.1.1.1.0)
>>>>>    0.036912    nut_snmp_walk(.1.3.6.1.4.1.3808.1.1.1.1.1.1.0)
>>>>>    0.036915    nut_snmp_walk: max. iteration = 1
>>>>>    0.036920    load_mib2nut: testOID provided and doesn't match MIB
>>>>> 'cyberpower'!
>>>>>    0.036924    load_mib2nut: trying classic method with 'delta_ups' mib
>>>>>    0.036926    su_find_info: "ups.model" found
>>>>>    0.036931    Testing ups.model using OID .1.3.6.1.4.1.2254.2.4.1.2.0
>>>>>    0.036935    Entering nut_snmp_get_str()
>>>>>    0.036937    nut_snmp_get(.1.3.6.1.4.1.2254.2.4.1.2.0)
>>>>>    0.036943    nut_snmp_walk(.1.3.6.1.4.1.2254.2.4.1.2.0)
>>>>>    0.036946    nut_snmp_walk: max. iteration = 1
>>>>>    0.036952    load_mib2nut: testOID provided and doesn't match MIB 'delta_ups'!
>>>>>    0.036956    load_mib2nut: trying classic method with 'xppc' mib
>>>>>    0.036958    su_find_info: "ups.model" found
>>>>>    0.036963    Testing ups.model using OID .1.3.6.1.4.1.935.1.1.1.1.1.1.0
>>>>>    0.036967    Entering nut_snmp_get_str()
>>>>>    0.036969    nut_snmp_get(.1.3.6.1.4.1.935.1.1.1.1.1.1.0)
>>>>>    0.036976    nut_snmp_walk(.1.3.6.1.4.1.935.1.1.1.1.1.1.0)
>>>>>    0.036978    nut_snmp_walk: max. iteration = 1
>>>>>    0.036985    load_mib2nut: testOID provided and doesn't match MIB 'xppc'!
>>>>>    0.036989    load_mib2nut: trying classic method with 'huawei' mib
>>>>>    0.036991    su_find_info: "ups.model" found
>>>>>    0.036995    Testing ups.model using OID .1.3.6.1.4.1.2011.6.174.1.2.100.1.2.1
>>>>>    0.037002    Entering nut_snmp_get_str()
>>>>>    0.037005    nut_snmp_get(.1.3.6.1.4.1.2011.6.174.1.2.100.1.2.1)
>>>>>    0.037009    nut_snmp_walk(.1.3.6.1.4.1.2011.6.174.1.2.100.1.2.1)
>>>>>    0.037015    nut_snmp_walk: max. iteration = 1
>>>>>    0.037020    load_mib2nut: testOID provided and doesn't match MIB 'huawei'!
>>>>>    0.037026    load_mib2nut: trying classic method with 'ietf' mib
>>>>>    0.037029    su_find_info: "ups.model" found
>>>>>    0.037033    Testing ups.model using OID 1.3.6.1.2.1.33.1.1.2.0
>>>>>    0.037035    Entering nut_snmp_get_str()
>>>>>    0.037041    nut_snmp_get(1.3.6.1.2.1.33.1.1.2.0)
>>>>>    0.037043    nut_snmp_walk(1.3.6.1.2.1.33.1.1.2.0)
>>>>>    0.037050    nut_snmp_walk: max. iteration = 1
>>>>>    0.037056    load_mib2nut: testOID provided and doesn't match MIB 'ietf'!
>>>>>    0.037060    load_mib2nut: trying classic method with 'eaton_ats' mib
>>>>>    0.037066    su_find_info: unknown info type (ups.model)
>>>>>    0.037072    su_find_info: "device.model" found
>>>>>    0.037078    Testing device.model using OID .1.3.6.1.4.1.534.10.2.1.2.0
>>>>>    0.037091    Entering nut_snmp_get_str()
>>>>>    0.037093    nut_snmp_get(.1.3.6.1.4.1.534.10.2.1.2.0)
>>>>>    0.037096    nut_snmp_walk(.1.3.6.1.4.1.534.10.2.1.2.0)
>>>>>    0.037098    nut_snmp_walk: max. iteration = 1
>>>>>    0.037104    load_mib2nut: testOID provided and doesn't match MIB 'eaton_ats'!
>>>>>    0.037110    load_mib2nut: trying classic method with 'apc_ats' mib
>>>>>    0.037116    su_find_info: unknown info type (ups.model)
>>>>>    0.037120    su_find_info: "device.model" found
>>>>>    0.037123    Testing device.model using OID .1.3.6.1.4.1.318.1.1.8.1.5.0
>>>>>    0.037127    Entering nut_snmp_get_str()
>>>>>    0.037132    nut_snmp_get(.1.3.6.1.4.1.318.1.1.8.1.5.0)
>>>>>    0.037138    nut_snmp_walk(.1.3.6.1.4.1.318.1.1.8.1.5.0)
>>>>>    0.037141    nut_snmp_walk: max. iteration = 1
>>>>>    0.037148    load_mib2nut: testOID provided and doesn't match MIB 'apc_ats'!
>>>>>    0.037157    load_mib2nut: trying classic method with 'ietf' mib
>>>>>    0.037161    su_find_info: "ups.model" found
>>>>>    0.037165    Testing ups.model using OID 1.3.6.1.2.1.33.1.1.2.0
>>>>>    0.037172    Entering nut_snmp_get_str()
>>>>>    0.037175    nut_snmp_get(1.3.6.1.2.1.33.1.1.2.0)
>>>>>    0.037179    nut_snmp_walk(1.3.6.1.2.1.33.1.1.2.0)
>>>>>    0.037183    nut_snmp_walk: max. iteration = 1
>>>>>    0.037192    load_mib2nut: testOID provided and doesn't match MIB 'ietf'!
>>>>>    0.037196    No supported device detected
>>>>>
>>>>> nut-scanner now returns nothing:
>>>>> root at gentooserver /etc/nut # nut-scanner -S -s poweralert-061036425037
>>>>> Scanning SNMP bus.
>>>>>
>>>>> On Thu, Oct 7, 2021 at 2:05 PM David Zomaya <David_Zomaya at tripplite.com> wrote:
>>>>> >
>>>>> > Interestingly, we're dealing with a similar sounding problem over on Spiceworks:
>>>>> > https://community.spiceworks.com/topic/2334626-eaton-network-m2-snmpv3-issues-with-synology-nas?from_forum=428
>>>>> >
>>>>> > If I'm understanding the problem correctly and Nathan does NOT want to update NUT, you could opt to downgrade from AES to DES on the Tripp Lite WEBCARDLX.
>>>>> > That said, I think updating NUT as Jim mentioned is the better solution/test.
>>>>> >
>>>>> > Thank you,
>>>>> > David Zomaya
>>>>> > Tripp Lite
>>>>> > ________________________________
>>>>> >  This message is for the addressee's use only. It may contain confidential information. If you receive this message in error, please delete it and notify the sender. Tripp Lite disclaims all warranties and liabilities, and assumes no responsibility for viruses which may infect an email sent to you from Tripp Lite and which damage your electronic systems or information. It is your responsibility to maintain virus detection systems to prevent damage to your electronic systems and information.
>>>>>
>>>>> _______________________________________________
>>>>> Nut-upsuser mailing list
>>>>> Nut-upsuser at alioth-lists.debian.net
>>>>> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser



More information about the Nut-upsuser mailing list