Ad Widget

Collapse

Active checking implicitely requiring a Passive check ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tprisme
    Junior Member
    • Nov 2023
    • 4

    #1

    Active checking implicitely requiring a Passive check ?

    Hi to this community, first time on this forum !

    So, I recently started using Zabbix as a monitoring solution (the appliance to be precise), or at least to put it a test in a LAN.

    I watched some videos online, and applied what was in it, to monitor a windows host.

    So is it actually really necessary to have for an host, at least one item being a passive check ?
    I saw this tip in this video (at the middle or so) :


    On my host, I put three items that I added manually.
    One being passive, it's a simple ping
    Two being active (cpu and get system hostname, whatever those are).

    And when I disable the passive check, as said in the video, no way to reach the agent, the ZBX box goes from green to grey again.

    So my questions are :
    Is it the best way to make active checks possible ?
    And if yes (meaning it needs at least one passive check), is the ping the safest check to do ? Or is there more safe, ideally I would like soon to be able to perform checks on customers, from site to site (so Lan -> internet -> Lan), to keep it simple.

    Thanks in advance!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4808

    #2
    Starting from v6.2 active checks should be considered for availability also.They send heartbeat messges to do it. You have not mentioned, what version you are using. if its 6.0LTS, then yes. passive item is needed for that availability to turn green.

    If the simple ping, what you mention, is an item with "agent.ping" key, then that is enough. It is not the same as icmpping, performed by server/proxy, which does ping, but does not talk to agent. You can use icmpping for any dumb device on the network, but agent.ping specifically contacts an agent to see if itis alive.

    Comment

    • Tprisme
      Junior Member
      • Nov 2023
      • 4

      #3
      Originally posted by cyber
      Starting from v6.2 active checks should be considered for availability also.They send heartbeat messges to do it. You have not mentioned, what version you are using. if its 6.0LTS, then yes. passive item is needed for that availability to turn green.

      If the simple ping, what you mention, is an item with "agent.ping" key, then that is enough. It is not the same as icmpping, performed by server/proxy, which does ping, but does not talk to agent. You can use icmpping for any dumb device on the network, but agent.ping specifically contacts an agent to see if itis alive.
      I read your answer, thanks. Yes I am >6.0 LTS, I'm in 6.4.8.

      So in all cases, at least an agent.ping (it is that key that I use, yes), is needed, at least ? And is it the "safest" / simplest way to do a heartbeat type check ?

      Comment

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

        #4
        Originally posted by Tprisme

        I read your answer, thanks. Yes I am >6.0 LTS, I'm in 6.4.8.

        So in all cases, at least an agent.ping (it is that key that I use, yes), is needed, at least ? And is it the "safest" / simplest way to do a heartbeat type check ?
        On 6.4 agent should send heartbeat even without it. https://www.zabbix.com/documentation...tbeatfrequency
        If availability still turns grey, then the issue is somewhere else.. But I am on 6.0, Cannot really say anything useful about 6.4...​

        Comment

        • Semiadmin
          Senior Member
          • Oct 2014
          • 1625

          #5
          Please vote: https://support.zabbix.com/browse/ZBX-23664

          Comment

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

            #6
            oh... a bug,... voted..

            Comment

            • Tprisme
              Junior Member
              • Nov 2023
              • 4

              #7
              Originally posted by Semiadmin
              Wait so, to resolve it should I do those steps as showed in that report :

              "This is a bug.
              Steps:
              Delete passive interface:
              Make sure active agent connects.
              Check host_rtdata and see that host is available.​"

              Or there is an actual way of patching this ?

              I mean is check host_rtdata a command to do on the zbx server ?

              Comment

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

                #8
                There is no command for it.. its a direct DB query to host_rtdata table..
                The steps you quoted were only to replicate the situation, not for resolving the situation... As bugreport says, it might get resolved in next minor release (6.4.9 then...)

                Comment

                • Tprisme
                  Junior Member
                  • Nov 2023
                  • 4

                  #9
                  Originally posted by cyber
                  There is no command for it.. its a direct DB query to host_rtdata table..
                  The steps you quoted were only to replicate the situation, not for resolving the situation... As bugreport says, it might get resolved in next minor release (6.4.9 then...)
                  Oh.. so we will have to wait then, and for now we have to do this way, thanks for the answer everyone!

                  Comment

                  Working...