I am a newbie, and I've been pulling my hair because the Zabbix manual is made for people who already know zabbix. My problem today was understanding passive vs. active monitoring, and I'll share what I learned here (so that you can keep your hair);
Passive monitoring
------------------
The agent will answer the server when the server asks for a reply.
Example: Server asks; what is your agent version. This question is sent to the TCP port that the agent listens to, and the agent answers the server.
Note that this method should be used on a LAN.
The default config files are made for passive monitoring.
Active monitoring
-----------------
The agent will answer the server, but the questions are not sent to the agent. The agent connects to the server every now and again (every 2 minutes by default I reckon), and gets a list of questions that the server has. It will answer the questions and disconnect.
Note that this method should be used for hosts that you monitor over the internet (and that the server cannot access because of NAT etc.). No firewall holes needs to be opened.
..ok.. got dancing lessons (going to marry in a month). Will continue my "tutorial" after that.
/Thomas
Passive monitoring
------------------
The agent will answer the server when the server asks for a reply.
Example: Server asks; what is your agent version. This question is sent to the TCP port that the agent listens to, and the agent answers the server.
Note that this method should be used on a LAN.
The default config files are made for passive monitoring.
Active monitoring
-----------------
The agent will answer the server, but the questions are not sent to the agent. The agent connects to the server every now and again (every 2 minutes by default I reckon), and gets a list of questions that the server has. It will answer the questions and disconnect.
Note that this method should be used for hosts that you monitor over the internet (and that the server cannot access because of NAT etc.). No firewall holes needs to be opened.
..ok.. got dancing lessons (going to marry in a month). Will continue my "tutorial" after that.
/Thomas
Comment