Via Nagios forwarded snmp traps have wrong sender
Posted: Wed Jul 01, 2020 4:34 am
We have to forward all incoming snmp traps to another system.
I've configured de snmp trap sender component in Nagios and changed snmptrapd.conf.
SNMP traps are forwarded now, but they all have the source address of our Nagios server.
Is there any methode to change this in the original source address/hostname so that the other system knows where the traps came from?
Our snmptrapd.conf:
disableAuthorization yes
traphandle default /usr/sbin/snmptthandler
forward default 10.241.142.15:162
We have Nagios XI 5.6.3 on Cent OS version: 7-6.1810.2.e17.centos.x86_64
I've configured de snmp trap sender component in Nagios and changed snmptrapd.conf.
SNMP traps are forwarded now, but they all have the source address of our Nagios server.
Is there any methode to change this in the original source address/hostname so that the other system knows where the traps came from?
Our snmptrapd.conf:
disableAuthorization yes
traphandle default /usr/sbin/snmptthandler
forward default 10.241.142.15:162
We have Nagios XI 5.6.3 on Cent OS version: 7-6.1810.2.e17.centos.x86_64