D
D
Daniel2022-03-24 15:28:21
Zabbix
Daniel, 2022-03-24 15:28:21

Zabbix - Web Script - is it possible to override web script update interval?

Hello, I set up a web scenario and a trigger for it to check the "web interface failure" of the device by Download speed for scenario "scenario name", that is, if the page load speed is less than the value I specified, then the trigger gives a Problem, the update interval indicated 24 hours , BUT, I would like that after the trigger is triggered, the update interval for this device changes, say, every 10 minutes, and after fixing the problem, it returns to the 24 hours I set, is it possible to carry out this procedure?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Grishin, 2022-03-24
@vesper-bot

Zabbix still does not know how to change the polling interval for agents based on the trigger https://support.zabbix.com/browse/ZBXNEXT-1414 . Technically, if you allow the trigger reaction script to change values ​​in zabbix, you can try to send it API requests to change the settings of a particular item, but in this case you need to think very hard about security - zabbix does not allow you to assign rights to only one item, at least to the host (a host group or a tag filter, the second one can filter one host, the first one is also possible, but less convenient), as a result, the leaked credits will allow you to at least simply cut off monitoring on this host, and at the most capture it through, say, remote commands. Therefore, I would not recommend this approach.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question