Page 1 of 1

How to configure SNMP TRAP on Nagios XI

Posted: Thu Nov 11, 2021 9:23 am
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

Re: How to configure SNMP TRAP on Nagios XI

Posted: Thu Nov 11, 2021 4:30 pm
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

Re: How to configure SNMP TRAP on Nagios XI

Posted: Wed Nov 24, 2021 3:44 am
by ABBsupervision
Hello,

I will check the references and get back to you as soon as possible

Re: How to configure SNMP TRAP on Nagios XI

Posted: Wed Nov 24, 2021 2:28 pm
by gsmith
Hi

Sounds good

Thank you

Re: How to configure SNMP TRAP on Nagios XI

Posted: Thu Dec 09, 2021 8:01 am
by ABBsupervision
Hello teams,

We are still checking.

Best regards,
SOUHAIB

Re: How to configure SNMP TRAP on Nagios XI

Posted: Thu Dec 09, 2021 5:47 pm
by gsmith
Hi,

OK, thanks for the update.

Good luck