[ZBXNEXT-894] Notifications after maintenance period expires Created: 2011 Aug 18 Updated: 2017 May 31 Resolved: 2012 Aug 30 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Minor |
Reporter: | Pavel Timofeev | Assignee: | Alexei Vladishev |
Resolution: | Won't fix | Votes: | 4 |
Labels: | actions, maintenance | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 1.8.5 |
Issue Links: |
|
Description |
Hello! If the trigger state is changed during the maintenance period Zabbix sends me notification about it after maintenance period expires. It's good feature when the trigger is still in PROBLEM state. Example: Someone wants to know that our trigger switched during maint period, but someone do not want. May be we need a checkbox to control this feature? |
Comments |
Comment by Pavel Timofeev [ 2011 Aug 21 ] |
zabbix 1.8.6 is affected too. |
Comment by Pavel Timofeev [ 2011 Aug 25 ] |
Please, fix it before zabbix-1.8.7 release |
Comment by richlv [ 2011 Aug 25 ] |
it's currently not scheduled for 1.8.7 |
Comment by Pavel Timofeev [ 2011 Aug 25 ] |
it's very painful bug. |
Comment by Pavel Timofeev [ 2011 Aug 25 ] |
For example, Nagios and Zenoss doesn't do such notifications. |
Comment by Pavel Timofeev [ 2011 Aug 31 ] |
/******************************************************************************
|
Comment by Pavel Timofeev [ 2011 Aug 31 ] |
Folks, this is really stupid and obvious bug! Here is the one line patch.
/* Preparing event for processing */ Is it right? |
Comment by Pavel Timofeev [ 2011 Sep 05 ] |
Just confirm the bug at least |
Comment by richlv [ 2011 Sep 05 ] |
it can't be confirmed until properly tested |
Comment by richlv [ 2011 Sep 05 ] |
ok, so thanks to explanation from server dev sasha, the problem in this case - it works as designed personally, i agree that in majority of cases that's not needed, though. so there should be some way to configure whether flap during the maintenance should be alerted upon or not. whether it's a maintenance level option, action condition or something else, that's to be researched and decided. |
Comment by Pavel Timofeev [ 2011 Sep 05 ] |
> ok, so thanks to explanation from server dev sasha, the problem in this case - it works as designed sorry, what did you mean? I didn't understand. >it's not a bug. initial requirements specifically asked for an ok event to be generated if a trigger flapped in the maintenance to ensure that this happening is not missed. Yea, there is no monitoring system which behave this way. This feature useless in 99%. >so there should be some way to configure whether flap during the maintenance should be alerted upon or not. whether it's a maintenance level option, action condition or something else, that's to be researched and decided. My boss looked at me like %) and laughed when I told him about this bug/feature. P.S. Sorry for my english.It's difficult to explane somethig. |
Comment by richlv [ 2011 Sep 09 ] |
turns out, it's the comment that is wrong. please note that i fully agree that majority of users wouldn't want to receive such notifications, but that's the original specification... so the solution might be to introduce some way to control this behaviour. |
Comment by richlv [ 2011 Sep 09 ] |
ok, here's a workaround idea from alexei. add "trigger value=problem" condition and enable recovery message. should help you to get rid of that unwanted ok message |
Comment by Pavel Timofeev [ 2011 Oct 07 ] |
Thank you! |
Comment by Pavel Timofeev [ 2012 Apr 26 ] |
I hope this will be resolved in 2.0 |
Comment by richlv [ 2012 Apr 27 ] |
given that 2.0 always enables escalations and adds "trigger value=problem" condition by default, this might just get "fixed" that way... |
Comment by Raymond Kuiper [ 2012 Aug 30 ] |
Shouldn't this be closed? Using the 'Trigger value=PROBLEM' solution seems to work and it is included by default in ZBX2.0 now. |
Comment by richlv [ 2012 Aug 30 ] |
sounds reasonable, closing |
Comment by richlv [ 2012 Dec 28 ] |
comment was fixed in r32354 for 2.0 and in r32355 for trunk |
Comment by Pavel Timofeev [ 2013 Jan 17 ] |
So, is it going to be changed? |
Comment by richlv [ 2013 Jan 17 ] |
since 2.0 actions are enabled always, thus actions without "trigger value=problem" would probably result in really strange and unexpected behaviour. i don't think anybody will have such actions, so this solution seems sufficient. |
Comment by Pavel Timofeev [ 2013 Jan 17 ] |
I don't know whether I understand you. Sorry! And this way is less labour-intensive than your way. You don't need to fill recovery message) |
Comment by richlv [ 2013 Jan 17 ] |
that's why i said "since 2.0", you use 1.8 |
Comment by Pavel Timofeev [ 2013 Jan 17 ] |
So, you want to say that doesn't work for 2.0? =) |
Comment by Pavel Timofeev [ 2013 Jan 17 ] |
Really, I want to descuss. Maybe forum is better place? |
Comment by Pavel Timofeev [ 2013 Jan 17 ] |
Your explanation leads to idea that 'Trigger value' condition doesn't make sense. Like there is no need for such condition at all. |
Comment by richlv [ 2013 Jan 18 ] |
it indeed changed in 2.0. feel free to discuss it on irc, but note the usual irc rules |
Comment by Pavel Timofeev [ 2013 Jan 28 ] |
Richlv, after closing this ticket it got worse on 2.0 version =( |
Comment by Pavel Timofeev [ 2013 Feb 05 ] |
I'd like to discuss https://www.zabbix.com/forum/showthread.php?t=38875 |
Comment by richlv [ 2016 Apr 15 ] |
|