Ad Widget

Collapse

What's the difference between 'zabbix agent' and 'zabbix agent (active)'?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mdeavila
    Junior Member
    • Mar 2005
    • 12

    #1

    What's the difference between 'zabbix agent' and 'zabbix agent (active)'?

    What the difference between a regular agent check and an active check?

    i have not been able to track down any documentation on this topic ...

    thanks,

    Miguel
  • Wolfgang
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified Specialist
    • Apr 2005
    • 116

    #2
    My understanding is the following:

    a regular agent check is a built in check. That is, a check that zabbix supports out of the box.

    an active check is a check, that requires a a script or external command to be defined in the agent configuration file and that is executed via the agent. the result of that script is passed back to the zabbix_sever.

    for example:
    you want to get the status of an raid array of an server. The raid tools allow a status query for the raid status via a specific command line interface tool. Of course, zabbix won't have native support for this particular raid controller, so you can define an active check that executes a specific query-command via the CLI to get the status.
    http://www.intellitrend.de
    Specialised in monitoring large environments and Zabbix API programming.

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Ignore all what Wolfgang said! It is absolutely not correct..

      A regular check is initiated by ZABBIX server, it periodically sends requests to an agent to get latest info. The agent is passive, it just processes requests sent by server.

      An active check works the following way. ZABBIX agent connects to ZABBIX server to get list of all checks for a host. Then it periodically sends required information to ZABBIX server. Note that ZABBIX server does not initiate anything. ZABBIX agent does all active work. This doesn't require polling on server side, thus it significantly (1.5x-2x) improve performance of ZABBIX server.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • Wolfgang
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified Specialist
        • Apr 2005
        • 116

        #4
        Upps ;-)

        @Alexi
        Thanks for clarification.
        http://www.intellitrend.de
        Specialised in monitoring large environments and Zabbix API programming.

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          No worries!
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • mconigliaro
            Senior Member
            • Jun 2005
            • 116

            #6
            so is it safe to assume that active checks should be used whenever possible? are there any disadvantages?

            Comment

            • Alexei
              Founder, CEO
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Sep 2004
              • 5654

              #7
              I would recommend using at least one 'normal' check (for example, TCP or ICMP ping) per host. Otherwise you'll not be able to monitor their availability.
              Alexei Vladishev
              Creator of Zabbix, Product manager
              New York | Tokyo | Riga
              My Twitter

              Comment

              • bbrendon
                Senior Member
                • Sep 2005
                • 870

                #8
                active agents behind firewalls

                Is there going to be a way to configure the host configuration screen so you can have agents that are behind firewalls and have proper availability information? Right now all my agents behind a firewall report "Not Available" under the Availibility column. I was thinking Availibility should be "Not available" if the server hasnt heard from the agent is say, 5 or 10 minutes.

                In addition, in the error column I see "gethostbyname() failed [Unknown host]", because resolution for these systems also doesn't work where the server is located. I'm not sure how to solve this, but it doesn't seem to be a problem, just an annoying error.

                I'm using alpha12 (not beta1 because of the bugs).
                Unofficial Zabbix Expert
                Blog, Corporate Site

                Comment

                • ruckus37
                  Member
                  • Oct 2004
                  • 57

                  #9
                  Originally posted by infinity005

                  In addition, in the error column I see "gethostbyname() failed [Unknown host]", because resolution for these systems also doesn't work where the server is located. I'm not sure how to solve this, but it doesn't seem to be a problem, just an annoying error.

                  I'm using alpha12 (not beta1 because of the bugs).

                  Just add them to the host file...

                  Comment

                  • slashx
                    Junior Member
                    • Oct 2005
                    • 4

                    #10
                    active details

                    with active checks, how often to the results get sent back to the server and how many daemons, if not all, process the active checks on the client.

                    sx

                    Comment

                    • James Wells
                      Senior Member
                      • Jun 2005
                      • 664

                      #11
                      Greetings,
                      Originally posted by slashx
                      with active checks, how often to the results get sent back to the server and how many daemons, if not all, process the active checks on the client.
                      The results get sent back to the server based the periodicity / delay you choose for the item itself. Only a single thread will process the active check on any given time slice. This means that if you have a delay of 60 seconds, only a single thread / agent every 60 seconds will perform the check and then send the results back to the server.
                      Unofficial Zabbix Developer

                      Comment

                      • slashx
                        Junior Member
                        • Oct 2005
                        • 4

                        #12
                        active and passive checks

                        does enabling active checks on the endpoint automatically disable passive checks by the server for any individual endpoint.

                        sx

                        Comment

                        • James Wells
                          Senior Member
                          • Jun 2005
                          • 664

                          #13
                          Originally posted by slashx
                          does enabling active checks on the endpoint automatically disable passive checks by the server for any individual endpoint.
                          Not at all, you can freely mix the two without issue.
                          Unofficial Zabbix Developer

                          Comment

                          • slashx
                            Junior Member
                            • Oct 2005
                            • 4

                            #14
                            disable passive checks

                            how do u disable passive checks.

                            Comment

                            • James Wells
                              Senior Member
                              • Jun 2005
                              • 664

                              #15
                              Originally posted by slashx
                              how do u disable passive checks.
                              Only way to really disable passive checks to to disable them in the UI, or just make all checks active. Please note that this will not truly disable them as the agents still periodically gather certain information. Additionally, even if you convert all of your checks to active checks, the agents themselves will still listen for non-active checks.
                              Unofficial Zabbix Developer

                              Comment

                              Working...