Ticket #11089

SNMPで取ったデバイスの名前がづれる。
Open Date: 2007-10-11 10:44 Last Update: 2008-03-12 09:17

Reporter:
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
3
Severity:
5 - Medium
Resolution:
None
File:
None

Details

でSNMPで値をとってみて気づいたのですが、
+デバイス
デバイス名

となりますが。ここで、デバイスとデバイス名がずれてます。
配列の数え方の問題かもしれませんが、

たとえば
+デバイス FastEthernet0/49
+デバイス FastEthernet0/20

だとすると

+デバイス FastEthernet0/49
デバイス名 FastEthernet0/20
+デバイス FastEthernet0/20

となります。

単にデバイスの欄に表示するために入れ込む番号が違うだけ
ですかね?

実際はデバイス名に入っているものが正しいです。

Ticket History (3/4 Histories)

2007-10-11 11:19 Updated by: miyamotoyu
Comment
Logged In: YES
user_id=19335

この問題ですが、一度そのまま登録すると
その後は問題なく表示されるようです。
(表題の部分とデバイス名の部分は同じ、デバイス名から読んでい
るため。)
2007-10-11 11:20 Updated by: miyamotoyu
Comment
Logged In: YES
user_id=19335

com.clustercontrol.repository.factory.SearchNodeBySNMP
の390行目
deviceProperty.setValue((String)ret.getValue(OID_NIC_NAME+tmpIndex).getValue());

copy.setValue((String)ret.getValue(OID_NIC_NAME+tmpIndex).getValue();

と直せばよいはず。
2007-10-11 11:21 Updated by: miyamotoyu
Comment
Logged In: YES
user_id=19335

com.clustercontrol.repository.factory.SearchNodeBySNMP
の390行目
deviceProperty.setValue((String)ret.getValue(OID_NIC_NAME+tmpIndex).getValue());

copy.setValue((String)ret.getValue(OID_NIC_NAME+tmpIndex).getValue();

と直せばよいはず。
2008-03-12 09:17 Updated by: gami
  • Ticket Close date is changed to 2008-03-12 09:17
  • Status Update from Open to Closed
Comment
Logged In: YES
user_id=20911

ver2.3.1で修正済み

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login