Ad Widget

Collapse

Zabbix agent use ICMP for host availability

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pb19382
    Junior Member
    • Mar 2020
    • 4

    #1

    Zabbix agent use ICMP for host availability

    Currently dashboard only displays host availability if using zabbix agent. Some host can't use agent, and only respond to ICMP. Adding the ability to set host "available" to be "green" in a dashboard with "Template Module ICMP Ping" would make usage by new users much easier to adopt.

    Currently i'm using ICMP for my hosts but the dashboard is misleading as they are "unknown" for availability and no widgets will report "available" as far as other "items" are concerned.
  • pabloarg
    Member
    • Jun 2019
    • 32

    #2
    Same case when only use active Items for host.
    This function would be great.

    EDIT:
    Maybe a new function to define an item as "availability" from status. If item fails or gets bad data N times, host status goes unknown
    Last edited by pabloarg; 12-03-2020, 01:31. Reason: add idea

    Comment

    • pb19382
      Junior Member
      • Mar 2020
      • 4

      #3
      Maybe an overhaul of the "availability" trait such that we can toggle it "off" with triggers... that would allow any active or passive test to take the host down. I'm trying to build a custom UI to display host "availability" based on "problems" so I can see at a quick glance rather than use the widgets provided because "active" agents don't show up as "available".

      Comment

      • pabloarg
        Member
        • Jun 2019
        • 32

        #4
        simple workaround (but only if not firewall blocking): In active templates, define one item as passive (agent.ping is maybe the best option).

        Edit: Of course, this only works with agent. Is not for ping, SNMP, etc.
        Last edited by pabloarg; 25-04-2020, 16:52. Reason: clarification

        Comment


        • Giacomo
          Giacomo commented
          Editing a comment
          Hi!

          It's not clear to me.
          Do I've to use a standard agent?
          Could you please explain in details this workaround?
          Thanks!
      • highpeak
        Member
        • Nov 2019
        • 30

        #5
        I'm just discovering this shortcoming myself. I was trying to build a custom dashboard to show host availability - we only use ICMP for over 4,000 hosts. I assume the Zabbix team don't troll these forums for feature requests that often, so is there somewhere we can place more formal requests?

        Comment

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

          #6
          For my own needs, I made changes in the frontend code that output the ICMP state. If you are interested, I can post patches (but without a good description).

          Click image for larger version

Name:	icmp_aval_2.png
Views:	6790
Size:	8.8 KB
ID:	413658Click image for larger version

Name:	icmp_aval_1.png
Views:	6736
Size:	20.8 KB
ID:	413657
          Attached Files

          Comment

          • highpeak
            Member
            • Nov 2019
            • 30

            #7
            That's very cool, I'd be interested in the patched (still valid for 5.2?). Do Zabbix take pull requests!?

            Comment

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

              #8
              Posted with a small description https://www.zabbix.com/forum/zabbix-...tus-of-a-hosts

              Comment

              • bitmeup
                Junior Member
                • Apr 2018
                • 18

                #9
                For those that might care about a code-based solution, check my other post on zabbix forum

                This also serves a reminder when I inevitably come back here from Google search

                Comment

                Working...