Ad Widget

Collapse

Zabbix service.get => {"jsonrpc":"2.0","result":[],"id":0}

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mariolok
    Junior Member
    • Jun 2018
    • 5

    #1

    Zabbix service.get => {"jsonrpc":"2.0","result":[],"id":0}


    Hi, I am currently trying to use zabbix api to get a list of all my ITService in the Next Hierarchy. Structure : Group01 -> Father Group02 -> Son -> Father 01 Group03 -> Son Group 02 Test01 -> Son Group 03 Test02 -> Son Group 03 Print in Annex. API Query Taken: { JSON=' { "jsonrpc": "2.0", "method": "service.get", "params": { "output": ["name"], "selectParent":{ "name":[ "description" ], "selectDependencies" : "extend", "filter": { "name": [ "GRUPO01" ] } } }, "auth": "'$TOKEN'", "id": 1}' At the moment, return is only from Father (Group01 and Group02 Son) But unfortunately I'm not able to bring the whole hierarchy up and attached, how can I get around it?
Working...