Closed Lurch440 closed 5 years ago
Seems that your user have empty name/surname in Zabbix. You could set this as workaround and the warning will disappear. But you are right the wallboard should check this also and display the username instead.
That's the weird thing. Names are given for each user.
... but even when I am signed into Wallboard as myself, and there are no error message, the comment still doesn't show my name.
I tested it with Zabbix 4.0.5 again and I am unable to reproduce it. Name is always displayed if set on user in Zabbix. If not then the PHP warnings occur. So I could fix the PHP warnings but I have no idea why the names are missing in your setup.
Which Zabbix auth backend do you use? intern, ldap or http? Is the user information for acknowlegement in Zabbix frontend correctly shown?
Maybe you could add a debug output to classes/Wallboard.php - Line 269
var_dump($EVENT);
foreach ($EVENT[0]["acknowledges"] as $ACKED_MSG) {
You will see the raw data in acknowledge details overlay. There should no sensitive data - please copy the text.
Ahhh... am using LDAP. So, it’s probably looking not looking for givenName or SN.
I’ll make a local user a test with that.
Log to follow when i get to the office.
Cheers,
Alex
[cid:part1.A23C47F4.E631EAC3@metcalfe.fi]+358 (0)404 160 190<tel:+358%20404%20160%20190>
[cid:part2.3968616F.1ACEA6E7@metcalfe.fi]https://telegram.me/aksu358
[cid:part4.A94BCD95.50FA5DBA@metcalfe.fi] alexmetcalfe.blogsite.orghttp://alexmetcalfe.blogsite.org/
[cid:part6.1518F622.CDDF0E56@metcalfe.fi]aksu358callto://aksu358
On 28 Mar 2019, at 23.09, Firewire2002 notifications@github.com<mailto:notifications@github.com> wrote:
I tested it with Zabbix 4.0.5 again and I am unable to reproduce it. Name is always displayed if set on user in Zabbix. If not then the PHP warnings occur. So I could fix the PHP warnings but I have no idea why the names are missing in your setup.
Which Zabbix auth backend do you use? intern, ldap or http? Is the user information for acknowlegement in Zabbix frontend correctly shown?
Maybe you could add a debug output to classes/Wallboard.php - Line 269
var_dump($EVENT);
foreach ($EVENT[0]["acknowledges"] as $ACKED_MSG) {
You will see the raw data in acknowledge details overlay. There should no sensitive data - please copy the text.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/zbxwallboard/ZbxWallboard/issues/4#issuecomment-477772050, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK0AUxADSAi9-ArcphoodrWtL4QjMrICks5vbS-XgaJpZM4cNoL5.
It's not related to auth backend. It's easier: The user which is used for wallboard is not allowed to read user information. "Zabbix User" and "Zabbix Admin" could only see their own user details but not of other users. Only "Zabbix SuperAdmin" is allowed to read it.
So I could only display what I get from Zabbix API. ;)
It's the same in Zabbix frontend:
Fixed in a8ddeb6c857dbccc38c3c8db67655e1b61083ec5 and Release v2019-03-29
Hi,
This kind of error. Other it works just fine.
Zabbix version 4.0 The user for Wallboard is in the guest group. Guest are able to view just a few host groups.
When I login (top-right) of the Wallboard, I am able to add acknowledges, and there are no error message.