User Tools

Site Tools


server_monitoring:zabbix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
server_monitoring:zabbix [2010/10/05 21:58] aorthserver_monitoring:zabbix [2011/03/15 08:49] aorth
Line 1: Line 1:
-====== Zabbix ====== +====== Zabbix server monitoring ====== 
-Zabbix is a network management system created by Alexei Vladishev. It is designed to monitor and track the status of various network services, servers, and other network hardware.+Zabbix is a network management system created by Alexei Vladishev. It is designed to monitor and track the status of various network services, servers, and other network hardware.  Zabbix uses a client/server model, where one central server collects or receives information about several clients ("clients" being servers or devices you want to monitor).
  
 Links: Links:
Line 8: Line 8:
 ====== Zabbix server ====== ====== Zabbix server ======
 The Zabbix "server" is the central server which collects information about all the other servers (the "clients").  This is usually the ''zabbix'' package in most Linux repositories.  The Zabbix server package installs a web interface, database schema, etc. The Zabbix "server" is the central server which collects information about all the other servers (the "clients").  This is usually the ''zabbix'' package in most Linux repositories.  The Zabbix server package installs a web interface, database schema, etc.
-===== Active Directory Authentication ===== + 
-Set up the LDAP authentication pane like this, making sure to specify a user's dn to bind as.+==== Active Directory Authentication ==== 
 +Set up the LDAP authentication pane like this, making sure to specify a user's dn to bind as
 {{:wiki:user:aorth:changelog:zabbix_ad_auth.png|}} {{:wiki:user:aorth:changelog:zabbix_ad_auth.png|}}
  
Line 16: Line 18:
 The Zabbix "client" is a server which will be monitored by Zabbix.  This is usually the ''zabbix-agent'' package in most Linux repositories. The Zabbix "client" is a server which will be monitored by Zabbix.  This is usually the ''zabbix-agent'' package in most Linux repositories.
 <note>The zabbix-agent for CentOS from andrew farley's repo has some problems I think, take care when upgrading.  You might need to manually remove zabbix stuff from ///var/log/zabbix//, ///usr/share/zabbix// and ///var/spool/mailbox/zabbix//.</note> <note>The zabbix-agent for CentOS from andrew farley's repo has some problems I think, take care when upgrading.  You might need to manually remove zabbix stuff from ///var/log/zabbix//, ///usr/share/zabbix// and ///var/spool/mailbox/zabbix//.</note>
-===== Active vs Passive =====+==== Active vs Passive ====
 A Zabbix client can be "passive" or "active."  If you don't know the difference, you want passive.  A passive Zabbix client merely sits and listens, waiting to be periodically queried by the central Zabbix server.  An active client, on the other hand, actively sends status information to the central Zabbix server. A Zabbix client can be "passive" or "active."  If you don't know the difference, you want passive.  A passive Zabbix client merely sits and listens, waiting to be periodically queried by the central Zabbix server.  An active client, on the other hand, actively sends status information to the central Zabbix server.
  
-===== /etc/zabbix/zabbix-agentd.conf =====+==== Install zabbix-agent ==== 
 +Installing the agent from apt: 
 +<code>$ sudo apt-get install zabbix-agent</code> 
 +==== Configure zabbix-agent ==== 
 +Edit the agent's config file, paying specific attention to the "Server" line: 
 +<code>$ sudo vim /etc/zabbix/zabbix_agentd.conf</code>
 Set at least these options in the config file: Set at least these options in the config file:
 <code>Server=172.26.16.249 <code>Server=172.26.16.249
 DisableActive=1</code> DisableActive=1</code>
  
-===== Install zabbix-agent ===== +==== Start zabbix-agent ====
-Installing the a +
-<code>$ sudo apt-get install zabbix-agent</code> +
-===== Configure zabbix-agent ===== +
-Edit the agent's config file, paying specific attention to the "Server" line: +
-<code>$ sudo vim /etc/zabbix/zabbix_agentd.conf</code> +
-===== Start zabbix-agent =====+
 <code>$ sudo /etc/init.d/zabbix-agent start</code> <code>$ sudo /etc/init.d/zabbix-agent start</code>