Best solution for snmp trap with Nagios Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
walter.palumbo
Posts: 2
Joined: Tue May 03, 2022 5:21 am

Best solution for snmp trap with Nagios Core

Post by walter.palumbo »

:?: Hello everyone,
what is the best soluzione for snmp trap with Nagios Core? :?: :?:
I see present NSTI, snmptrapd + snmtpd. Thanks in advance.
RickyReyesmatrina
Posts: 7
Joined: Fri Apr 01, 2022 1:24 am

Re: Best solution for snmp trap with Nagios Core

Post by RickyReyesmatrina »

The SNMPTT checks the incoming traps against existing trap definitions. If the incoming trap matches an incoming definition, it passes the trap to Nagios XI, where the trap receives standard Nagios treatment:

Event is logged

Alert is generated
Notifications/Event Handlers (or both) occur.
If the incoming trap does not match an incoming definition, the trap is sent to the Unknown Trap Log
◦ Unconfigured Objects are handled with the SNMP Trap Wizard


Defining Traps
We can create the trap definitions in two ways.

We can create it from a MIB we upload to Nagios XI
In a case where either no MIB exists, or the existing MIB does not define a required trap, we can define the trap in the etc/snmp/snmptt.conf file
Also, this is how we can define custom/complex trap echatspin echatrandom definitions
Last edited by RickyReyesmatrina on Wed May 25, 2022 7:12 am, edited 1 time in total.
walter.palumbo
Posts: 2
Joined: Tue May 03, 2022 5:21 am

Re: Best solution for snmp trap with Nagios Core

Post by walter.palumbo »

Thanks for your reply,
i understand the mechanism, but i thing this system is very complicate in Nagios core version. If i have more peripherals to monitoring, the configuration much long.
Locked