[ZBXNEXT-5088] Set Agent icon color to green on getting "active" data Created: 2019 Mar 04 Updated: 2024 Apr 10 Resolved: 2022 Jul 11 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 6.2.0rc1, 6.2 (plan) |
Type: | Change Request | Priority: | Trivial |
Reporter: | dimir | Assignee: | Antons Sincovs |
Resolution: | Fixed | Votes: | 117 |
Labels: | activeagent, availability, icon | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||||||
Sprint: | Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022), Sprint 89 (Jun 2022) | ||||||||||||||||||||||||||||
Story Points: | 6 |
Description |
The idea came from For an active agent a parameter (e. g. HeartbeatInterval) could be introduced making it constantly ping proxy/server. Upd: as proposed by richlv below, the availability of Passive and Active agent could be visualized separately. |
Comments |
Comment by richlv [ 2019 Mar 17 ] | ||||||||
Preferably, availability of active/passive mode would be visualised separately. | ||||||||
Comment by dimir [ 2019 Mar 17 ] | ||||||||
Great idea! | ||||||||
Comment by Kirill Varnakov [ 2019 Oct 10 ] | ||||||||
It will be great, if Host's API property 'available' will be work for active agents. And I can get information about all working agents through the API. | ||||||||
Comment by Gary Herbstman [ 2019 Dec 18 ] | ||||||||
As we use mostly active agents that are behind firewalls, this would be a welcome addition. | ||||||||
Comment by Andrey [ 2020 Feb 14 ] | ||||||||
Also, the "unknown" status is set for a host that does not have a zabbix agent installed and a template with trappers only is connected to it. This is inconvenient because in fact, everything is in order with the host and it sends the correct data, and all the accessibility icons are gray and this host is in the status "unknown" | ||||||||
Comment by dimir [ 2020 Feb 14 ] | ||||||||
Since we don't currently have indicator for trapper items this would require introducing a new one. But since current indicators relate to a certain type of agent, I guess a "trapper icon" wouldn't fit well in there. Looks like a separate feature request anyway. | ||||||||
Comment by Denis Medeiros [ 2020 May 30 ] | ||||||||
This would be great in fact. In my case I have the following scenario:
When I access the Zabbix frontend in the cloud, I can see that data has been received but cannot see the availability of our hosts. Zabbix could show active check agents as available as long as data is being received from the proxy in some time window. | ||||||||
Comment by Marco Marinello [ 2020 Jun 09 ] | ||||||||
Yes, please, agreed, totally +1 | ||||||||
Comment by Kevin Pentason [ 2020 Jul 07 ] | ||||||||
Voted +1. This would be great feature for active check | ||||||||
Comment by Filipe Paternot [ 2020 Jul 11 ] | ||||||||
I like this idea, but setting up for active agent only seems pretty incomplete. We have ~20 different protocols to choose from and only showing 4 of them is far from ideal. If you setup a host with ping/active agent/http/snmp trap/odbc/jmx, you have no idea whether its working or not by looking at that current display. On the other hand, dynamically showing all protocols tends to be slow/messy on bigger environments. | ||||||||
Comment by erore erore [ 2020 Jul 28 ] | ||||||||
Can someone explain the logic behind the current behaviour? I don't think the situation is any different between active and passive, in both cases: exists valid communication within time limit = host available, I really do not see why an how active communication should be treated differently? The supposed (by me) argument that server has to wait for the communication from agent has not solid ground since the amount of time needed to wait is well determined just as is for passive checks. And frankly, does one failed passive check necessarily mean that the host is not available or that its state is unknown? This really needs to be fixed, otherwise active checking is pretty useless (unknown state means a problem...) | ||||||||
Comment by Glebs Ivanovskis [ 2020 Jul 28 ] | ||||||||
I can. Active agent does not have a heartbeat message which could be used to determine if it's working properly. Zabbix server does not know interval at which active agent is supposed to request list of configured checks, because this setting is in agent's configuration file. It is perfectly fine to have no active checks with a set interval in host's configuration, e.g. active agent can be used solely for log monitoring. And if your log monitoring loos for pretty rare events, active agent can have no reason to communicate with server for very long periods of time. | ||||||||
Comment by erore erore [ 2020 Jul 29 ] | ||||||||
This makes sense but, according to the manual, App-5-3: The servers to get the active checks from are listed in the 'ServerActive' parameter of the agent configuration file. The frequency of asking for these checks is set by the 'RefreshActiveChecks' parameter in the same configuration file. However, if refreshing active checks fails, it is retried after hardcoded 60 seconds. And by App-3, the option RefreshActiveChecks is between 60 seconds and 1 hour. So at minimum every hour, you have a heart beat, even if you are doing as you suggested, there will be a communication. That is provided I read the manual correctly. | ||||||||
Comment by dimir [ 2020 Jul 29 ] | ||||||||
And that's what is asked here. Use existing message exchange to detect active agent availability. Currently this is not implemented. | ||||||||
Comment by Markus [ 2021 Jan 12 ] | ||||||||
Vote +1 We need it for our Industrial IoT components , there is only ICMP availebil! Our tec's have no idea what "Unknown" means for a host. I think also customers have no idea or can't remember how many unknown hosts there was last week. Solution may be a Host Interface type "Host" or "ICMP only" with check on one or better x IPs for Industrial components with a backup network. In Industrial environments are often no 3rd party agents allowed on systems, also a lot of customers do not want to use SNMP for security reasons or Automation controller geeting stuck when SNMP request are send... thats a bad firmware issue i know but thats a point why not to use SNMP. The Unknown state means to me there is a non configured device or a new discoverd host in my network.. and may be a security reason in the worst case. | ||||||||
Comment by Gavin Hill [ 2021 Feb 04 ] | ||||||||
+1 for IoT scenarios. To be able to query the host 'available. status via the API for ICMP ping would be a huge benefit rather than having to run a complex SQL query. We have over 5000 ICMP-only devices. | ||||||||
Comment by Oguz Bektas [ 2021 Mar 02 ] | ||||||||
also voted +1 there are a lot of setups where only active agents are used because of various reasons, such as potential security risk of allowing monitoring server to access hosts, or firewall setup not allowing inbound connections to agent host (such as agents located in customer sites). like others have previously mentioned the active checks can be used as a heartbeat for the agent availability status. this could be a server-side parameter to make it independent of agent configuration. maybe somewhere in the settings there can be a timeout parameter, then one could set f.e. 10 minutes for the timeout and if the active agent doesn't send any data within that time, the availability could turn " Not available" or "Unknown".
| ||||||||
Comment by dimir [ 2021 Mar 02 ] | ||||||||
Good points there! Let's hope this gets implemented at some point. | ||||||||
Comment by Nathan Liefting [ 2021 Mar 02 ] | ||||||||
Definitely a must have! | ||||||||
Comment by Dimitrij Tjunikov [ 2021 Mar 03 ] | ||||||||
Markus: "Solution may be a Host Interface type "Host" or "ICMP only" with check on one or better x IPs for Industrial components with a backup network." Yes, that is the best solution! | ||||||||
Comment by Gary Herbstman [ 2021 Mar 03 ] | ||||||||
This feature is for "Active Agents" ICMP does not apply. | ||||||||
Comment by Sunil Gupta [ 2021 Mar 13 ] | ||||||||
This is such an important feature that unless it is added I can't even use Zabbix to monitor my network. I have a lot of hosts behind firewalls and have to use the active agent to avoid changes to firewall. It seems to trivial to implement this given that the agent already phones home from time to time (I read some of the reasoning above but the agent could easily send a periodic heartbeat message even if there are no events to report). I wrote this functionality into Microwave radio agents and an NM system 20 years ago... it's not hard Please please please add this. Thank you. | ||||||||
Comment by Marco Hofmann [ 2021 Mar 15 ] | ||||||||
LCC IMHO We all shouldn't forget, that Zabbix is about seeing what's wrong, and not what's right. I see that this is an important missing feature. But not that important that I would understand the hype. I honestly don't believe this. Active and Passive Agents for rocking stable since 1.8/2.0 Zabbix era. Only missing point is the Green Indicator, but who is interested if 99 Switches are Green and one is red? Isn't the Red one the only one that should really bother you? | ||||||||
Comment by Gavin Hill [ 2021 Mar 15 ] | ||||||||
While "unless it is added I can'r even us Zabbix to monitor m network" may be a bit hyperbolic. You only focus on the red/green box. While a visual cue is important and should not be so easily dismissed, there is also the important aspect of the "online/offline/unknown" state which can quickly be visualised and queried via the API and other external integrations. | ||||||||
Comment by Sunil Gupta [ 2021 Mar 15 ] | ||||||||
Marco, Gavin, thank you for your comments. I understand your points. Yes, I was being a bit hyperbolic perhaps It's hard for me to understand the opposition to this. If there is a set of people that "don't care" if the active agents show green, and there is a set that do, AND the passive agent already shows green; then what's the problem with the active agent showing green? Not trying to bloviate or boast, but was lead designer of UIs for carrier-class wireless network management systems for almost 15 years. There were typically four states that we dealt with: error, warning and informational plus unknown or undefined. The later meant a network device had never checked in since creation and that was cause for alarm (or perhaps had not yet been physically configured in the field). If we had left "alive" radios showing "unknown" there would have been hell to pay from our customers! | ||||||||
Comment by Per Qvindesland [ 2021 Apr 13 ] | ||||||||
+1 for this, it's an important feature to have for both passive and active otherwise the hosts are reported as unknown, on a large scale setup this is a major issue. | ||||||||
Comment by Fernando Collado Permuy [ 2021 Jun 22 ] | ||||||||
Another +1 over here, it would be wonderful to have this feature on Zbx 6 | ||||||||
Comment by Arda Beyazoglu [ 2021 Aug 21 ] | ||||||||
+1 to have a better picture of all agents that are active. | ||||||||
Comment by Arkady Rosenberg [ 2021 Aug 24 ] | ||||||||
+1 it is a very confusing scenario, with grayed out availability | ||||||||
Comment by Pawel [ 2021 Aug 25 ] | ||||||||
+1 for this feature | ||||||||
Comment by Amir Al [ 2021 Sep 07 ] | ||||||||
+1 I wonder what the logic was for this. I have to add zabbix passive calls just to get the little green light. | ||||||||
Comment by Roberto Sitzia [ 2021 Sep 11 ] | ||||||||
+1 Many other systems that are behind a firewall communicate with a central point of operations for a "CONNECTED" or "DISCONNECTED" state. | ||||||||
Comment by Luis Perez [ 2021 Oct 20 ] | ||||||||
+1 for this feature | ||||||||
Comment by Jonas Akrouh Larsen [ 2021 Nov 06 ] | ||||||||
I hope this is added soon, active checks are so much nicer from a security point of view. So it sucks you have to live with the missing part of the setup | ||||||||
Comment by Sunil Gupta [ 2021 Nov 06 ] | ||||||||
I think it is a lost cause... the developer seems to just ignore this request. In fact, I was reading elsewhere where the developer was arguing against it for some reason and being rude about it... I don't have the energy to look for it now. But, in the end, it's a real shame because this is the ONE SINGLE issue that prevents me from adopting this platform. | ||||||||
Comment by Dominik Zagól [ 2021 Nov 07 ] | ||||||||
Having this is critical for me. Im tired of explaining to my Nagios loving coworkers why hosts that have only active agent (in their nomenclature passive checks) are "not green". Having some kind of timeout counted from last communication from active agnet and/or trapper (zabbix_sender) would be great idea. Also being able to bind ICMP Ping response to this status would be great (much less stress on my end when talking to Nagios guys). We have ton of things that we only monitor with ping that stay "not green" in dashbords. | ||||||||
Comment by André Schild [ 2021 Nov 08 ] | ||||||||
We would also like to see this implemented. Would a pull request be accepted, which:
| ||||||||
Comment by Dimitri Bellini [ 2021 Nov 08 ] | ||||||||
Also for us this feature could be a nice to have, is not "show stopper" but is a great improvement on "user experience" of the monitoring people. As most you already says, is not easy to understand why "active agent" are not showed as a "green" icons like the passive... | ||||||||
Comment by Jonathan Woodard [ 2021 Dec 01 ] | ||||||||
I would echo the sentiments of everyone here that there should be a more accurate way to monitor this. While "unknown" is technically accurate that Zabbix cannot confirm 100% the status, it leaves an obvious glaring hole as many have described. However, I do like @aschild for proposing that we fix the problem ourselves with a pull request. I am not a good programmer, however, I can help try to resolve this and would be willing to test. Surely we can determine the process and create a suitable fix that everyone is happy with. | ||||||||
Comment by Andrey Tocko (Inactive) [ 2021 Dec 20 ] | ||||||||
People are often confused by ZBX and assumes that it represents both type checks. ZBA + ZBP instead of ZBX could help to differentiate | ||||||||
Comment by Sergey Simonenko (Inactive) [ 2021 Dec 20 ] | ||||||||
Don't like the idea of having "ZBA" and "ZBP" since this is even more confusing. Probably something like "Last seen: ..." column as for active proxies would be more user-friendly here for active agents? | ||||||||
Comment by Filipe Paternot [ 2021 Dec 27 ] | ||||||||
Guys, how about not having any icon for specific protocols? How about having an semaphore (green/yellow/red) to indicate all protocols used by that host are ok / some are not / none is working? One could then click on the host to see whats going on on yellow/red. We have some ~20 protocols, and having just a few icons is not complete, nor its helpful. | ||||||||
Comment by Peter Szabo [ 2022 Jan 02 ] | ||||||||
+1, please add a way to send host status without ZBX. Nowdays scenarios are very common when you are not allowed to install agent, not to speak of snmp / ipmi.
Maybe set host status as a variable from checks? Or add a plus interface "direct" ? Thank you for your hard work! | ||||||||
Comment by Jonathan Woodard [ 2022 Jan 17 ] | ||||||||
I am curious..... I notice this ticket is "unassigned" so does that mean that anyone at Zabbix is even looking at this? @Sergey Simonenko I am assuming by other tickets you work for Zabbix? If so, can you provide us with some options that we might be able to make this happen by v6? I am planning a rollout of Zabbix to my company and we will have over 200 machines ALL of which will be active agents. Zabbix will be a dashboard on a TV in our support center and right now, I'll have a Host Availability widget that will show the majority of my agents as "Not Available" and in the RED. Please try to understand my concerns, Zabbix is a monitoring software that we all love, however, monitoring is about accuracy as well as trying to tell the whole story. I have seen posts and videos from Zabbix Site and YouTube channel discussing how to re-write triggers to mitigate false positives and alerting when there is actually a problem. I feel like this falls in line with that as "Not Available" doesn't accurately doesn't tell the whole story. Some ideas to consider:
If I can help with this in anyway I would be happy to. If we could have confirmation an acceptable pull request could be submitted I'm sure someone here, if not me, could find a way to provide this. I would appreciate a reply please. Thank you for you time and consideration in this. We all appreciate the work put in to this project.
| ||||||||
Comment by Alex [ 2022 Jan 18 ] | ||||||||
The green agent availability icon requires at least one passive agent check - but you can have the rest configured as active checks. So In the meantime, Until zabbix addresses this massive visual flaw in their dashboards - What I've done to address this for my rollout was 1. Copy the Template OS Linux by Zabbix agent active 2. Unlink 'Template Module Zabbix agent active' 3. Link 'Template Module Zabbix agent' 4. Configure all Linux agents for both active and passive data flow 5. Assign this copied template to all Linux agents 99% of checks are active, save for the few agent checks contained within Template Module Zabbix agent. You can do the same, and create a dummy check if you'd like. | ||||||||
Comment by Dimitri Bellini [ 2022 Jan 18 ] | ||||||||
I would say "We need this feature implemented", after some months all of my customers seems "confused" on how Zabbix manage the availability of the "hosts". | ||||||||
Comment by patrik uytterhoeven [ 2022 Jan 18 ] | ||||||||
So if all your customers need this then im sure you can find one who wants to sponsor this feature
| ||||||||
Comment by André Schild [ 2022 Jan 18 ] | ||||||||
Once we know what amount of sponsoring money would be required we could probably gather it. But so far the responses from the Zabbix team are tending toward: Not needed, won't do it, also won't accept pull/merge requests which implement this | ||||||||
Comment by Peter Szabo [ 2022 Jan 18 ] | ||||||||
+1 to @aschild There is no sign of intent from Zabbix side to implement this even if the costs would be covered. I guess from the interest, if there would be a reasonable quote for implementing this feature in a given Zabbix version, and a corresponding bounty bucket on any of the popular crowdsourcing platforms, we could gather the money needed. Until that, we must accept that this is not how the software works, and use as-is, individually patching or working around our needs. My approach was to drop host availability cheks, measurements and reports from my config and focus on service availability instead. | ||||||||
Comment by Dimitri Bellini [ 2022 Jan 18 ] | ||||||||
+1 to @aschild & @peter I'm deal with both guys! but someone from Olympus maybe have look on our "case", please check the "NEW" Zabbix 6.2 roadmap See the screenshot ( Thanks Zabbix Guys!! | ||||||||
Comment by Jonathan Woodard [ 2022 Jan 18 ] | ||||||||
This is wonderful news and I cannot wait to see this included!!! Thank you to the developers for agreeing to the need in fixing this and to those on this post who kept the topic going! | ||||||||
Comment by rrr [ 2022 Feb 07 ] | ||||||||
@dimitri.bellini: Will this also fix ZBX-8942? | ||||||||
Comment by Jonathan Woodard [ 2022 Mar 07 ] | ||||||||
Sam Fisher, apparently in your haste to be aggressive, you failed to notice that this was being resolved in the next release and is also documented in the manual that this was the way it worked. I somewhat understand your frustration, however, being aggressive about it isn't usually the way to influence change. Personally, I've "wasted" many hours before on things that were my fault, dumb mistakes, or misunderstanding the way things work. It is an inevitability. | ||||||||
Comment by Peter Szabo [ 2022 Mar 07 ] | ||||||||
+1 to @jwoodard80 Zabbix LLC enables many of us to have a decent monitoring tool, free of charge. They invest in architecting, development, releasing, QA, training etc, it is a rather unpolite thing to make demands on top of that. | ||||||||
Comment by Sam Fisher [ 2022 Mar 07 ] | ||||||||
In retrospective I must agree with the both of you Jonathan Woodard and Peter Szabo. I guess my annoyance got the better of me, and I must apologize for that. Thus I have deleted the comment, as I don't want to anger anyone else due to my hasty statement.
Best regards, Sam | ||||||||
Comment by Jonathan Woodard [ 2022 Mar 07 ] | ||||||||
No worries, it happens to us all.... I can promise you I have felt just like you. I spent a very long time working with user/pass length on HTTP Agents before I figured out they were being truncated. | ||||||||
Comment by dimir [ 2022 Mar 11 ] | ||||||||
OK, here are some good news, this issue went into the planning stage and we're now in the stage of designing this functionality. It's moved forward, stay tuned for more updates! | ||||||||
Comment by dimir [ 2022 Mar 11 ] | ||||||||
Question from community raised: As I understand there will be no separate icon for Active agent? Would it be possible to share the general idea how this will work (perhaps also a mockup)? | ||||||||
Comment by rrr [ 2022 Mar 11 ] | ||||||||
Please make sure that the queue display is corrected at the same time. (ZBX-8942) | ||||||||
Comment by Filipe Paternot [ 2022 Mar 11 ] | ||||||||
Since we are planning how this will be developed, i'd think carefully how to show this info. I think zabbix agent and zabbix agent (active) should be two different icons, if set up this way. However, we have 20+ different protocols and setting just a few (the most common i suppose) is insuficient. What do you guys think regarding the protocol status display, at large? I personally believe we should not show static protocols, instead Zabbix should display all of the supported protocols for each host. This could get messy really fast, so display an aggregate status where we are listing hosts (monitoring -> hosts, config -> hosts, etc). All implemented protocols are good, display green. Some are not, yellow. All are not working, red. Show logs when hoovering the mouse, like we do today. And inside each host, display the full range of implemented protocols for that specific host, like we have today, but just with the protocols it uses (webscenario, odbc, zabbix agent, trapper, snmp, snmp traps, http agent, etc). This should have been revisited once we removed the need for an interface in each host. Its not mandatory. So why displaing is? | ||||||||
Comment by dimir [ 2022 Mar 13 ] | ||||||||
Since "active" and "passive" traffics are absolutely independent I'd agree that it makes more sense to visualize them separately. Otherwise if one of them stops working I see no way how to correctly display that. Would be also easier to track down configuration problems. | ||||||||
Comment by Marco Hofmann [ 2022 Mar 14 ] | ||||||||
So adding to my first thought, I strongly agree that Zabbix active and passive should be separate icons. I'm all the way Zabbix agent passive, but sometimes you just have to use Zabbix agent active, for the items that rely on it. And +1 for dimir: "Would be also easier to track down configuration problems." In the past, I had so many active agent issues, because the spelling in frontend and agent conf was not case sensitive in my config, that might've been of some help. | ||||||||
Comment by patrik uytterhoeven [ 2022 Mar 14 ] | ||||||||
| ||||||||
Comment by Guenther SOMMER [ 2022 Mar 14 ] | ||||||||
Just to add a real life example - had a system, was shown as green, BUT the agent config file was misconfigured and the serveractive setting was wrong. Almost all items were active, so no data was received, still shown as green. Took some time to recognize this issue because it looked green. Therefor the green indication was a bit useless. Thinking about the current display, I find that the ZBX / SNMP / ... indication in different protocols is not really useful, as anyhow I just want to see if the configured protocols work or not. So instead of cluttering the host display with 42
Perhaps additional with hoover on the icon it then shows, which protocols have which state.
| ||||||||
Comment by Dimitri Bellini [ 2022 Mar 15 ] | ||||||||
Good point @Guenther i think is not so bad suggestion! | ||||||||
Comment by Marco Hofmann [ 2022 Mar 15 ] | ||||||||
I disagree with Guenthers suggestions. (Maybe I understand it wrong? About what view are we talking?) | ||||||||
Comment by Guenther SOMMER [ 2022 Mar 15 ] | ||||||||
Marco, at least the ZBX has two - active and passive, which can work and fail independently. Also some hosts additionally with JMX, trappers or http. So while it is right for your system, it might not be for others. And IMHO for you nothing would change, as you still have one icon for your protocol you use. Just no ZBX, SNMP or on it ... | ||||||||
Comment by Marco Hofmann [ 2022 Mar 15 ] | ||||||||
Okay, thanks for explaining. I think I understand now. The difference seems to be, that I always create one host per protocol and rarely mix, but as you said, that might be just me. | ||||||||
Comment by Stefan Sonneveld [ 2022 Mar 15 ] | ||||||||
i am definitely for having separate icons at least for zabbix active and zabbix passive agent checks and hope the Host availability widget on the default dashboard will show active checked agents as available instead of unknown after this change.
| ||||||||
Comment by MAILLIET François-Hugues [ 2022 Mar 15 ] | ||||||||
I agree Stefan Sonneveld. The feedback channels are different in the architectural sense. It is absolutely necessary to distinguish these 2 elements.The availability check is only really possible with the passive agent, because the data is retrieved (pull). With the active agent, we must remember that we are collecting data and therefore the data comes to the proxy/server. In fact, there is not really a control of availability, but a control on the fact that the data is collected or not. That's very different and I think it's necessary to separate that. | ||||||||
Comment by Gavin Hill [ 2022 Mar 15 ] | ||||||||
There's a lot of healthy debate in this thread which is superb. I'd like to make sure we don't lose sight of one of the popular requests that is to change the icon (any icon) status based on a simple check, like icmp. So that we can query an interface status API and get an "up" or "down" instead of an "unknown" | ||||||||
Comment by Jonathan Woodard [ 2022 Mar 15 ] | ||||||||
I would agree with Gavin here... When I came to this ticket my problem was that 95% of my agents are installed active so this means that they all appear "unknown". My hope in this feature was to simply have something that if there is communication via an active check that the agent is marked available. Yes, this is MY use case and I do fully understand that I am a drop in a ocean of users. I also agree with Guenther regarding the hover. Even though I do not fully understand all of possibilities for the 42 icons, I do like the idea of showing an overview of the states. My sincere apologies for my ignorance, however, I am curious as to why we cannot have something as shown below. Obviously it is sized large. This could also have the hover option to show any various others and their state. (A)ctive (P)assive (S)NMP (I)pmi (J)mx with Green/Red designating the up/down respectively. The final icon could be for any other not in the main 5 offered by zabbix and shown as either (#) of interfaces or (O)ther. This could be red/yellow/green representing down/partial/up. Hovering over the entire section would show an overview as Guenther stated. This would limit the growth of icons and allow for the main interfaces that are offered. Have enjoyed the discussion.... Please disregard if my proposal has no merit.
| ||||||||
Comment by Alex Kalimulin [ 2022 Mar 17 ] | ||||||||
Please see the requirements document in the attachment: DEV-98868521-170322-1323-162.pdf (sorry, the formatting is a bit off in a pdf copy) | ||||||||
Comment by Marco Hofmann [ 2022 Mar 17 ] | ||||||||
Question: Let's say I have an environment, where most of my Zabbix agents are mixed active & passive. | ||||||||
Comment by Brian van Baekel [ 2022 Mar 17 ] | ||||||||
@starko: I think that is exactly how it should be; older agent, lacking of the newly introduced features... I would be extremely surprised if it works differently for this specific feature. | ||||||||
Comment by Filipe Paternot [ 2022 Mar 17 ] | ||||||||
Examples: 1. Active - Unknown, Passive - Available, Result icon - Gray (Unknown) 2. Active - Unavailable, Passive - Available, Result icon - Yellow (Mixed) I think this could be great, if not combining just agent avaiabilty icons, but all protocols into one. That's great. If mixing just agent protocols, and leaving few others on its side (JMX, SNMP, IPMI), and most of other protocols not even mentioned, this is a big mistake. Not only its not user friendly, its also not feature complete. | ||||||||
Comment by Alex Kalimulin [ 2022 Mar 18 ] | ||||||||
starko, yes, this is a correct interpretation. fpaternot, this task does not aim to redesign the way Zabbix shows availability in general. It addresses one specific point of confusion and it's about active agent availability. Consolidated status across all possible protocols is another endeavor and should be considered separately, imho. | ||||||||
Comment by Marco Hofmann [ 2022 Mar 18 ] | ||||||||
Kalimulin Thanks for the clarification! Then I have to note, that I strongly disagree with the current specification draft, and would like to propose a change. I believe it's unreasonable to combine the icons for active and passive. Can we please get some more voices from the community voters here, if you are pro or contra a combined ZBX agent icon? This is a huge change coming towards all of us. | ||||||||
Comment by Brian van Baekel [ 2022 Mar 18 ] | ||||||||
I don't really see the problem here, as you have to option to stay on 6.0(or older) and enjoy the current behaviour, or upgrade your environment to 6.2 to get the benefits of the new features. Thats IMO how it worked in the past, and should work. In the past the statement was always: Older agents are supported but new itemkeys, features and such are only available if you upgrade, especially in LTS releases. IMO the proposal should work and it might be better to have separated icons, that could cause extra confusion as well (or to say at least cluttering in the frontend). | ||||||||
Comment by patrik uytterhoeven [ 2022 Mar 18 ] | ||||||||
Agree with Brian here. Even with +3k hosts i dont see the issue of updating my agents. The icon is only an indication that the communication is working not that the items are working anyway. In passive even worse you can install a different server with an agent and the icon will turn green and your zabbix frontend will still show the old server. the 1 icon idea made me scared when i was reading it but if you think about it not so bad at all imho it would save space (i like minimal) and you would still see if something is wrong you just need to to dat extra effort of moving your mouse over it. no matter how its implemented i just hope that it gets implemented an indication that communication is working for active was long overdue. | ||||||||
Comment by Marco Hofmann [ 2022 Mar 18 ] | ||||||||
That's a very short sighted argument. Sorry, no offense! Of course I can stay on 6.0 LTS, but for how long? Zabbix 7.0 LTS is due in 12 months from now. That's nothing. Ps.: I'm still on 5.4.x because 6.0 was the same story all over. 50 nice new features, love it! But a few changes that just really hurt and at the moment I just don't know how I should continue with Zabbix: | ||||||||
Comment by Brian van Baekel [ 2022 Mar 18 ] | ||||||||
Well, of course we can agree to disagree - and no offence here, but your incapability of updating all agents should not be the reason to change the policy as it used to be for years... The combination of the icon is for me perfect - as we're still talking about the same protocol (zabbix agent), i don't really see a reason to separate it. Otherwise let me create tickets for separate icons for SNMP traps as well(and to prevent the discussion: yes, i have quite a few host that are sending every 30 seconds traps as heartbeat), cuz now the SNMP icon remains grey if there are only traps received on the interface. IMO consistency is key here: one icon per protocol, just like it is now. | ||||||||
Comment by Alexei Vladishev [ 2022 Apr 08 ] | ||||||||
We are very close to releasing this functionality in one of Zabbix 6.2 alpha releases. It is about to be ready! | ||||||||
Comment by Dmitrijs Goloscapovs [ 2022 May 09 ] | ||||||||
Implemented in:
Updated documentation (PR#182): | ||||||||
Comment by Dimitri Bellini [ 2022 May 10 ] | ||||||||
Hi DevTeam, 2022/05/10 13:52:19.431529 [101] active check configuration update from [127.0.0.1:10051] is working again 2022/05/10 13:52:20.431009 [101] connection closed 2022/05/10 13:52:20.431039 [101] sending of heartbeat message for [Zabbix server] started to fail I think is something related to this feature. | ||||||||
Comment by Dmitrijs Goloscapovs [ 2022 May 12 ] | ||||||||
Hello dimitri.bellini! Thanks for noticing. The issue is being worked on. | ||||||||
Comment by Dimitri Bellini [ 2022 May 12 ] | ||||||||
@Dmitrijs, | ||||||||
Comment by Dmitrijs Goloscapovs [ 2022 May 13 ] | ||||||||
dimitri.bellini, the issue was fixed, once again, thanks for noticing it. | ||||||||
Comment by Dimitri Bellini [ 2022 May 13 ] | ||||||||
@Dmitrijs nothing, I'm here to help | ||||||||
Comment by Alvaro Nieto [ 2022 May 18 ] | ||||||||
I don't know if I should raise a new issue, so I ask here since it's derivated from this one. Host Availability widget doesn't count the new ZBX green icon for active checks. It only does for the usual Zabbix Agent (Passive), SNMP, JMX, IPMI. It would be great to have another "interface type" in the widget that let us choose active checks:
I imagine people would rather have it separated than in the same category as Zabbix agent.
| ||||||||
Comment by Nathan Liefting [ 2022 May 18 ] | ||||||||
I do agree that seperate is a must for the widget, but an option to 'club' both types into one would be great as well! | ||||||||
Comment by Andris Zeila [ 2022 Jun 02 ] | ||||||||
Released
| ||||||||
Comment by mehmet [ 2022 Jun 10 ] | ||||||||
Just upgraded to 6.2.0rc1 and still is the active agent status unknown. Already got the latest zabbix agent running. | ||||||||
Comment by Edgar Akhmetshin [ 2022 Jun 16 ] | ||||||||
"Set Agent icon color to green on getting "active" data" Auto-registration add hosts with interface making main icon gray, this makes host status icon useless with all this logic, since you need to click mouse more to find if Active check is working or not. This is inconvenient logic to make Active check depended on the availability of passive checks to show status. Also status item doesn't show availability with such logic. | ||||||||
Comment by Alex Kalimulin [ 2022 Jun 17 ] | ||||||||
mehmozh, zabbix[host,agent,available] reports availability of the agent interface. There is no interface for active agent checks so you will not see active availability with this item. | ||||||||
Comment by Edgar Akhmetshin [ 2022 Jun 17 ] | ||||||||
But Host without passive interface reports Active agent with Green icon, so zabbix[host,agent,available] can rely on this if implemented. Auto registered host makes item Gray with working Active checks making Monitoring - Hosts, Configuration - Hosts less informative and forcing user to click-click-click mouse. For example you have 20 hosts listed in Configuration - Hosts, all are auto-registered Active Agents, to view state - you need to click 20 times on icons, to check all of them, or go to Latest data, wait until server loads something useless ( Sorry, but it looks like all the logic done is just to do more mouse clicks in case of an Active mode used. | ||||||||
Comment by Dimitri Bellini [ 2022 Jun 17 ] | ||||||||
Hi ZabbixDev, At the first look, the host seems not working but as soon as I move the mouse over icon I can see the Green on Active Agent. Please fix the logic. Thanks so much | ||||||||
Comment by Brian van Baekel [ 2022 Jun 17 ] | ||||||||
Comment by Rostislav Palivoda (Inactive) [ 2022 Jun 17 ] | ||||||||
Instead of reopen please report further change requests as ZBX and comment here like brian.baekel. Thank you. | ||||||||
Comment by Zeiko [ 2022 Jun 20 ] | ||||||||
Hi, Does this fix will be available to 6.0 LTS ?
Regards | ||||||||
Comment by Alex Kalimulin [ 2022 Jun 20 ] | ||||||||
Zeiko, no, this feature is 6.2+. | ||||||||
Comment by Verde [ 2023 Feb 28 ] | ||||||||
Hi, any news about this? I have installed Zbx 6.2.6 and in the widget I see the active agents availability as unknown. My agents do not have interfaces configured since their IP change all the time. Would be that the reason why I see their availability as unknown?
Thanks,
| ||||||||
Comment by Alex Kalimulin [ 2023 Feb 28 ] | ||||||||
verde, there is a separate feature request about this, you can vote: | ||||||||
Comment by Dimitri Bellini [ 2023 Jun 29 ] | ||||||||
Hi DevTeam, At the moment we have a "Gray Global Availability" because we do not have "Passive checks", for most of the users this is not clear at all. I would like to suggest to "Hide" the "Passive Availability Icon" if there is no "Passive Items configured". Thanks so much | ||||||||
Comment by Nathan Liefting [ 2023 Jun 29 ] | ||||||||
@Dimitri, 100% agree! See also ZBXNEXT-8487 | ||||||||
Comment by Dimitri Bellini [ 2023 Jun 29 ] | ||||||||
Hi Nathan, | ||||||||
Comment by Francois-Hugues Mailliet [ 2023 Jul 04 ] | ||||||||
I agree about the confusion. But let's remember a few things: With regard to this last point, it is at the level of a model and the various authorizations on the security side that the availability of a piece of equipment can be designed. So it's often specific to each context. For example, for operating system equipment, correlating a "ping" with the availability of the Zabbix agent is starting to be a fairly strong symptom of unavailability, especially if this has happened 3 times in a row. So it's important to distinguish between what is the responsibility of the editor - and I agree with Dominique about simplifying the view - and what is the responsibility of an integrator or customer who implements Zabbix in their context, taking into account security constraints. So we need to take a global view and clearly define what availability means in each context. If the "Host availability" widget could be renamed "Interfaces of host availaibilty", I think that would be better; | ||||||||
Comment by dimir [ 2023 Oct 28 ] | ||||||||
| ||||||||
Comment by Tavo Arguedas [ 2023 Nov 08 ] | ||||||||
It is a shame not been able to match the dashboards for ICMP/IP checks with the actual status of the device. Showing the status as "unknown" for devices just cuz the agent is now running really sucks for external availability checks. The ones working with/as 'Dead Man's Snitch' know the pain. |