Hello,
I would like pass SNMP traps to Zabbix via zabbix_trap_receiver.pl perl script. My configuration is very similar to example from Zabbix blog (https://blog.zabbix.com/snmp-traps-in-zabbix/).
My SNMPTrapperFile is localized in /var/log/zabbix/ and zabbix_trap_receiver.pl is in /usr/bin/ directory.
When I temporarily disable SELinux everything works but when SELinux works snmptrapd can't write to SNMPTrapperFile (even if file is in /tmp).
How to configure SELinux to allow snmp traps processing by Zabbix in Centos 7? From some reasons I would like not disable SELinux.
I am very basic in SElinux​.
Thanks
I would like pass SNMP traps to Zabbix via zabbix_trap_receiver.pl perl script. My configuration is very similar to example from Zabbix blog (https://blog.zabbix.com/snmp-traps-in-zabbix/).
My SNMPTrapperFile is localized in /var/log/zabbix/ and zabbix_trap_receiver.pl is in /usr/bin/ directory.
When I temporarily disable SELinux everything works but when SELinux works snmptrapd can't write to SNMPTrapperFile (even if file is in /tmp).
How to configure SELinux to allow snmp traps processing by Zabbix in Centos 7? From some reasons I would like not disable SELinux.
I am very basic in SElinux​.
Thanks