Ad Widget

Collapse

Displaying the ICMP status of a hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NE1Scott
    Member
    • Jan 2021
    • 49

    #16
    A link to where you thinkl I should put in a request for this would be very handy. If I know the proper place to ask for features and changes I would.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #17

      Comment

      • lasseoe
        Junior Member
        • Aug 2008
        • 15

        #18
        Good work Hamardaban, however why do you need to visually see that a host is UP? If there's no alarm then all is good, relying on visually identifying problems is a slippery slope.

        Comment

        • Hamardaban
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • May 2019
          • 2713

          #19
          This was done in response to numerous questions from other forum users.
          I know the concept of monitoring, so I don't need to mention the obvious things.

          Comment

          • TecDragon
            Member
            • Nov 2019
            • 63

            #20
            Hamardaban or anyone does this still work with Zabbix 6.03? I just recently jumped back into the dark souls of device monitoring. Enjoying the challenge... I too want to be able to monitor my ping only devices without the grey fuzziness of the "unknown" I have absolutely no idea how to perform the instructional steps that the OP minimally described in post 1 but I have the ability to snapshot my deployment and fight it till I love it.

            Comment

            • Hamardaban
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • May 2019
              • 2713

              #21
              Since version 5.4, the work with interfaces has been greatly changed.
              The solution I made no longer works.

              Comment

              • NE1Scott
                Member
                • Jan 2021
                • 49

                #22
                It is frustrating for the machines that don't have a colored icon to be able to glance at them and get an idea of whether they are up or not. (Mainly ICMP)

                unfortunately in all the white noise 800 or so machines generate in zabbix alerts I'm sure i overlooks some issues. Opening a host group and scrolling through the list to look at ZBX, SNMP, or other icon colors to see if anything is in a bad way is something I do every day.

                Trying to reduce the number of Zabbix problems to less than 5 pages per day is an ongoing effort as my datacenters and VMC clusters are doing migrated to VMCs and EC2 instances constantly in an effort to live 100% at AWS. (Company mandate)

                Comment

                • Hamardaban
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • May 2019
                  • 2713

                  #23
                  In zabbix, the main mechanism is the generation of "problems", not viewing the list of hosts.
                  Setup the metrics you are interested in correctly and the amount of work will be significantly reduced! :-)

                  Comment

                  • bitmeup
                    Junior Member
                    • Apr 2018
                    • 18

                    #24
                    I am just going to share my way of handling this for those that might care. WARNINGS:
                    • this "solution" includes making changes to the front-end PHP of production instances, which (I suspect) the developers would prefer that you avoid doing. Especially due to the following
                    • you have to reapply the patch as needed
                      • docker: every time docker-compose creates the containers
                      • regular install: after upgrades
                    • this fits my particular use-case and might need additional code to fit your environment

                    I came across this post again, when setting up a new Zabbix instance. This has happened to me multiple times in the past, because of what I see as a design issue of Zabbix. The "design" issue is simple to define:
                    • hosts configured with web-only checks will also show up in the Unknown column regardless if they are operational
                    • hosts configured with ICMP-only checks will also show up in the Unknown column
                    • the hosts that count towards the Unknown column in the dashboard, also have the issue of the grey 'ZBX' icon in the Hosts page
                    Here is how I have gotten around this with my past teams and instances:
                    • every host that has a permanent grey 'ZBX' icon, must have an 'AVAILABILITY' tag. So, when creating a new ICMP-only or web-only host, the tag must be created
                    • the availability tag must have one of the following values (which provides some glanceability on the Hosts page, considering that it is usually the first tag in alphabetic order)
                      • ICMP
                      • WEB
                      • NONE (for other purposes that I am not going to elaborate, because it is too specific to my use case)
                    • applying the following code (this is for the the trunk code for 6.2 as of 20220609)
                    WARNING: the code is not inline due to the forum's limitation on copy-paste
                    Here is a link to the gist
                    Last edited by bitmeup; 10-06-2022, 22:16.

                    Comment

                    • TecDragon
                      Member
                      • Nov 2019
                      • 63

                      #25
                      bitmeup how do you apply the code in the link?

                      As I too have several ping only checks and annoying Unknowns

                      Comment

                      • bitmeup
                        Junior Member
                        • Apr 2018
                        • 18

                        #26
                        Originally posted by TecDragon
                        bitmeup how do you apply the code in the link?

                        As I too have several ping only checks and annoying Unknowns
                        If I were in your position, where the gist is code that you do not know and that is on a website external to zabbix forums, I would manually edit the file after reading the code, especially because it may depend on the version of Zabbix that you are applying the change to.
                        • the filename is at the top (just after the diff command)
                        • Lines starting with '-' and colored red are deletions.
                        • Lines starting with '+' and colored green are additions.
                        • You can see the aproximate line numbers in the sections that are surrounded with "@@"

                        Comment

                        • fognar
                          Junior Member
                          • Dec 2018
                          • 13

                          #27
                          bitmeup Your work around looks pretty good, but would it work on host monitored purely through Script or External Check items? I've built a few home made templates that monitor devices status's from cloud based API's, mostly Meraki and Azure devices and services if your familiar with either. It would be nice to have a snapshot of how many things are having problems.

                          Comment

                          • bitmeup
                            Junior Member
                            • Apr 2018
                            • 18

                            #28
                            Originally posted by fognar
                            bitmeup Your work around looks pretty good, but would it work on host monitored purely through Script or External Check items? I've built a few home made templates that monitor devices status's from cloud based API's, mostly Meraki and Azure devices and services if your familiar with either. It would be nice to have a snapshot of how many things are having problems.
                            I have never used it that way. I cannot help

                            Comment

                            • dimir
                              Zabbix developer
                              • Apr 2011
                              • 1080

                              #29
                              Looks like this one asks for something similar: https://support.zabbix.com/browse/ZBXNEXT-3153

                              Those interested in the implementation of this change request please add your votes.
                              Last edited by dimir; 21-09-2023, 13:05.

                              Comment

                              • olsoncr
                                Junior Member
                                • Nov 2019
                                • 7

                                #30
                                Originally posted by dimir
                                Looks like this one asks for something similar: https://support.zabbix.com/browse/ZBXNEXT-3153

                                Those interested in the implementation of this change request please add your votes.
                                and here: https://support.zabbix.com/browse/ZBXNEXT-3153

                                Comment

                                Working...