バグ報告サイトのステータスに関して

zintenと申します。

バグ報告サイトの見方について質問させてください。

logrt possibly read old log file from very beginning after log rotation

上記のバグをチェックしていたのですが、いまいちステータス等の見方がよく分かりません。
ステータスが「Resolved」に更新されたのですがFix Versionが「none」となっています。
これは修正を行わないということなのでしょうか?

また、Activityに「This issue is duplicated by TPR-24 [ TPR-24 ]」となっていますが
TPR-24はどこを参照したら確認できますでしょうか。

コメント表示オプション

お好みのコメント表示方法を選び「設定の保存」をクリックすると変更が反映されます。
ユーザー TNK の写真

StatusがResolvedで、ResolutionがFixedですので、問題は解決し、
修正も完了したという状態のはずです。
See also ZBX-7301と書かれていたのでそちらも確認してみました。
https://support.zabbix.com/browse/ZBX-7301

明確にDuplicateとしてリンクはされていませんが、同様の問題で
あるように見受けられます。
ZBX-6731やZBX-6729も関連しているようです。
https://support.zabbix.com/browse/ZBX-6731
https://support.zabbix.com/browse/ZBX-6729

ZBX-6731とZBX-6729に関しては、昨日の2.0.12では修正されてリリ
ースされているようです。
http://www.zabbix.com/rn2.0.12.php
2.2.3でも、既に修正済みになっているようです。
http://www.zabbix.com/rn2.2.3.php

ですので、ZBX-6731とZBX-6729と合わせて、2.0.12や2.2.3では修
正されているということだと思われます。

挙げられていたTPR-24に関しては、他にもSIA-111、WHA-43、WHA-37
などが同じActivityのところにありましたが、私も見たことはあり
ません。
恐らく、Zabbix SIA社内で管理されているものなのではないでしょ
うか。

公開されているものとしては、ZBXとZBXNEXTになるので、これらに
記載されているものを利用して確認するしかないと思います。

ユーザー zinten の写真

TNKさん

コメントありがとうございます。

>See also ZBX-7301と書かれていたのでそちらも確認してみました。
>https://support.zabbix.com/browse/ZBX-7301
>明確にDuplicateとしてリンクはされていませんが、同様の問題で
>あるように見受けられます。
「ログローテーション時にファイルが一時的になくなって取得不可になる問題」と
「ログローテーション時にmtimeが同じファイルができてしまう影響で再読み込みする問題」なので異なるものかと思います。

前者に関してはパフォーマンス改善の結果、処理をいくつか減らしたので直っているような気がしますが
後者に関しては直っていないような気がします。
ZBX-6731とZBX-6729のコミット時のコメントに変更点がありましたので抜粋しました。
--------------------------------コメントから抜粋-------------------------------------
Before this change:
- new log file records were read record-by-record, reading of each record involved opening,
seeking, reading and closing of the log file.

- zbx_regexp() compiled a regular expression every time,

- for logrt[] items file mask regular expression was compiled for every file in a check.
The log files were selected first by regular expression (file mask), then by last mtime.

After this change:
- new log file records are read into 256 kB buffer in one operation, then a regular
expression is applied to every record in the buffer and matching records are sent
to Zabbix server. No repetitive file opening, seeking for every record.

- zbx_regexp() compiles a regular expresion and rememebers it.
This increases performance if the same regular expression is used several times in
a row (e.g. for matching log file records). This affects also server and proxy.

- for logrt[] items file mask regular expression is compiled only once in a check.
The log files are selected first by the last mtime, then by regular expression (file mask)
to improve performance.

- Zabbix agent detects oversized log file records (longer than 256 kB). Only the first 256 kB
are matched against the regular expression and the rest of the record is ignored.

- a new Zabbix datatype "zbx_offset_t" and a new function "zbx_lseek()" is added
to encapsulate "lseek()" differences between UNIX/GNU/Linux and Microsoft Windows,

- Make files for "zabbix_get" and "zabbix_sender" on Microsoft Windows do not include
src/libs/zbxcommon/file.c anymore.
--------------------------------コメントから抜粋-------------------------------------

>恐らく、Zabbix SIA社内で管理されているものなのではないでしょうか。
>公開されているものとしては、ZBXとZBXNEXTになるので、これらに
>記載されているものを利用して確認するしかないと思います。
TPR-24の内容の確認は難しそうですね。
情報ありがとうございます!

長文失礼しました。