Hello
I was wondering if you can get all the hosts with the same description from the API?
If I look at the documentation: https://www.zabbix.com/documentation...rence/host/get
I didn't see anything to get the description.
I want to get all the hosts with a specific description. (in my case SAM0105)
I have tried this:
and this:
But so far I only get errors. Does anyone knows if you can do this?
Thanks for any help!
I was wondering if you can get all the hosts with the same description from the API?
If I look at the documentation: https://www.zabbix.com/documentation...rence/host/get
I didn't see anything to get the description.
I want to get all the hosts with a specific description. (in my case SAM0105)
I have tried this:
Code:
{
"jsonrpc": "2.0",
"method":"host.get",
"params": {
"description": "SAM0105"
},
"id":1,
"auth":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Code:
{
"jsonrpc": "2.0",
"method":"host.get",
"params": {
"filter": {
"description": [
"SAM0105"
]
}
},
"id":1,
"auth":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Thanks for any help!
Comment