January 2019
Intermediate to advanced
798 pages
20h 33m
English
Using embedded Perl code in snmptrapd is the easiest method to set up. Unless you need extra functionality, it is suggested to stick with this method.
We'll start by configuring snmptrapd to pass information to Zabbix. There is an example script in the Zabbix sources called misc/snmptrap/zabbix_trap_receiver.pl. Place this file in some reasonable location—perhaps a bin subdirectory in the Zabbix home directory. If the directory does not exist, create it, as follows:
# mkdir -p /home/zabbix/bin; chown zabbix /home/zabbix
Place the zabbix_trap_receiver.pl file in this directory:
# cp misc/snmptrap/zabbix_trap_receiver.pl ...
Read now
Unlock full access