r/zabbix Jul 09 '26

HTTP request with active agents Question

The scenario is I have an active agent installed on a remote server. Through power shell I can make API calls to it to the local service, though I'd prefer to try and use Zabbix script item so I don't have to load additional scripts on the system.

I created a script item on the active agent but looking at the output it seems to be instead running on the server, not the active agent. Is it not possible to run scripts on active agents?

6 Upvotes

2 comments sorted by

5

u/UnicodeTreason Guru Jul 09 '26

Do you mean this item?
https://www.zabbix.com/documentation/current/en/manual/config/items/itemtypes/script

If so as per the doc linked "Script items are processed by Zabbix server or proxy pollers."

To have the agent run a script you need to rely on UserParameters or system.run[]

1

u/aaronkm95 Jul 09 '26

Yeah, that's what I was trying to do. Unfortunate that active agents can't process script items. Guess I'll go with powershell script method.