Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  2. ZBXNEXT-584

Support multiple server in active check mode


    • Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.9.1 (alpha)
    • Agent (G)
    • None
    • Windows, Unix, Linux zabbix-1.9 (r16152)

      I made a patch for supporting multiple server in active check mode.
      I heard the needs in Japanese Zabbix community meeting.
      Some users says they want Zabbix to support multiple server in active check for redundant monitoring.

      Following is some explanation for my patch.

      • The attached file is patch for zabbix-1.9 (r16152)
      • "ActiveCheckServer" parameter
        I added new config parameter "ActiveCheckServer" to avoid to make needless process.
        Because active check uses one process per one Zabbix server.
        For example, if I have a Zabbix server "" and add "" to "Server" for zabbix_get test, the process for "" is needless.
        So, I made a new parameter for active check.
      • "__declspec(thread)" (Thread Local Storage in Visual C++)
        I added "__declspec(thread)" for Windows agent to avoid to refer same variable by different thread.
        Thread Local Storage is needed for Windows, because Windows agent works in thread.
        It is not needed for Unix and Linux, because the agent for them work in multi process.
        (reference) http://en.wikipedia.org/wiki/Thread-local_storage

            Unassigned Unassigned
            tsuzuki Takanori Suzuki
            1 Vote for this issue
            1 Start watching this issue