A
A
Alexey2017-08-31 15:23:02
Zabbix
Alexey, 2017-08-31 15:23:02

How to get hostid by ip via Zabbix API 3.2?

It is necessary to get information about the host by IP, trying in different ways, including this:

{
    "jsonrpc": "2.0",
    "method": "hostinterface.get",
    "params": {
        "output": "extend",
      	"ip": "127.0.0.1"
    },
"auth":"authcode",
"id":1
}

Does anyone have a good json request example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Bushmanov, 2017-09-03
@lolobrigit

Everything is wonderfully described here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question