Page 1 of 1

Best solution for snmp trap with Nagios Core

Posted: Tue May 03, 2022 5:34 am
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.

Re: Best solution for snmp trap with Nagios Core

Posted: Tue May 10, 2022 7:35 am
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

Re: Best solution for snmp trap with Nagios Core

Posted: Tue May 10, 2022 9:16 am
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.