M
M
malder82122020-09-23 17:05:52
API
malder8212, 2020-09-23 17:05:52

How to give part of items through Zabbix API?

Good afternoon.
There is a task to provide limited access to the Zabbix server through the API to certain hosts.
The problem is that the server, upon request of the item.get, trigger.get methods, returns all the items and triggers of these hosts, and I would like to return only the required items and triggers. It is clear that the user can filter this JSON request himself, but it seems to me that this is not flexible from a security point of view.
Access restriction on the server is set to a group of users, where you can give read, write / read access to groups of nodes (in this case, all items of network nodes are given), as well as filtering by tags that can be hung on triggers, but in this case I don’t I get nothing, empty list[]. Has anyone implemented something like this? I will be glad to any advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kisaa, 2020-09-24
@kisaa

It only comes to mind to write your own service layer, which will receive the entire data set from Zabbix and give the user only what he is supposed to know.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question