Capture remote SNMP Traps

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Capture remote SNMP Traps

Post 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?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Capture remote SNMP Traps

Post 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.
Locked