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

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.0.9, 2.1.8
    • Agent (G)
    • Ubuntu Linux 12.04, Ubuntu Linux 13.10

      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.

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

              Created:
              Updated: