Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.8, 1.8.9
    • Fix Version/s: None
    • Component/s: API (A)
    • Labels:
    • Environment:
      All enviroments, all OSs, all hardware.

      Description

      Hi,

      It will be nice to have some function in the API to get Zabbix Server status, the same way it is checked in the dashboard (I mean, the fsockopen method).

      Thanks.

      1. APIServer.patch
        4 kB
        Jordi Clariana
      2. ServerStatus_3_0_1.patch
        4 kB
        sxc7541

        Issue Links

          Activity

          Hide
          Jordi Clariana added a comment -

          This patch creates new API call: Server, with 3 methods: version, status and performance.

          Feel free to modify and/or include it in the next Zabbix release.

          I'll made it based on Zabbix version 2, I have it for version 1.8 too if anyone interested.

          Regards.

          Show
          Jordi Clariana added a comment - This patch creates new API call: Server, with 3 methods: version, status and performance. Feel free to modify and/or include it in the next Zabbix release. I'll made it based on Zabbix version 2, I have it for version 1.8 too if anyone interested. Regards.
          Hide
          Jordi Clariana added a comment -

          Hi,

          I wonder if there's any plan to implement this patch on the main branch. Can you tell me?

          Thanks.

          Show
          Jordi Clariana added a comment - Hi, I wonder if there's any plan to implement this patch on the main branch. Can you tell me? Thanks.
          Hide
          richlv added a comment -

          it's not on the roadmap currently (but i like it & voted on it )

          Show
          richlv added a comment - it's not on the roadmap currently (but i like it & voted on it )
          Hide
          sxc7541 added a comment - - edited

          I've written a Python script to monitor the Zabbix server externally (make sure it's running) - details here: http://serverfault.com/questions/741064/monitoring-zabbix-server-itself-externally/760343#760343

          Alas, I've noticed that the Zabbix server somehow continues to respond to API requests even if it's stopped... I suppose this feature would help in this scenario.

          Thanks to @Jordiclariana for providing a full fledged patch. Now if only this could make it into an official release...

          Show
          sxc7541 added a comment - - edited I've written a Python script to monitor the Zabbix server externally (make sure it's running) - details here: http://serverfault.com/questions/741064/monitoring-zabbix-server-itself-externally/760343#760343 Alas, I've noticed that the Zabbix server somehow continues to respond to API requests even if it's stopped... I suppose this feature would help in this scenario. Thanks to @Jordiclariana for providing a full fledged patch. Now if only this could make it into an official release...
          Hide
          sxc7541 added a comment - - edited

          For others like me still waiting for this functionality to be incorporated in an official release, here's Jordi's patch adapted to run on Zabbix 3.0(.1): ServerStatus_3_0_1.patch

          Show
          sxc7541 added a comment - - edited For others like me still waiting for this functionality to be incorporated in an official release, here's Jordi's patch adapted to run on Zabbix 3.0(.1): ServerStatus_3_0_1.patch

            People

            • Assignee:
              Alexei Vladishev
              Reporter:
              Jordi Clariana
            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: