Zabbix API key in global level

Опубликовано: 31 Октябрь 2024
на канале: Aigars Kadikis
2,022
9

A lot of solutions out there are using Zabbix API to accomplish a specific task.

In a lot of times, the session is not closed with API 'user.logout' procedure. In the long term, this will always result in slowness inside the frontend.

I offer to not use a repeated authorization at all but use a static session-id (a Zabbix macro) instead for all the API calls/scripts.

Here is the template to maintain the session id (macro):
https://share.zabbix.com/zabbix-tools...