[ZBX-21080] Grey icon on ZBX passive icon, when Active checks are enabled Created: 2022 May 19 Updated: 2025 Mar 27 |
|
| Status: | Postponed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Frontend (F) |
| Affects Version/s: | 6.2.0beta2 |
| Fix Version/s: | None |
| Type: | Incident report | Priority: | Trivial |
| Reporter: | Brian van Baekel | Assignee: | Zabbix Development Team |
| Resolution: | Unresolved | Votes: | 19 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
| Comments |
| Comment by Alex Kalimulin [ 2022 Jun 20 ] |
|
Not to argue whether the current consolidated status calculation is right or wrong, but it's the same principle as with other interfaces:
Also,
This is likely to be included in 6.4.
|
| Comment by Marco Hofmann [ 2022 Jun 20 ] |
|
Which means for the lifecycle of 6.2, all hosts that rely on Zabbix agent active + any kind of simple check, will always be grey. |
| Comment by Moonshine [ 2022 Jul 14 ] |
|
I'm brand new to Zabbix, so I'm not sure if this is related, but it seems similar – and confusing. Basically with my 6.2 server and a 6.2 agent connected with purely active checks, I do see a green ZBX agent icon that persists as long as the heartbeats come in time. Which is good. However, if I change that host to connect through a 6.2 proxy (active connection to server with TLS/PSK), the host initially starts out with a green ZBX agent icon but then it turns grey and "unavailable" after maybe 5 mins or so. However the active checks are still happening, data is coming in, and I can see the host agent logging heartbeats being sent every minute. Also if I look in the "Latest Data" for the host I even see "Active Agent Availability" is 1 which is available ?
Am I wrong to assume that active heartbeats should pass through the proxy? or does the proxy act as another "interface" of sorts, causing the status to go grey like this issue?
|
| Comment by Denis Kot [ 2023 Jan 31 ] |
|
I don't if it's related, but I have other way around. The interface is green, but 'Active checks' is 'Uknown' which leads to a gray ZBX icon. Zabbix version is 6.2.6
|
| Comment by Gustavo Guido [ 2024 May 17 ] |
|
I think the Active cheks should have another icon, is somethign generic, not specific for an interface, and may be more than one icon to show which kind of active checks are running |
| Comment by David MICHEL [ 2025 Mar 26 ] |
|
Still the case in 7.x version |
| Comment by Mickael Martin [ 2025 Mar 27 ] |
|
Maybe not so difficult, might be just add a condition with types in function getEnabledItemsCountByInterfaceIds : +++ /usr/share/zabbix/ui/include/items.inc.php 2025-03-27 09:57:39.801914355 +0100 --- /usr/share/zabbix/ui/include/items.inc.php.bak 2025-03-26 17:44:58.767078401 +0100 @@ -2440,7 +2440,8 @@ 'countOutput' => true, 'groupCount' => true, 'interfaceids' => $interfaceids, + 'filter' => ['type' => [ITEM_TYPE_ZABBIX,ITEM_TYPE_ZABBIX_ACTIVE] ,'status' => ITEM_STATUS_ACTIVE] - 'filter' => ['status' => ITEM_STATUS_ACTIVE] ]); return $items_count ? array_column($items_count, 'rowscount', 'interfaceid') : []; } Please zabbix.dev , can you lookup that for 7.4 ? PR submitted https://github.com/zabbix/zabbix/pull/145 |