This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

17 Utilities

1 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.

2 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