At the end of part one you saw that when a SNMP Trap was received it came with a lot of information AND it did not correctly reflect the state of the service on the sending server. These will come through as an Unconfigured Object initially because Nagios XI has never received a Passive check result for this host/service. The top screenshot is the SNMP Sender monitoring the CentOS sever and the bottom screenshot is the SNMP Receiving server configured with SNMP Trap services. The arguments being sent also include variables which are explained below: "$r" = The hostname of the device that sent the trap to this server, The name of the service we are sending a Passive check for is "SNMP Traps", "$s" = the SEVERITY defined in the EVENT line (in this case it is Normal), "$@" = the EPOCH value of when the trap was received, $-* means it will expand all the variables (OBJECTS) that were sent with the trap in the format of "variable name (variable type):value", = "The SNMP trap that is generated as a result of an event with the service $*", $* means it will expand all the variables (OBJECTS) that were sent with the trap (exactly the same as the FORMAT line), When you put it all together what is actually being executed by the EXEC line is: (all in a SINGLE line, no line breaks like below). Nagios Core - SNMP Trap Integration - Nagios Support 2. SNMP is a powerful and ubiquitous management protocol in most IT infrastructures. Change the EXEC line so it is as follows: Press Enter to save the changes to the existing file. SNMP stands for simple network management protocol. SNMP means Simple Network Management Protocol. In many steps of this article you will be required to edit files. Careers. Configure SNMP to start when the server boots: If you have a firewall configured, ensure that you have UDP port 161 open to your SNMP lookup server. To stop snmptrapd from performing DNS lookups edit the file: Change the OPTIONS (line 29) so it has the -n argument: Save the file and restart the snmptrapd service. So far we have identified the following: The next step is to learn about SNMP OIDs and MIBs. This functionality allows administrators to easily integrate Nagios XI into an environment where multiple Network Management Systems are used. Thanks for contributing an answer to Stack Overflow! This document is intended for use by Nagios XI Administrators who wish to learn how SNMP Traps work. to. Applications, images, documents, and other files of all sorts are most commonly shared across the internet in the RAR format. It requires the following arguments: