This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
app-notes:zabbix [2015/04/05 18:45] – hess | app-notes:zabbix [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Zabbix ====== | ||
- | ===== Installation ===== | ||
- | Find an installation guide under www.zabbix.com/ | ||
- | Under Debian Wheezy the steps are: | ||
- | <code bash> | ||
- | # add zabbix repo to apt sources | ||
- | wget http:// | ||
- | dpkg -i zabbix-release_2.2-1+wheezy_all.deb | ||
- | apt-get update | ||
- | |||
- | # install MySQL server | ||
- | apt-get install mysql-server | ||
- | |||
- | # edit / | ||
- | [mysqld] | ||
- | character-set-server=utf-8 | ||
- | |||
- | # restart MySQL server | ||
- | service mysql start | ||
- | |||
- | # install zabbix server and GUI | ||
- | apt-get install zabbix-server-mysql zabbix-frontend-php | ||
- | |||
- | # edit / | ||
- | php_value date.timezone Europe/Bern | ||
- | service apache2 restart | ||
- | |||
- | #For using SNMP with Zabbix the following steps have to be done: | ||
- | apt-get install snmp | ||
- | sudo apt-get install snmp-mibs-downloader download-mibs | ||
- | </ | ||
- | |||
- | GUI: Enter the user name Admin with password zabbix to log in as a Zabbix superuser. | ||
- | |||
- | ===== Configuration ===== | ||
- | |||
- | ==== Zabbix ==== | ||
- | - Add Host (Define host to be supervised) | ||
- | - Add Item (Ping check: Simple check -> icmpping) | ||
- | |||
- | ==== NetModule Router ==== | ||
- | * Administartive status: enabled | ||
- | * Operation mode: v1|v2c|v3 | ||
- | * Contact/ | ||
- | * Listening port: 161 | ||
- | * Read community: public | ||
- | * Admin access: enabled | ||
- | * Admin community: private | ||
- | * Allowed host: 0.0.0.0 (= all) or <IP of Zabbix Server> | ||
- | |||
- | Zabbix | ||
- | |||
- | Templates | ||
- | - Define macro {$SNMP_COMMUNITY} value private | ||
- | |||
- | - Create Item e.g. | ||
- | * Name: Serial Number | ||
- | * Type: SNMP v2 agent | ||
- | * Key: serialNumber -> (see private MIB Router) | ||
- | * SNMP OID: SNMPv2-SMI:: | ||
- | * See private MIB: enterprises.31496, | ||
- | {{: | ||
- | {{: | ||
- | {{: | ||
- | {{: | ||
- | {{: | ||
- | {{: | ||
- | {{: | ||
- | |||
- | |||
- | |||
- | ===== Links ===== | ||
- | * [[http:// | ||
- | * [[https:// | ||
- | |||
- |