Send SNMP trap from Linux server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ets_user
Posts: 78
Joined: Mon Mar 30, 2020 2:50 am

Send SNMP trap from Linux server

Post by ets_user »

Hi,

We already have trap mechanism to Nagios from some of the external monitoring software like Nutanix.

There we open the firewall port 162 from server to Nagios and define the MIB.

Now we would like to know if its the same procedure for Linux server as well.

We want to send SNMP traps from applications running Linux server to Nagios.

Please help on this.

Thanks.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Send SNMP trap from Linux server

Post by ssax »

It depends on the Linux distros you're trying to set it up on but it's the same process for both. Allowing port 162 UDP and making sure your MIBs are on the system. Do you have any specific questions about it? What distros are you trying to do it on? Do your apps support sending SNMP traps (that matters)? Otherwise it's generally as simple as installing net-snmp and doing this:

https://serverfault.com/a/483958

You can follow this guide for the Trap Setup if you have the XI Enterprise License:

https://assets.nagios.com/downloads/nag ... h-NXTI.pdf

See here if you do not have the Enterprise License:

https://assets.nagios.com/downloads/nag ... ios_XI.pdf

Let us know if you have any questions.
Locked