Zabbix

Installation

Find an installation guide under www.zabbix.com/documentation/2.2/manual/installation.

Under Debian Wheezy the steps are:

# add zabbix repo to apt sources
wget http://repo.zabbix.com/zabbix/2.2/debian/pool/main/z/zabbix-release/zabbix-release_2.2-1+wheezy_all.deb
dpkg -i zabbix-release_2.2-1+wheezy_all.deb
apt-get update
 
# install MySQL server
apt-get install mysql-server
 
# edit /etc/mysql/my.cnf
[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 /etc/apache2/conf.d/zabbix and restart Apache
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
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

  1. Add Host (Define host to be supervised)
  2. Add Item (Ping check: Simple check → icmpping)
  3. Define macro {$SNMP_COMMUNITY} value private
  4. Create Item e.g.
    • Name: Serial Number
    • Type: SNMP v2 agent
    • Key: serialNumber → (see private MIB Router)
    • SNMP OID: SNMPv2-SMI::enterprises.31496.10.40.3.0
      • See private MIB: enterprises.31496, 10 = products, 40 = admin, 3 = serialNumber, 0 (???- index)

Administration→Scripts “Name” is a path describing the menu structure To execute a script left-click on the host GPS Positions via SNMP Triggers

NetModule Router

  • Administartive status: enabled
  • Operation mode: v1|v2c|v3
  • Contact/Location: <optional>
  • Listening port: 161
  • Read community: public
  • Admin access: enabled
    • Admin community: private
    • Allowed host: 0.0.0.0 (= all) or <IP of Zabbix Server>

NetModule Router Template

SNMP Builder is an add-in for Zabbix. It provides new web interface components to browse MIB trees and values. SNMP OIDs can then be automatically converted into Zabbix items and inserted into a template. The underlying snmpbuilder script uses calls to NetSNMP in order to communicate with devices on the network. External Link Front-end tree of Zabbix with SNMP builder installed External Link and for information the MIB files External Link.