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

zabbix_agentd daemonizes improperly if HostnameItem is set to system.run[xxx]

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.0.9, 2.1.8
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Labels:
    • Environment:
      Ubuntu Linux 12.04, Ubuntu Linux 13.10

      Description

      The forking performed by "system.run" during startup causes upstart to fail to detect the correct PID.
      This is essentially the same issue as: ZBX-5234 but it's not fixed since the fix for ZBX-5234 relied on removing the fork from the "system.hostname" implementation. In our case there's no easy way to remove forking from "system.run".

      Question is why not load the config file (and perform necessary forks) AFTER daemonizing. This, btw, would enable ZBXNEXT-1631.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            yoav Yoav Steinberg
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: