[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 17:11:01 BST 2021


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
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20211012/954073e3/attachment-0001.htm>


More information about the Nut-upsuser mailing list