Zabbix Documentation 1.8

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


Sidebar

manual:config:utilities

17 Utilities

6.5.25 Start-up scripts

The scripts are used to automatically start/stop Zabbix processes during system's start-up/shutdown.

The scripts are located under directory misc/init.d.

6.5.26 snmptrap.sh

The script is used to receive SNMP traps. The script must be used in combination with snmptrapd, which is part of package net-snmp.

Configuration guide:

  • Install snmptrapd (part of net-snmp or ucd-snmp)
  • Edit snmptrapd.conf.
    Add this line:

traphandle default /bin/bash /home/zabbix/bin/snmptrap.sh

  • Copy misc/snmptrap/snmptrap.sh to ~zabbix/bin
  • Edit snmptrap.sh to configure some basic parameters
  • Add special host and trapper (type “string”) item to Zabbix. See snmptrap.sh for the item's key.
  • Run snmptrapd