View Full Version : What's the difference between 'zabbix agent' and 'zabbix agent (active)'?
mdeavila
20-07-2005, 01:10
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
20-07-2005, 12:23
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.
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.
Wolfgang
20-07-2005, 21:27
Upps ;-)
@Alexi
Thanks for clarification.
mconigliaro
02-08-2005, 15:41
so is it safe to assume that active checks should be used whenever possible? are there any disadvantages?
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.
bbrendon
25-09-2005, 20:47
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).
ruckus37
25-09-2005, 21:31
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...
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
James Wells
13-10-2005, 23:48
Greetings,
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.
does enabling active checks on the endpoint automatically disable passive checks by the server for any individual endpoint.
sx
James Wells
14-10-2005, 00:54
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.
how do u disable passive checks.
James Wells
14-10-2005, 01:46
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.
Does Zabbix "complain" if an active check is not being updated by the client? BigBrother, f.ex., does this by making a "purple" screen. It is fairly important to know, if a check is not running at all. because a machine can be ping'ed - it doesn't mean it's actually up :)