Ad Widget

Collapse

Active checks only and host availability

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bernard
    Member
    • Oct 2008
    • 54

    #1

    Active checks only and host availability

    Hello,

    I'm monitoring few hosts with Active checks only + a icmp ping. I want to recieve an alert when Zabbix agent doesn't send data to server (but host is up).

    Until today, I used trigger "nodata" on a frequently updated item.
    (like describe in post http://www.zabbix.com/forum/showthread.php?t=20569)
    Code:
    {hostname:system.cpu.util[].nodata(300)}=1
    But this week-end a recieved more than 2000 mails about wrong alerts. (trigger "nodata" for 5 minutes, but items recieved data every 9-12 seconds).

    After looking the documentation (triggers: example 8), trigger nodata works only with trapper type.

    How can I get a heartbeat from Zabbix Agent using active checks without using "nodata" trigger ? (Don't want to configure and use zabbix_sender on every host with a scheduled tasks or use userparameter in agent's config file)

    Thanks for your help and suggestion?
    Regards,
    Bernard
  • gerocharod
    Junior Member
    • Jul 2014
    • 1

    #2
    did you find a solution

    I am having the same issue. Did you find a way to solve it?
    thanks

    Comment

    • ingus.vilnis
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Mar 2014
      • 908

      #3
      Hi,

      Try to check agent availability on a host with an internal item using key:
      Code:
      zabbix[host,agent,available]
      More about internal items here: https://www.zabbix.com/documentation...types/internal

      Best Regards,
      Ingus

      Comment

      • bernard
        Member
        • Oct 2008
        • 54

        #4
        All actives, except two

        All items are Active, except two:
        Zabbix agent for item "agent.ping", to test if agent is up and running,
        Simple check from item "icmpping", to test host availability.

        And a trigger dependency (Zabbix Agent depends on ICMP ping).

        Comment

        • raulk89
          Junior Member
          • Nov 2023
          • 7

          #5
          And a trigger dependency (Zabbix Agent depends on ICMP ping).
          For this, does the both items need to be on a same template..?
          For me, I have "Zabbix agent active" template and ICMP template separate ones. Can I create dependency like that, or both items need to be on a same template..?

          Raul

          Comment

          • ifscal3
            Junior Member
            • Nov 2023
            • 2

            #6
            Hello, Zabbix community.

            I have a similar issue, using the Linux by Zabbix agent active template.

            I am receiving data from the agent, but the ZBX availability badge is greyed out.

            I have attached a second template ICMP Ping to see if I could get the availability badge to turn green, but it hasn't. My agent is on the same LAN as the Zabbix server and Ping works normally from the terminal.

            Has anyone gotten the availability badge to turn green in such a scenario? One contributor suggested adding a trigger dependency but it wasn't clear how to do that.

            Can someone guide me on how to achieve this seemingly simple task?

            Best regards,

            ifscal3.

            Comment

            • cyber
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • Dec 2006
              • 4807

              #7

              There seems to be a bug related to availability showing in case of only active items... Cannot find the bug number right now, but it was mentioned just lately... might be getting a fix with 6.4.9 version.

              icmpping will not help with agent availability, as it is not an agent item, it is performed by server/proxy and does not require an agent. If you add "agent.ping" item (type passive), then you probably get a green lighting up...

              Comment

              • NinjaJake86
                Junior Member
                • Nov 2023
                • 3

                #8
                I had an issue like this ono a windows machine, what i ended up doing was cloning the windows active template and replacing the Agent Ping item with the non active version of it, now the ZBX goes green and i have active checks apart from that one item which is still checked passively

                Comment

                Working...