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
Next revisionBoth sides next revision
server_monitoring:zabbix [2010/10/01 00:47] aorthserver_monitoring:zabbix [2010/10/18 18:05] aorth
Line 1: Line 1:
-====== Zabbix ====== 
 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.
  
 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 ===== ===== Active Directory Authentication =====
 Set up the LDAP authentication pane like this, making sure to specify a user's dn to bind as. 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. 
 +<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 ===== 
 +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 ===== 
 +Set at least these options in the config file: 
 +<code>Server=172.26.16.249 
 +DisableActive=1</code> 
 ===== Install zabbix-agent ===== ===== Install zabbix-agent =====
 Installing the a Installing the a
Line 23: Line 31:
 ===== Start zabbix-agent ===== ===== Start zabbix-agent =====
 <code>$ sudo /etc/init.d/zabbix-agent start</code> <code>$ sudo /etc/init.d/zabbix-agent start</code>
 +
 +