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/01 00:47] 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:
   * [[http://www.zabbix.com/|Zabbix homepage]]   * [[http://www.zabbix.com/|Zabbix homepage]]
 +  * [[http://andrewfarley.com/sysadmin/rpm-repository-online|CentOS Repo]]
  
-====== Zabbix Server ====== +====== Zabbix server ====== 
-Use the virtual machine appliance rather than setting up a physical machine.  Yuck!+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|}}
  
-One that works, all you need to do is create user accounts in Zabbix which correspond to the user's Active Directory username and the password will be verified against LDAP.  You can add that user to Zabbix groups as well. +Once that works, all you need to do is create user accounts in Zabbix which correspond to the user's Active Directory username and the password will be verified against LDAP.  You can add that user to Zabbix groups as well. 
-====== Zabbix Client ====== +====== Zabbix client ====== 
-"client" is a server which will be monitored by Zabbix.  The easiest way to do this is to install the ''zabbix-agent'' package on each server you want to monitor+The Zabbix "client" is a server which will be monitored by Zabbix.  This is usually the ''zabbix-agent'' package in most Linux repositories. 
-===== Install zabbix-agent ===== +<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> 
-Installing the a+==== 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. 
 + 
 +==== Install zabbix-agent ==== 
 +Installing the agent from apt:
 <code>$ sudo apt-get install zabbix-agent</code> <code>$ sudo apt-get install zabbix-agent</code>
-===== Configure zabbix-agent =====+==== Configure zabbix-agent ====
 Edit the agent's config file, paying specific attention to the "Server" line: Edit the agent's config file, paying specific attention to the "Server" line:
-<code>$ sudo vim /etc/zabbix/zabbix_agentd.conf +<code>$ sudo vim /etc/zabbix/zabbix_agentd.conf</code> 
-===== Start zabbix-agent =====+Set at least these options in the config file: 
 +<code>Server=172.26.16.249 
 +DisableActive=1</code> 
 + 
 +==== Start zabbix-agent ====
 <code>$ sudo /etc/init.d/zabbix-agent start</code> <code>$ sudo /etc/init.d/zabbix-agent start</code>
 +
 +