Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

整数型のTEXTUAL-CONVENTION の内容が反映されない #32

Closed
knt-n opened this issue Dec 4, 2023 · 3 comments
Closed

整数型のTEXTUAL-CONVENTION の内容が反映されない #32

knt-n opened this issue Dec 4, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@knt-n
Copy link

knt-n commented Dec 4, 2023

SYNTAX が INTEGER(Interger32) の場合 TEXTUAL-CONVENTION マクロで設定した表示ができない

確認済みの内容で反映されないのは列挙値(下記該当サンプル)と DISPLAY-HINT

なお、列挙値は通常の OBJECT-TYPE の SYNTAX で指定する分には表示に反映されます

バージョン : v1.32.0(a078ee1)

該当サンプル

UCD-SNMP-MIB::memSwapError.0 (UCDErrorFlag)

  • MIB ツリー
MIBツリー
  • TWSNMP FC での実行結果
TWSNMPFCの実行結果
  • Net-SNMP での実行結果
Net-SNMPの実行結果
@twsnmp twsnmp added the question Further information is requested label Dec 4, 2023
@twsnmp
Copy link
Owner

twsnmp commented Dec 4, 2023

ご指摘ありがとうございます。
TWSNMP FCで使っているSNMPのライブラリは、Net-SNMPのように優秀ではなく、
MIB値の表示は、自分で処理しなければなりません。

列挙値は通常の OBJECT-TYPE の SYNTAX で指定する分には表示に反映されます

は、処理を追加したので対応できていますが。

TEXTUAL-CONVENTION マクロや DISPLAY-HINTは、処理を作っていません。
対応できるか、検討します。

@twsnmp twsnmp added enhancement New feature or request and removed question Further information is requested labels Dec 4, 2023
@twsnmp
Copy link
Owner

twsnmp commented Dec 7, 2023

TEXTUAL-CONVENTION マクロやのEnumとINTEGERのDISPLAY-HINTには、対応できました。
()の表示がちょっと違いますが、

image

twsnmp added a commit that referenced this issue Dec 7, 2023
INTEGERのDISPLAY-HINTに対応した
#32
@twsnmp
Copy link
Owner

twsnmp commented Dec 11, 2023

v1.33.0で対応したので、クローズします。
問題あったら、またチケット作成してください。

@twsnmp twsnmp closed this as completed Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants