O'Reilly logo
  • jim li thinks this is interesting:

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

From

Cover of Zabbix: Enterprise Network Monitoring Made Easy

Note

two ways to send / receive a trap :1.perl do "some perl script" 2.traphandle default(which can be more specified) "some custom bash scripts"