[Bug 1197878] Re: SNMPv3 not working with APC
Jernej Jakob
jernej.jakob at gmail.com
Fri Jul 5 21:41:07 UTC 2013
Here is the output when mibs=auto (tried also with no mibs= line in
ups.conf, but the output is the same):
/lib/nut/snmp-ups -a ups1 -DDD
Network UPS Tools - Generic SNMP UPS driver 0.58 (2.6.3)
0.000000 debug level is '3'
0.001183 SNMP UPS driver : entering upsdrv_initups()
0.001207 SNMP UPS driver : entering nut_snmp_init(snmp-ups)
0.735157 SNMP UPS driver : entering load_mib2nut(auto)
0.735196 trying the new match_sysoid() method
0.735221 Entering nut_snmp_get_str()
0.735251 nut_snmp_get(.1.3.6.1.2.1.1.2.0)
6.762884 Can't get sysOID value
6.762917 load_mib2nut: trying classic method with 'apcc' mib
6.762922 Entering nut_snmp_get_str()
6.762929 nut_snmp_get(.1.3.6.1.4.1.318.1.1.1.1.1.1.0)
12.768293 load_mib2nut: trying classic method with 'mge' mib
12.768353 Entering nut_snmp_get_str()
12.768369 nut_snmp_get(.1.3.6.1.4.1.705.1.1.1.0)
18.774670 load_mib2nut: trying classic method with 'netvision' mib
18.774719 Entering nut_snmp_get_str()
18.774734 nut_snmp_get(.1.3.6.1.4.1.4555.1.1.1.1.1.1.0)
24.780316 load_mib2nut: trying classic method with 'pw' mib
24.780365 Entering nut_snmp_get_str()
24.780381 nut_snmp_get(1.3.6.1.4.1.534.1.1.2.0)
30.785826 load_mib2nut: trying classic method with 'aphel_genesisII' mib
30.785875 Entering nut_snmp_get_str()
30.785891 nut_snmp_get(.1.3.6.1.4.1.17373.3.1.1.0)
36.792281 load_mib2nut: trying classic method with 'aphel_revelation' mib
36.792328 Entering nut_snmp_get_str()
36.792344 nut_snmp_get(.1.3.6.1.4.1.534.6.6.6.1.1.12.0)
42.799464 load_mib2nut: trying classic method with 'eaton_epdu' mib
42.799517 Entering nut_snmp_get_str()
42.799533 nut_snmp_get(.1.3.6.1.4.1.534.6.6.7.1.2.1.2.0)
48.805451 load_mib2nut: trying classic method with 'raritan' mib
48.805477 Entering nut_snmp_get_str()
48.805483 nut_snmp_get(.1.3.6.1.4.1.13742.1.1.12.0)
54.811904 load_mib2nut: trying classic method with 'baytech' mib
54.811961 Entering nut_snmp_get_str()
54.811977 nut_snmp_get(.1.3.6.1.4.1.4779.1.3.5.2.1.24.1)
60.818242 load_mib2nut: trying classic method with 'cpqpower' mib
60.818291 Entering nut_snmp_get_str()
60.818306 nut_snmp_get(1.3.6.1.4.1.232.165.3.1.1.0)
66.825054 load_mib2nut: trying classic method with 'bestpower' mib
66.825093 Entering nut_snmp_get_str()
66.825104 nut_snmp_get(.1.3.6.1.4.1.2947.1.1.2.0)
72.832071 load_mib2nut: trying classic method with 'cyberpower' mib
72.832107 Entering nut_snmp_get_str()
72.832116 nut_snmp_get(.1.3.6.1.4.1.3808.1.1.1.1.1.1.0)
78.838672 load_mib2nut: trying classic method with 'ietf' mib
78.838721 Entering nut_snmp_get_str()
78.838737 nut_snmp_get(1.3.6.1.2.1.33.1.1.1.0)
84.845475 No supported device detected
tcpdump:
23:34:01.428044 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UD
P (17), length 92)
10.0.10.10.33452 > 10.0.0.6.161: [bad udp cksum 0x1e69 -> 0x1554!] { SNMPv3
{ F=r } { USM B=0 T=0 U= } { ScopedPDU E= C= { GetRequest(14) R=545426911 } }
}
23:34:01.446834 IP (tos 0x0, ttl 63, id 27, offset 0, flags [none], proto UDP (1
7), length 147)
10.0.0.6.161 > 10.0.10.10.33452: [no cksum] { SNMPv3 { F= } { USM B=115 T=627920 U= } { ScopedPDU E=0x800x000x010x3E0x030x000xC00xB70x7E0xC80xFB C= { Report(35) R=545426911 .1.3.6.1.6.3.15.1.1.4.0=23 } } }
23:34:01.447188 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 172)
10.0.10.10.33452 > 10.0.0.6.161: [bad udp cksum 0x1eb9 -> 0xc96a!] { SNMPv3 { F=apr } { USM B=115 T=627920 U=apc_ups_1_authpriv } { ScopedPDU [!scopedPDU]c5_8e_3f_a3_9b_8d_15_2e_56_e0_49_96_7e_f2_27_c0_72_89_5f_28_48_04_c3_f0_d1_25_76_77_58_17_54_ac_8f_83_59_e6_69_24_d4_1a_9d_b7_96_13_e3_6f_b6_d9} }
[...more packets from server to UPS without any response...]
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/1197878
Title:
SNMPv3 not working with APC
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/1197878/+subscriptions
More information about the Ubuntu-server-bugs
mailing list