Page 1 of 1

Capture remote SNMP Traps

Posted: Mon Jun 15, 2015 12:34 pm
by derekb
I have a question, and I've been trying to think of the best way to handle this...
We have a central Nagios XI server that we're using to monitor hosts. We have been deploying raspberrypi units running NRPE to monitor hosts BEYOND the NRPE agent. So far this has been working wonderfully!

What I'm trying to do is have SNMP traps sent to the NRPE agent, and then sent back to Nagios XI to be reported in the interface.

What would be the best way to accomplish this?

Re: Capture remote SNMP Traps

Posted: Mon Jun 15, 2015 2:20 pm
by ssax
Edit your /etc/snmp/snmptrapd.conf on the NRPE agent and add:

Code: Select all

forward default YOUR.XI.SERVER.IP:162
Then:

Code: Select all

service snmptrapd restart
Then it will forward them to the XI server.