[ZBX-1753] Sound notification on Triggers is sent to all users online, also to those who doesn't have any permission to host group Created: 2010 Jan 14  Updated: 2017 May 30  Resolved: 2010 Mar 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.0 (alpha)
Fix Version/s: 1.8.2

Type: Incident report Priority: Major
Reporter: Peteris Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: Centos 5.4, PHP: 5.1.6, MySQL: 5.0.77


Issue Links:
Duplicate
is duplicated by ZBX-1997 Sound alerts sounds also for user who... Closed

 Description   

When you have different users, with different permissions for example Windows and Linux administrators. Right management: Linux administrators sees only info about Linux servers, items, triggers etc. and Windows administrators only about Windows servers, items, triggers etc. Both admin groups use Sound notifications (Monitoring - Triggers (Sound ON)) and both recieve sound notification in event when trigger goes on/off, even if they don't have a permission for it (no permission at all).

Admins group that doesn't have a permission only hears alarm setting off, but doesn't see issue (trigger). For them there is no information in Monitoring - Triggers about active triggers, but they still hear a sound.

For example if Triggers sets off on Windows server, Linux admin will be notified by sound, but he wouldn't be able to see event which caused alarm to go off. Windows admins will receive both - sound and information (in gui) about trigger.

This bug makes sound notification function worthless.



 Comments   
Comment by richlv [ 2010 Jan 15 ]

can't confirm neither with zabbix admin, nor zabbix user.
what is the simplest setup where you can reproduce this ?

Comment by Peteris [ 2010 Jan 15 ]

Simplest way probably would be:

Creating 2 users, user type for both Zabbix Admin
Adding one user to "Windows administrator" user group, other to "Linux administrator" user group.

"Windows administrators" has Read-Write permission for "Windows servers" host group and has no other permissions;
"Linux administrators" has Read-Write permissions for "Linux servers" host group and has no other permissions;

When trigger goes off on Linux server - Linux administrator would recieve a Sound notification and Event information (Monitoring-Triggers), but Windows server administrator would recieve Sound notification despite of fact that Windows servers are OK and no Event information.

Comment by richlv [ 2010 Mar 23 ]

confirming the fix in dev branch, rev 11043.

Comment by Artem Suharev (Inactive) [ 2010 Mar 31 ]

Implemented

Comment by Peteris [ 2010 Apr 01 ]

Tested today on 1.8.2 - Problem still exists.

Administrators that doesn't have a right on all servers - receives sound notifications about all Triggers. No visual information only sound notification.

Comment by richlv [ 2010 Apr 01 ]

yes, the fix was merged after 1.8.2 release - you'd have to try svn head to test it

Generated at Fri Mar 29 08:21:11 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.