Subject: |
RE: Zenoss 6 Core notifications |
Author: |
Jane Curry |
Posted: |
2018-11-21 12:08 |
So.......
This turned out to be caused by a known bug - see
https://jira.zenoss.com/browse/ZEN-29891 .
The executeBatch in the class EmailAction in /opt/zenoss/Products/ZenModel/actions.py determines what emails to send based on user email and their timezone. If users are in a separate timezone then they get a separate email.
Inspecting ADVANCED -> Users and the detail for a user, there is a bug. The GUI shows a time zone populated but if you check with zendmd then user.timezone is blank for some users (and the executeBatch code obviously checks the dmd). One solution is, in the GUI, is to actively set the user's timezone and then check with zendmd using:
In [4]: for user in dmd.ZenUsers.getAllUserSettings():
...: print user.email, user.timezone
The JIRA ticket also has some code to check and set a user's timezone.
Once timezone is consistent, you get the correct emails.
This problem has been around for some time and is still in Zenoss Core 6.2.1. The JIRA ticket has gone nowhere since April 2018 so if it is affecting anyone else, I suggest you append to the ticket.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------