Ad Widget

Collapse

Zabbix API: Item availabilty possible?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tristan
    Senior Member
    • Feb 2008
    • 110

    #1

    Zabbix API: Item availabilty possible?

    Hello,

    Does somebody know if the Zabbix 2.0.x API has a method to return the availabity for a item?

    The web interface does it(Reports->availability) But i cannot find the option in the API.
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    As far as I know it's not implemented as a API function.
    The availability report of the web interface is based on calculations in the frontend.
    See:
    ${FRONTEND_DIR}/include/triggers.inc.php:calculate_availability()

    Comment

    • Pavels
      Member
      • Oct 2011
      • 83

      #3
      No, the API does not support trigger availability calculation yet. It does however allow to calculate SLA for services, you could try to use that.

      Comment


      • prakash
        prakash commented
        Editing a comment
        Hi, Has anyone found the solution for "Does somebody know if the Zabbix 2.0.x API has a method to return the availabity for a item?". Please let me know if it can done using API.
    Working...