Ad Widget

Collapse

How to get external check result through API?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • armstrongzhao
    Junior Member
    • Oct 2013
    • 6

    #1

    How to get external check result through API?

    Is it possible to get the external check return data through zabbix api? I am doing the integration between zabbix and other system. I hope the external check result can be used in other application.

    And I find an issue that the simple check result which the type of information is Numeric (float) can be read by API JSON, but the boolean result can not be read by API JSON. Is API available for all type of information? My zabbix version is 2.2.2
  • gleepwurp
    Senior Member
    • Mar 2014
    • 119

    #2
    Hi,

    as long as your external check returns data in one of the Zabbix ITEM, you can get that information from the API. I don't think you can spontaneously launch an external check through the API though. You'll need to wait for the normal cycle of your external check's item.

    I just checked and I don't see any "boolean" type of information for ITEMS, there's only:

    - Numeric (unsigned)
    - Numeric (float)
    - Character
    - Log
    - Text

    G.
    Last edited by gleepwurp; 26-08-2014, 16:58.

    Comment

    Working...