Yes,this is a bug. Thanks! Kaj J. Niemi <[EMAIL PROTECTED]> 写 :
> Hi, > > According to the DISMAN-NSLOOKUP-MIB.txt the lookupCtlRowStatus will > activate when: > > "A remote lookup operation is started when an entry in this table is > created via an SNMP SET request and the entry is activated. This occurs > by setting the value of this object to CreateAndGo(4) during row > creation or by setting this object to active(1) after the row is created." > > However this does not seem to happen: > > % snmpset -c quux localhost > lookupCtlRowStatus.6.107.97.106.116.122.117.3.65.66.67 = 6 > % snmpset -c quux localhost > lookupCtlRowStatus.6.107.97.106.116.122.117.3.65.66.67 = 4 > % snmpset -c quux localhost > lookupCtlTargetAddressType.6.107.97.106.116.122.117.3.65.66.67 = 1 > % snmpset -c quux localhost > lookupCtlTargetAddress.6.107.97.106.116.122.117.3.65.66.67 = "212.226.226.1" > > % snmpwalk -c foox localhost lookupCtlEntry > DISMAN-NSLOOKUP-MIB::lookupCtlTargetAddressType."kajtzu"."ABC" = > INTEGER: ipv4(1) > DISMAN-NSLOOKUP-MIB::lookupCtlTargetAddress."kajtzu"."ABC" = STRING: > "212.226.226.1" > DISMAN-NSLOOKUP-MIB::lookupCtlOperStatus."kajtzu"."ABC" = INTEGER: > notStarted(2) > DISMAN-NSLOOKUP-MIB::lookupCtlTime."kajtzu"."ABC" = Gauge32: 0 milliseconds > DISMAN-NSLOOKUP-MIB::lookupCtlRc."kajtzu"."ABC" = INTEGER: 0 > DISMAN-NSLOOKUP-MIB::lookupCtlRowStatus."kajtzu"."ABC" = INTEGER: > createAndGo(4) > > Note the values of RowStatus and OperStatus. If I then set it to active > with: > > % snmpset -c quux localhost > lookupCtlRowStatus.6.107.97.106.116.122.117.3.65.66.67 = 1 > > It correctly performs the query: > > % snmpwalk -c foox localhost lookupCtlEntry > DISMAN-NSLOOKUP-MIB::lookupCtlTargetAddressType."kajtzu"."ABC" = > INTEGER: ipv4(1) > DISMAN-NSLOOKUP-MIB::lookupCtlTargetAddress."kajtzu"."ABC" = STRING: > "212.226.226.1" > DISMAN-NSLOOKUP-MIB::lookupCtlOperStatus."kajtzu"."ABC" = INTEGER: > completed(3) > DISMAN-NSLOOKUP-MIB::lookupCtlTime."kajtzu"."ABC" = Gauge32: 7 milliseconds > DISMAN-NSLOOKUP-MIB::lookupCtlRc."kajtzu"."ABC" = INTEGER: 0 > DISMAN-NSLOOKUP-MIB::lookupCtlRowStatus."kajtzu"."ABC" = INTEGER: active(1) > > I believe this is a bug as right now createAndGo is not any different > from createAndWait. Thanks. > > ************************************************************** > Scanned by VisNetic MailScan for SMTP Servers. > Visit http://www.deerfield.com/products/visnetic_mailscan. > ************************************************************** ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
