-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
6.0.0beta1
-
None
Initially server process_log_check() server parameter was abused by agent2 to pass internal information through the C code back to the process_value() callback provided by agent2.
With HA address rotation server/port was replaced by address vector, and agent uses the first vector member to get address/port when calling init_persistent_dir_parameter(). On agent2 it will crash.
I don't see how it could be fixed without adding new parameter to process_log_check() and following functions until the callback process_value() is called. This parameter would be used only by agent2.
That would leave init_persistent_dir_parameter() handling, because agent2 does not have the last successful address readily available when processing logs.
- caused by
-
ZBXNEXT-6593 Agent re-read log files
- Closed
- duplicates
-
ZBX-20371 Crash agent2 on CentOS 7 when log monitoring in 6.0.0beta1
- Closed