Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20372

Agent2 log monitoring crashes

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 6.0.0beta1
    • None
    • Agent (G)
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zabbix.dev Zabbix Development Team
              wiper Andris Zeila
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: