[ZBXNEXT-1414] Adjust Item interval based on Trigger State Created: 2012 Sep 08 Updated: 2023 Nov 02 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | 2.0.3 |
Fix Version/s: | None |
Type: | New Feature Request | Priority: | Major |
Reporter: | Florian Koch | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 51 |
Labels: | interval, items, scheduling | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Hi, i like to have support for the following feature in zabbix: adjust the check interval of the item which causes the Trigger to go into PROBLEM state and restore orginal vaue if Trigger go into OK state back e.g a item checks in 300s interval if a service is running and a trigger reports this , adjust this time to e.g 60s if the trigger go into PROLEM state, so if the service is only 1 minute down, thetrigger OK is send after 1 or 2 minuten not 5 minutes so the "Downtime" zabbix reports is 1 or 2 min not 5. Yes the check interval can be set to 1 min, but on big installations, you need carefully set the check intervals. regards Florian |
Comments |
Comment by Ahmad Khayyat [ 2012 Dec 27 ] |
It may be useful to consult with how OpenNMS implements this feature, which it calls "Downtime Models": http://www.opennms.org/wiki/Polling_Configuration_How-To#Downtime_Models The incentive is to report more accurate SLA:
...
|
Comment by Luca [ 2015 May 11 ] |
The "Downtime Models" by OpenNMS is good exaple. The other options is to use the "action" function yet present in zabbix by execute a shell action that change the item. |
Comment by Corey Shaw [ 2015 May 11 ] |
One major issue with using the API to alert the item's update interval is the caching that goes on. For instance, the configuration syncer runs every 1 minute by default on a Zabbix server. If I modify the item interval in the method mentioned by Luca, then I will up to a one minute timeframe before that change goes into effect. This doesn't sound so bad in a very basic default install, but it becomes much worse as you add in proxies and refresh intervals for active items. For instance, in my Zabbix environment my server updates its config cache every 10 minutes, my proxies update their cache every 10 minutes, and my agents update their active checks every 10 minutes. So in the situation given above, I would have to wait up to 10+10+10 minutes (30 of course |
Comment by Bjarne Offenberg [ 2015 Aug 27 ] |
I see that this feature request is already 3 years old, but has not yet been implemented. I see that web-monitoring has implemented retries. Can the same technique that is used for web_monitoring be used for simple checks? |
Comment by Luca [ 2015 Aug 27 ] |
Quote for a re-check interval feauture. |
Comment by Alex Hart [ 2016 Jun 27 ] |
Nagios also has this (retry_check_interval) details: http://serverfault.com/questions/329125/nagios-check-service-frequency-based-on-service-status |
Comment by Horacio [ 2016 Oct 19 ] |
Related |
Comment by Jake Hill [ 2017 May 04 ] |
Very interested in this feature. Would dramatically improve the quality of our open alerts both inside of zabbix and when brokered to services like PagerDuty. +1 |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Jun 19 ] |
Once we have |
Comment by richlv [ 2017 Sep 15 ] |
a hack using the api has been described at http://www.zabbixbook.com/2016/10/24/using-the-zabbixtiny-to-change-an-item-interval-based-on-a-trigger/ |
Comment by Alexei Vladishev [ 2019 Mar 21 ] |
I believe that it is quite good use case for throttling functionality, which was introduced in 4.2. |
Comment by Mickael Martin [ 2022 May 03 ] |
Hello, Any update ? |
Comment by LivreAcesso.Pro [ 2023 Nov 02 ] |
See ZBXNEXT-8609 |