We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

I Want to monitor SAN brocade switch using SNMP Trap

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

I Want to monitor SAN brocade switch using SNMP Trap

Postby ashok.verma » Thu Mar 03, 2022 6:26 am

I Want to monitor SAN brocade switch using SNMP Trap
ashok.verma
 
Posts: 19
Joined: Tue May 25, 2021 7:24 am

Re: I Want to monitor SAN brocade switch using SNMP Trap

Postby gormank » Fri Mar 04, 2022 4:44 pm

Basically, you'll need an SNMP trap passive service on the Nagios server, define the switch as a host, and add it to the trap service. Then you need to put the switch MIB in the mibs directory and use addmib or NSTI to add the mib to the snmptt config. Here's a doc that explains how to do that stuff.

https://assets.nagios.com/downloads/nag ... ios_XI.pdf
gormank
 
Posts: 1010
Joined: Tue Dec 02, 2014 12:00 pm

Re: I Want to monitor SAN brocade switch using SNMP Trap

Postby gormank » Fri Mar 04, 2022 5:16 pm

Sorry, I forgot to mention that you have to set up the switch to send traps to the Nagios address. Here are some example commands that you'll want to change to suit your switches.

snmpconfig --show snmpv1
snmpConfig --enable snmpv1
snmpconfig --set snmpv1 -index 1 -severity 5 -community commune -host 172.30.130.52
snmpconfig --set snmpv1 -index 2 -severity 5 -community commune -host 172.30.130.53
snmpconfig --show snmpv1
snmpTraps [ --send [-trap_name <trap_name>] [ -ip_address <ip_address> ] | --show [port]] | [ --block|--unblock -port <Slot/Port> | ALL]
snmpTraps --show ALL
snmpTraps --show # show traps
snmpTraps --send # send the traps--like send test trap on other devices
gormank
 
Posts: 1010
Joined: Tue Dec 02, 2014 12:00 pm

Re: I Want to monitor SAN brocade switch using SNMP Trap

Postby tgriep » Tue Mar 29, 2022 11:13 am

We talked earlier and you said that the device is setup to use SNMP version 3 to send the traps.

To get the XI server to accept SNMPv3 traps, the /etc/snmp/snmptrapd.conf file has to be updated with the username, credentials, etc and this KB article has the various settings that need to be done.
https://support.nagios.com/kb/article/nagios-xi-snmp-trap-v3-configuration-827.html

What you are going to need is the username, encryption password, the encryption protocol, the privacy password, the privacy protocol and the EngineID from the device if needed if the device uses an EngineID.
You will have to go the manufacturer of the device to see if it uses an EngineID and how to get that.

The first time a trap is received by the Nagios XI server, it has to be configured.
If you login to the XI GUI and go to the Admin > Unconfigured Objects menu, and you see that Trap there from the switch, you will have to configure it and from then on, the system will automatically receive it.

Here are some other articles you can review for more details on SNMP Traps and Nagios XI.
https://support.nagios.com/kb/article/nagios-xi-manage-mibs-architecture-73.html
https://support.nagios.com/kb/article/nagios-xi-snmp-trap-tutorial-77.html
https://support.nagios.com/kb/article/snmp-trap-snmptt-service-89.html

Thank you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 9157
Joined: Thu Oct 30, 2014 9:02 am

Re: I Want to monitor SAN brocade switch using SNMP Trap

Postby ashok.verma » Fri Apr 01, 2022 11:27 am

I am still facing issue can we please connect on webex call so that I can share my screen and accordingly you can guide me. Thanks in advance
ashok.verma
 
Posts: 19
Joined: Tue May 25, 2021 7:24 am


Return to Community Support

Who is online

Users browsing this forum: expertus and 24 guests