[ZBXNEXT-1744] Hosts in maintenance mode should not trigger front-end notification sounds Created: 2013 May 15  Updated: 2019 Feb 27

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.0.4
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Robbert Brummel Assignee: Unassigned
Resolution: Unresolved Votes: 13
Labels: guimessages, maintenance, sounds
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-3692 Alerting GUI and alarms does not hono... Closed

 Description   

When a host is placed in maintenance mode (with data gathering) and one of the triggers fires, the actions get blocked fine, however the front-end sounds are still played everytime the trigger fires.

example: We monitor some internet lines, and sometimes there is a problem on one of the lines. We send an engineer to the location and place the host in maintenance mode. While the engineer is working, we would like to get data from the host, to be able to support the engineer on location with our findings. While this host is in a maintenance period, the actions don't fire (which is good) but the front-end sounds still play. This is unwanted behavior, because we are aware that this host is being worked on. My co-workers however need to monitor the other hosts (which are not in maintenance mode). And every time a sound plays, they have to check their monitoring screens. The danger here in is that the sounds play too often, not alerting them, because we know a host is being worked on.

It would be a welcome feature to be able to disable front-end sounds for hosts in maintenance mode.



 Comments   
Comment by Oleksii Zagorskyi [ 2013 May 17 ]

Did you mean sounds only or visual notifications as well ?
https://www.zabbix.com/documentation/2.0/manual/web_interface/user_profile/global_notifications

Comment by Robbert Brummel [ 2013 May 23 ]

I know you can enable/disable the notifications per user.

This is not what I'm looking for however. The point is, everyone on the helpdesk has the dashboard page open, so they get notified when something happens with a host.
We have some hosts that are in maintenance mode (because an engineer is working on it for example), with data gathering. This is crucial, because we want to know about problems while the engineer is working.
We do not want to get notified by sounds if something happens on one of these hosts. So we are just looking for a way to just disable the sounds on hosts that are in maintenance mode.

Comment by Robbert Brummel [ 2014 Mar 25 ]

Just a small bump.

This "problem" still exists and it would still be greatly appreciated if we could enable/disable if we want to receive sounds when hosts in maintenance mode get triggered.

Comment by Guntis Liepins [ 2014 Aug 27 ]

In larger environments this issue is quite important, because disaster/high sounds and notifications pop up too frequently. User have a hard choice - use sound and get a terrifying beep every 20 minutes ( in perfectly fine system) or turn the sound off at all.

Comment by Ronald Laarman [ 2015 Feb 02 ]

Bump

It would be great to have the ability to disabled sound and popup notification for systems that are in maintenance. One of my clients is running Zabbix with a central monitor to display the latest triggers. With monthly updates the admins get a beep every time a server is restarted. The triggers should fire as normal, only sound and popup should be disabled.

Comment by Mickael Martin (Cyres) [ 2017 May 17 ]

A small patch on zabbix 2.4 :
diff jsrpc.php jsrpc.php.nopatch
123,124d122
<
< if ($host['maintenance_status'] == 1)

{ $sound='no_sound.wav';}

diff ./include/events.inc.php ./include/events.inc.php.nopatch
391c391
< 'selectHosts' => array('hostid', 'name','maintenance_status'),

> 'selectHosts' => array('hostid', 'name'),

Maybe, we make better but I have not time to optimize it.

Comment by Mickael Martin (Cyres) [ 2017 Sep 04 ]

work again on Zabbix 3.2 but line 679 in ./include/events.inc.php

Comment by Mickael Martin (Cyres) [ 2018 Jan 25 ]

Work again on Zabbix 3.4.

Generated at Fri Apr 19 02:30:52 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.