I have been working with NUT to get this working since upgrading to a
web snmp card in a UPS. I keep getting seg faults when running snmp-ups
also. Below is the output.
kernel: [1365065.178230] snmp-ups[1940]: segfault at 0 ip b7555470 sp
bf8d89e8 error 4 in libc-2.18.so[b74c2000+1a9000]
Running: Arch i686 current
Nut is current git
Device is Tripp Lite SU2200XLa with WEBSNMPCARD running version12.04.0055.
snmp-ups output:
Network UPS Tools - Generic SNMP UPS driver 0.71 (2.7.1-signed-54-g348cd84)
0.000000 debug level is '2'
0.000353 SNMP UPS driver : entering upsdrv_initups()
0.000363 SNMP UPS driver : entering nut_snmp_init(snmp-ups)
0.023970 SNMP UPS driver : entering load_mib2nut(auto)
0.024013 trying the new match_sysoid() method
0.027661 match_sysoid: device sysOID value = .1.3.6.1.4.1.850.1
0.027683 match_sysoid: checking MIB apcc
0.027694 match_sysoid: checking MIB mge
0.027703 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.705.1
0.027711 match_sysoid: checking MIB netvision
0.027718 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.4555.1.1.1
0.027725 match_sysoid: checking MIB pw
0.027732 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.534.1
0.027738 match_sysoid: checking MIB aphel_genesisII
0.027745 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.17373
0.027750 match_sysoid: checking MIB aphel_revelation
0.027756 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.534.6.6.6
0.027761 match_sysoid: checking MIB eaton_epdu
0.027768 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.534.6.6.7
0.027773 match_sysoid: checking MIB pulizzi_switched1
0.027779 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.20677.1
0.027785 match_sysoid: checking MIB pulizzi_switched2
0.027791 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.20677.2
0.027796 match_sysoid: checking MIB raritan
0.027802 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.13742
0.027809 match_sysoid: checking MIB baytech
0.027814 match_sysoid: checking MIB cpqpower
0.027820 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.232.165.3
0.027825 match_sysoid: checking MIB bestpower
0.027830 match_sysoid: checking MIB cyberpower
0.027836 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.3808
0.027841 match_sysoid: checking MIB delta_ups
0.027847 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.2254.2.4
0.027853 match_sysoid: checking MIB xppc
0.027859 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.4.1.935
0.027864 match_sysoid: checking MIB ietf
0.027872 match_sysoid: comparing .1.3.6.1.4.1.850.1 with
.1.3.6.1.2.1.33
0.027878 No matching MIB found for sysOID '.1.3.6.1.4.1.850.1'!
Please report it to NUT developers, with an 'upsc' output for your device.
Going back to the classic MIB detection method.
0.027886 load_mib2nut: trying classic method with 'apcc' mib
0.031624 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.318.1.1.1.1.1.1.0
0.031665 load_mib2nut: trying classic method with 'mge' mib
0.034569 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.705.1.1.1.0
0.034584 load_mib2nut: trying classic method with 'netvision' mib
0.038293 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.4555.1.1.1.1.1.1.0
0.038319 load_mib2nut: trying classic method with 'pw' mib
0.041257 [tripplite] unhandled ASN 0x80 received from
1.3.6.1.4.1.534.1.1.2.0
0.041287 load_mib2nut: trying classic method with
'aphel_genesisII' mib
0.044219 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.17373.3.1.1.0
0.044235 load_mib2nut: trying classic method with
'aphel_revelation' mib
0.047585 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.534.6.6.6.1.1.12.0
0.047600 load_mib2nut: trying classic method with 'eaton_epdu' mib
0.050536 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.534.6.6.7.1.2.1.2.0
0.050549 load_mib2nut: trying classic method with
'pulizzi_switched1' mib
0.053483 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.20677.1
0.053499 load_mib2nut: trying classic method with
'pulizzi_switched2' mib
0.056890 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.20677.1
0.056907 load_mib2nut: trying classic method with 'raritan' mib
0.059830 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.13742.1.1.12.0
0.059847 load_mib2nut: trying classic method with 'baytech' mib
0.062784 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.4779.1.3.5.2.1.24.1
0.062799 load_mib2nut: trying classic method with 'cpqpower' mib
0.066654 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.232.165.3.1.1.0
0.066695 load_mib2nut: trying classic method with 'bestpower' mib
0.069633 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.2947.1.1.2.0
0.069648 load_mib2nut: trying classic method with 'cyberpower' mib
0.072572 [tripplite] unhandled ASN 0x80 received from
.1.3.6.1.4.1.3808.1.1.1.1.1.1.0
0.072588 load_mib2nut: trying classic method with 'delta_ups' mib
Segmentation fault
SNMP-Walk:
UPS-MIB::upsIdentManufacturer.0 = STRING: Tripp Lite
UPS-MIB::upsIdentModel.0 = STRING: SU2200XLa
UPS-MIB::upsIdentUPSSoftwareVersion.0 = STRING: 17
UPS-MIB::upsIdentAgentSoftwareVersion.0 = STRING: 12.04.0055
UPS-MIB::upsIdentName.0 = STRING: Device 1
UPS-MIB::upsIdentAttachedDevices.0 = STRING:
UPS-MIB::upsBatteryStatus.0 = INTEGER: batteryNormal(2)
UPS-MIB::upsSecondsOnBattery.0 = INTEGER: 0 seconds
UPS-MIB::upsEstimatedMinutesRemaining.0 = INTEGER: 12 minutes
UPS-MIB::upsEstimatedChargeRemaining.0 = INTEGER: 100 percent
UPS-MIB::upsBatteryVoltage.0 = INTEGER: 550 0.1 Volt DC
UPS-MIB::upsBatteryTemperature.0 = INTEGER: 23 degrees Centigrade
UPS-MIB::upsInputLineBads.0 = INTEGER: 0
UPS-MIB::upsInputNumLines.0 = INTEGER: 1
UPS-MIB::upsInputLineIndex.1 = INTEGER: 1
UPS-MIB::upsInputFrequency.1 = INTEGER: 590 0.1 Hertz
UPS-MIB::upsInputVoltage.1 = INTEGER: 119 RMS Volts
UPS-MIB::upsOutputSource.0 = INTEGER: normal(3)
UPS-MIB::upsOutputFrequency.0 = INTEGER: 599 0.1 Hertz
UPS-MIB::upsOutputNumLines.0 = INTEGER: 1
UPS-MIB::upsOutputLineIndex.1 = INTEGER: 1
UPS-MIB::upsOutputVoltage.1 = INTEGER: 119 RMS Volts
UPS-MIB::upsOutputCurrent.1 = INTEGER: 8 0.1 RMS Amp
UPS-MIB::upsOutputPower.1 = INTEGER: 862 Watts
UPS-MIB::upsOutputPercentLoad.1 = INTEGER: 54 percent
UPS-MIB::upsBypassFrequency.0 = INTEGER: 599 0.1 Hertz
UPS-MIB::upsBypassNumLines.0 = INTEGER: 1
UPS-MIB::upsBypassLineIndex.1 = INTEGER: 1
UPS-MIB::upsBypassVoltage.1 = INTEGER: 119 RMS Volts
UPS-MIB::upsAlarmsPresent.0 = INTEGER: 0
Thanks in advance!
Jason
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser