Ad Widget

Collapse

Help with requests using Postman to Zabbix API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dpidx
    Junior Member
    • Feb 2024
    • 4

    #1

    Help with requests using Postman to Zabbix API


    Hey people, I'm doing my internship in a telecommunications company and I'm learning about the requests using the Zabbix API.

    I've been using Postman to do my first requests with the official documentation and everything was going well, but I got stuck with this:

    Click image for larger version

Name:	image.png
Views:	691
Size:	10.5 KB
ID:	479032

    I was trying to retrieve the information related to host and hostid about a kind of devices called "Rectificadores" that have the groupid 53, but I want to restrict the request to retrieve only the devices that are located in a department called "Santander"​ . I've tried a lot of things using the host inventory objects, using filter, using search but the response is always all the devices identified whit the groupid 53.

    Could someone help me about this restriction that I want to do?
    If you can explain me why this doesn't works, I'd appreciate.
    Last edited by dpidx; 15-02-2024, 23:16.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    There is no such parameter for host API as "site.state".
    I assume that is a host level tag? https://www.zabbix.com/documentation...g-by-host-tags

    Comment

    Working...