Monday, March 3, 2014

Event Integration From 3rd-party Monitoring Tools - Part 7: SNMP trap adapter configuration using GUI

Since SNMP trap adapter is responsible to translate a SNMP trap into an event in BAROC format, it needs some instruction to know how to translate.  This instruction is contained in the MIB file provided by the vendor of your 3rd-party monitoring software. You need to ask the administrator of your 3rd-party monitoring software to send you a copy of MIB file before you start configuring SNMP trap adapter.

The purpose of configuring SNMP trap adapter is to generate the following 4 files from your MIB file:

mcsnmptrapdmib.dat
mcsnmptrapdmib.map
mcsnmptrapdmib.baroc
mcsnmptrapdmibe.baroc

You can choose either GUI method or command line method to achieve that.  This is an one-time process and you will use the same 4 files for all your development, QA, and production environments.  You only need to go through this configuration process again if your MIB file has changed.

Method 1: Using GUI

Download SNMP Configuration Manager from BMC EPD site.  Install SNMP Configuration Manager. You will be asked to input JDK Home directory, Perl Home directory, and TOMCAT port numbers. The default TOMCAT port numbers are 8080 (listening) and 8005 (shutdown). Verify both ports are available first.

Since this is an one-time process and SNMP Configuration Manager is not needed during run time, I recommend to install SNMP Configuration Manager on a test server that has no TOMCAT running.  It is best not to install SNMP Configuration Manager on the same server where BPPM server is located to avoid TOMCAT port conflict.

Once SNMP Configuration Manager has been installed, you can access it through this URL:

http://<servername>:8080/snmpadapter/

SNMP Configuration Manager will ask you for the location of your MIB file.  As the result of publishing the MIB file, it will generate the above four files. Verify that mcsnmptrapdmib.dat and mcsnmptrapdmib.map are located in %MCELL_HOME%\etc\ directory.  Verify that mcsnmptrapdmib.baroc and mcsnmptrapdmibe.baroc are located in %MCELL_HOME%\bin\ directory.

We will discuss how to configure SNMP trap adapter using command line in the next post.


No comments:

Post a Comment