I Want to monitor SAN brocade switch using SNMP Trap
-
- Posts: 19
- Joined: Tue May 25, 2021 7:24 am
I Want to monitor SAN brocade switch using SNMP Trap
I Want to monitor SAN brocade switch using SNMP Trap
Re: I Want to monitor SAN brocade switch using SNMP Trap
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
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
Re: I Want to monitor SAN brocade switch using SNMP Trap
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
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
Re: I Want to monitor SAN brocade switch using SNMP Trap
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/n ... n-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/n ... re-73.html
https://support.nagios.com/kb/article/n ... al-77.html
https://support.nagios.com/kb/article/s ... ce-89.html
Thank you.
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/n ... n-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/n ... re-73.html
https://support.nagios.com/kb/article/n ... al-77.html
https://support.nagios.com/kb/article/s ... ce-89.html
Thank you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 19
- Joined: Tue May 25, 2021 7:24 am
Re: I Want to monitor SAN brocade switch using SNMP Trap
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