How to configure SNMP TRAP on Nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
ABBsupervision
Posts: 41
Joined: Tue Jun 08, 2021 4:20 am

How to configure SNMP TRAP on Nagios xi

Post by ABBsupervision »

Hello Team,

I am having a problems figuring out how to use the MIB file to monitor RAM / CPU / DISK / PSU / Fans ... and other traps on my appliances though Nagios xi.

Could you please show me step by step how to configure SNMP TRAP ?

Best Regards,
SOUHAIB
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: How to configure SNMP TRAP on Nagios xi

Post by ssax »

Generally, you would use SNMP polling (Configure > Configuration Wizards > SNMP or SNMP Walk wizards) or active checks in order to monitor items on the remote systems. Or there may be 3rd party plugins that monitor those specific devices, it depends on what the appliance is.

The SNMP Traps would originate on the sending device so the remote device would need to support and be configured to send those SNMP Traps into xi, then you would follow this:

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

MIBs really only translate numbered OIDs to human readable format for SNMP polling and SNMP traps:

Code: Select all

.1.3.6.1.2.1.1.1.0 > SNMPv2-MIB::sysDescr.0
Or can contain SNMP Trap/Inform definitions as well.

Code: Select all

# /usr/share/snmp/mibs/IF-MIB.txt
linkDown NOTIFICATION-TYPE
    OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
    STATUS  current
    DESCRIPTION
            "A linkDown trap signifies that the SNMP entity, acting in
            an agent role, has detected that the ifOperStatus object for
            one of its communication links is about to enter the down
            state from some other state (but not from the notPresent
            state).  This other state is indicated by the included value
            of ifOperStatus."
    ::= { snmpTraps 3 }

linkUp NOTIFICATION-TYPE
    OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
    STATUS  current
    DESCRIPTION
            "A linkUp trap signifies that the SNMP entity, acting in an
            agent role, has detected that the ifOperStatus object for
            one of its communication links left the down state and
            transitioned into some other state (but not into the
            notPresent state).  This other state is indicated by the
            included value of ifOperStatus."
    ::= { snmpTraps 4 }
Here are some other good links that might help fill some gaps:

https://support.nagios.com/kb/article/n ... al-77.html
https://support.nagios.com/kb/article/s ... s-558.html
https://support.nagios.com/kb/article/n ... e-841.html
https://support.nagios.com/kb/article/n ... s-270.html
https://support.nagios.com/kb/article/n ... re-73.html
http://www.snmptt.org/docs/snmptt.shtml
ABBsupervision
Posts: 41
Joined: Tue Jun 08, 2021 4:20 am

Re: How to configure SNMP TRAP on Nagios xi

Post by ABBsupervision »

Hello,

I will check the references and get back to you as soon as possible
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: How to configure SNMP TRAP on Nagios xi

Post by gsmith »

Hi

Sounds good

Thank you
ABBsupervision
Posts: 41
Joined: Tue Jun 08, 2021 4:20 am

Re: How to configure SNMP TRAP on Nagios xi

Post by ABBsupervision »

Hello teams,

We are still checking.

Best regards,
SOUHAIB
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: How to configure SNMP TRAP on Nagios xi

Post by gsmith »

Hi,

OK, thanks for the update.

Good luck