[Nut-upsuser] snmp definitions problem

ramazan firin ramazan_firin at hotmail.com
Wed Apr 3 08:26:55 UTC 2013


Hi,
İ have a necron snmp ups.
nut-scanner cant find it. i tried to add with these definition but it fails..
[test5-ups] 	driver = snmp-ups	port = 10.9.40.19      community = asdf12	desc ="test"

i run driver with debugging , result is ,
root at upsviewer-debian:/usr/local/ups/bin# ./snmp-ups -DDDDDDD -a test5-upsNetwork UPS Tools - Generic SNMP UPS driver 0.68 (2.6.5)   0.000000	send_to_all: SETINFO driver.parameter.port "10.9.40.196"   0.000043	debug level is '7'   0.000490	SNMP UPS driver : entering upsdrv_initups()   0.000501	SNMP UPS driver : entering nut_snmp_init(snmp-ups)   0.001679	SNMP UPS driver : entering load_mib2nut(auto)   0.001691	trying the new match_sysoid() method   0.001696	Entering nut_snmp_get_str()   0.001706	nut_snmp_get(.1.3.6.1.2.1.1.2.0)   6.008128	Can't get sysOID value   6.008150	load_mib2nut: trying classic method with 'apcc' mib   6.008157	Entering nut_snmp_get_str()   6.008169	nut_snmp_get(.1.3.6.1.4.1.318.1.1.1.1.1.1.0)  12.014585	load_mib2nut: trying classic method with 'mge' mib  12.014609	Entering nut_snmp_get_str()  12.014617	nut_snmp_get(.1.3.6.1.4.1.705.1.1.1.0)  18.021015	load_mib2nut: trying classic method with 'netvision' mib  18.021039	Entering nut_snmp_get_str()  18.021047	nut_snmp_get(.1.3.6.1.4.1.4555.1.1.1.1.1.1.0)  24.027518	load_mib2nut: trying classic method with 'pw' mib  24.027540	Entering nut_snmp_get_str()  24.027549	nut_snmp_get(1.3.6.1.4.1.534.1.1.2.0)  30.033923	load_mib2nut: trying classic method with 'aphel_genesisII' mib  30.033946	Entering nut_snmp_get_str()  30.033954	nut_snmp_get(.1.3.6.1.4.1.17373.3.1.1.0)  36.040390	load_mib2nut: trying classic method with 'aphel_revelation' mib  36.040413	Entering nut_snmp_get_str()  36.040427	nut_snmp_get(.1.3.6.1.4.1.534.6.6.6.1.1.12.0)  42.046845	load_mib2nut: trying classic method with 'eaton_epdu' mib  42.046869	Entering nut_snmp_get_str()  42.046877	nut_snmp_get(.1.3.6.1.4.1.534.6.6.7.1.2.1.2.0)  48.053299	load_mib2nut: trying classic method with 'pulizzi_switched1' mib  48.053322	Entering nut_snmp_get_str()  48.053330	nut_snmp_get(.1.3.6.1.4.1.20677.1)  54.059725	load_mib2nut: trying classic method with 'pulizzi_switched2' mib  54.059748	Entering nut_snmp_get_str()  54.059757	nut_snmp_get(.1.3.6.1.4.1.20677.1)  60.066200	load_mib2nut: trying classic method with 'raritan' mib  60.066224	Entering nut_snmp_get_str()  60.066232	nut_snmp_get(.1.3.6.1.4.1.13742.1.1.12.0)  66.072623	load_mib2nut: trying classic method with 'baytech' mib  66.072645	Entering nut_snmp_get_str()  66.072654	nut_snmp_get(.1.3.6.1.4.1.4779.1.3.5.2.1.24.1)  72.079055	load_mib2nut: trying classic method with 'cpqpower' mib  72.079076	Entering nut_snmp_get_str()  72.079084	nut_snmp_get(.1.3.6.1.4.1.232.165.3.1.1.0)  78.085473	load_mib2nut: trying classic method with 'bestpower' mib  78.085496	Entering nut_snmp_get_str()  78.085504	nut_snmp_get(.1.3.6.1.4.1.2947.1.1.2.0)  84.091922	load_mib2nut: trying classic method with 'cyberpower' mib  84.091945	Entering nut_snmp_get_str()  84.091953	nut_snmp_get(.1.3.6.1.4.1.3808.1.1.1.1.1.1.0)  90.098338	load_mib2nut: trying classic method with 'ietf' mib  90.098361	Entering nut_snmp_get_str()  90.098370	nut_snmp_get(1.3.6.1.2.1.33.1.1.1.0)  96.104771	No supported device detectedroot at upsviewer-debian:/usr/local/ups/bin# 


i ask to manufacturer about mibs, they send me information like that,

 
 
 
 
  0
  upsBaseIdentModel
  .1.3.6.1.4.1.935.1.1.1.1.1.1
 
 
  1
  upsSmartIdentFirmwareRevision
  .1.3.6.1.4.1.935.1.1.1.1.2.1
 
 
  2
  upsThreePhaseRatingRectifierVoltage
  .1.3.6.1.4.1.935.1.1.1.8.8.1
 
 
  3
  upsThreePhaseRatingRectifierFrequency
  .1.3.6.1.4.1.935.1.1.1.8.8.2
 
 
  4
  upsThreePhaseRatingBypassVoltage
  .1.3.6.1.4.1.935.1.1.1.8.8.3
 
 
  5
  upsThreePhaseRatingBypassFrequency
  .1.3.6.1.4.1.935.1.1.1.8.8.4
 
 
  6
  upsThreePhaseRatingOutputVoltage
  .1.3.6.1.4.1.935.1.1.1.8.8.5
 
 
  7
  upsThreePhaseRatingOutputFrequency
  .1.3.6.1.4.1.935.1.1.1.8.8.6
 
 
  8
  upsThreePhaseRatingBatteryVoltage
  .1.3.6.1.4.1.935.1.1.1.8.8.7
 
 
  9
  upsThreePhaseInputVoltageR/upsThreePhaseInputVoltageS/upsThreePhaseInputVoltageT
  .1.3.6.1.4.1.935.1.1.1.8.2.2/.1.3.6.1.4.1.935.1.1.1.8.2.3/.1.3.6.1.4.1.935.1.1.1.8.2.4
 
 
  10
  upsThreePhaseBypssSourceVoltageR/upsThreePhaseBypssSourceVoltageS/upsThreePhaseBypssSourceVoltageT
  .1.3.6.1.4.1.935.1.1.1.8.4.2/.1.3.6.1.4.1.935.1.1.1.8.4.3/.1.3.6.1.4.1.935.1.1.1.8.4.4
 
 
  11
  upsThreePhaseOutputVoltageR/upsThreePhaseOutputVoltageS/upsThreePhaseOutputVoltageT
  .1.3.6.1.4.1.935.1.1.1.8.3.2/.1.3.6.1.4.1.935.1.1.1.8.3.3/.1.3.6.1.4.1.935.1.1.1.8.3.4
 
 
  12
  upsThreePhaseOutputLoadPercentageR/upsThreePhaseOutputLoadPercentageS/upsThreePhaseOutputLoadPercentageT
  .1.3.6.1.4.1.935.1.1.1.8.3.5/.1.3.6.1.4.1.935.1.1.1.8.3.6/.1.3.6.1.4.1.935.1.1.1.8.3.7
 
 
  13
  upsThreePhaseBatteryVoltage
  .1.3.6.1.4.1.935.1.1.1.8.1.1
 
 
  14
  upsThreePhaseBatteryCapacityPercentage
  .1.3.6.1.4.1.935.1.1.1.8.1.2
 
 
  15
  upsThreePhaseBatteryTimeRemain
  .1.3.6.1.4.1.935.1.1.1.8.1.3
 
 
  16
  upsThreePhaseBatteryCurrent
  .1.3.6.1.4.1.935.1.1.1.8.1.4
 
 
  17
  upsThreePhaseBatteryTemperature
  .1.3.6.1.4.1.935.1.1.1.8.1.5
 
 
  18
  upsThreePhaseInputFrequency
  .1.3.6.1.4.1.935.1.1.1.8.2.1
 
 
  19
  upsThreePhaseBypassSourceFrequency
  .1.3.6.1.4.1.935.1.1.1.8.4.1
 


are there any way to connect ups with nut?
thanks,
nut- version = 2.6.5debian ,manuel intallation
BRRamazan



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130403/2db23218/attachment-0001.html>


More information about the Nut-upsuser mailing list