server_monitoring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
server_monitoring [2010/06/21 22:42] – 172.26.14.218 | server_monitoring [2010/10/19 17:18] – aorth | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Server Monitoring ===== | ===== Server Monitoring ===== | ||
- | * [[server_monitoring: | + | * [[server_monitoring: |
- | * [[server_monitoring: | + | * [[server_monitoring: |
- | * [[server_monitoring: | + | * [[server_monitoring: |
- | * [[server_monitoring: | + | * [[server_monitoring: |
- | + | ||
- | ===== Nagios ===== | + | |
- | + | ||
- | Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes. http:// | + | |
- | + | ||
- | === Installation === | + | |
- | + | ||
- | Download the latest version of nagios while hot, from http:// | + | |
- | < | + | |
- | $ cd nagios-3.2.0 | + | |
- | $ ./ | + | |
- | $ make all | + | |
- | $ useradd nagios | + | |
- | $ make install | + | |
- | $ make install-init | + | |
- | $ make install-commandmode | + | |
- | $ make install-config | + | |
- | $ make install-webconf | + | |
- | </ | + | |
- | === Configuration === | + | |
- | + | ||
- | ---- | + | |
- | Running the following command will create a new file called htpasswd.users in the / | + | |
- | < | + | |
- | + | ||
- | Download and install plugins | + | |
- | < | + | |
- | $ wget http:// | + | |
- | $ tar xfz nagios-plugins-1.4.14.tar.gz | + | |
- | $ cd nagios-plugins-1.4.14 | + | |
- | $ ./configure && make && make install | + | |
- | </ | + | |
- | Edit the configuration files to add host and services to be monitored: | + | |
- | < | + | |
- | + | ||
- | Check remote services http:// | + | |
- | === Accessing Nagios === | + | |
- | + | ||
- | ---- | + | |
- | http:// | + | |
- | + | ||
- | with username = " | + | |
- | ==== Zabbix ==== | + | |
- | ---- | + | |
- | Installation: | + | |
- | + | ||
- | RHEL-compatible Linux: Ref: http:// | + | |
- | < | + | |
- | name=Andrew Farley RPM Repository | + | |
- | baseurl=http:// | + | |
- | enabled=1 | + | |
- | gpgcheck=0' | + | |
- | + | ||
- | + | ||
- | + | ||
- | And then you can install zabbix agent, zabbix server, zabbix get, or zabbix proxy with… | + | |
- | < | + | |
- | sudo yum install zabbix-agent | + | |
- | sudo yum install zabbix-server | + | |
- | sudo yum install zabbix-get | + | |
- | sudo yum install zabbix-proxy </ | + | |
- | + | ||
- | If it fails to install, you might need to clean the metadata with the following command and try again… | + | |
- | + | ||
- | sudo yum clean metadata | + | |
- | + | ||
- | + | ||
- | Debian-Based Linux: | + | |
- | ---- | + | |
- | < | + | |
- | root@simple: | + | |
- | zabbix-agent - network monitoring solution - agent | + | |
- | zabbix-frontend-php - network monitoring solution - PHP front-end | + | |
- | zabbix-proxy-mysql - network monitoring solution - proxy (using MySQL) | + | |
- | zabbix-proxy-pgsql - network monitoring solution - proxy (using PostgreSQL) | + | |
- | zabbix-server-mysql - network monitoring solution - server (using MySQL) | + | |
- | zabbix-server-pgsql - network monitoring solution - server (using PostgreSQL) | + | |
- | root@simple: | + | |
- | </ | + | |
- | + | ||
- | === Accessing Zabbix === | + | |
- | + | ||
- | http:// | + | |
- | username: Admin | + | |
- | password: zabbix | + | |
- | + |