Ad Widget

Collapse

Use web api to get item without application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Liki Lee
    Junior Member
    • Dec 2020
    • 26

    #1

    Use web api to get item without application

    It is possible to use web API to get items having application of a given name, or given ids.
    Is it possible to get items having no application?
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Specify applicationids in request:
    Code:
    "params": {
        "applicationids": [123, 456]
    }
    where 123 and 456 are the IDs of applications you are interested in and you will get all items that are part of any of those applications. As to items with no application - I'm afraid it's not currently possible, but you could go through all items of, say a host and see if it has applications related.

    *NB!* Be warned that in 5.4 applications are removed.

    Comment

    • Liki Lee
      Junior Member
      • Dec 2020
      • 26

      #3
      To Dimir
      Thank you for your information.

      Comment

      Working...