[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: PNG File Screenshot 2022-05-19 at 11.13.54.png     PNG File Screenshot 2022-05-19 at 11.14.06.png     PNG File Screenshot 2022-05-19 at 11.14.57.png     PNG File Screenshot 2022-06-20 at 14.12.38.png     PNG File Screenshot 2022-06-20 at 14.14.19.png     PNG File image-2023-01-31-09-59-00-521.png     PNG File proxy-zbx-latest-data.png     PNG File zbx-unavailable-proxy.png    
Issue Links:
Causes
caused by ZBXNEXT-5088 Set Agent icon color to green on gett... Closed

 Description   

Create a new host. No interfaces on this host.
Add a Zabbix agent(active) item, with key agent.ping (doesn't matter).
Make sure the active agent works and heartbeats are sent to the server.

Observation: Green ZBX icon, as expected.

Now, add an new item of type 'Simple checks' and come to the conclusion an interface is needed. So, add a new agent interface, and configure the simple check item(icmpping or whatever).

Observation: Grey ZBX icon

This is incorrect, as the passive agent interface is not regarding passive checks, but just a placeholder for simple checks...

Expected:
green icon as we don't have passive items that should be checked by agent.



 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,

just a placeholder for simple checks

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

Generated at Fri May 08 18:19:47 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.