How to Monitor the Blackberry Server using eG Enterprise?

The eG agent connects to the SNMP MIB of the BlackBerry server and extracts metrics of interest from it. For this, you need to make sure that the following requirements are done before attempting to monitor the Blackberry server;

  • SNMP service should be installed and started on the BlackBerry server.
  • You need to configure the SNMP Service of the BlackBerry host to accept SNMP packets from the BlackBerry application.

The procedure to install, start and configure the SNMP service on the Blackberry server is explained in the upcoming sections.

Install the SNMP Service and SNMP Management Tool

  1. On the computer on which the BlackBerry server is installed, on the taskbar, click Control Panel -> Add/Remove Programs -> Add/Remove WindowsComponents -> Management and Monitoring Tools -> Details.
  2. Install the SNMP service. See the Windows or Microsoft Windows Server™ documentation for more information.
  3. To verify that the SNMP service was installed, perform one of the following actions:
  4. Windows Server 2003: In Windows Services, verify that the SNMP service appears.
  5. Windows 2000: On the taskbar, click Control Panel -> Add/Remove Programs -> Add/Remove Windows Components -> Management and Monitoring Tools -> Details. Verify that the SNMP service appears.
  6. On the computer on which the BlackBerry server is installed, install the SNMP management tool.
  7. Start the SNMP service and the BlackBerry Enterprise Server services.

Register the SNMP Agent

  1. Verify that the correct SNMP registry keys were installed in the registry when you installed the BlackBerry Enterprise Server. If the keys were not installed automatically, create them manually.
  2. If the version of the BlackBerry enterprise server is 3.5 or 3.6 then do the following to enable SNMP:

    Registry Key Value Type Value Name Value Data

    HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\ BlackBerry Enterprise Server\SNMPAgent\CurrentVersion

    String Value

    PathName

    C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BlackBerryServerSNMPAgent.dll

    HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet\Services\SNMP\Parameters\ ExtensionAgents

    String Value

    Server

    SOFTWARE\Research In Motion\BlackBerry Enterprise Server\SNMPAgent\CurrentVersion

  3. Start the SNMP Service and the BlackBerry Enterprise Server.
  4. Check the Event Viewer System Log for SNMP Service startup failures.
  5. The BlackBerry Enterprise Server Management Information Base (MIB) is located in the BlackBerryServer.mib file in C:\Program Files\Research In Motion\BlackBerry Enterprise Server
  6. Use a third-party SNMP browser (for example, Cisco Systems® Works 2000) to compile the MIB file.
  7. If you created the SNMP registry keys manually, restart the SNMP service.

If the version of the BlackBerry enterprise server is 4.1 then do the following to enable SNMP:

  1. Open the Registry Editor and go to HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server.
  2. Right-click BlackBerry Enterprise Server, select New -> Key, and name it SNMPAgent.
  3. Right-click SNMPAgent, select New -> Key, and name it CurrentVersion.
  4. Right-click CurrentVersion, select New -> String Value, and name it PathName.
  5. Right-click PathName and select Modify.
  6. Under Value data, type C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BlackBerryServerSNMPAgent.dll or point to the path where the BlackBerryServerSNMPAgent.dll file exists.
  7. In the Microsoft Windows Control Panel, open Administrative Tools > Services.
  8. Right-click SNMP Service and select Restart.

Set up the SNMP Service

You must create a community name and assign permissions to the community name to view SNMP events. At a minimum, Research In Motion (RIM) requires that you to assign read-only permissions to the community name.

  1. Right-click the SNMP service. Click Properties.
  2. On the Security tab, in the Accepted Community Names section, click Add.
  3. In the Community rights drop-down list, click the desired permission.
  4. In the Community name field, type public.
  5. Select the desired hosts to accept SNMP packets from.
  6. Click OK.

Configuring the SNMP Service of the BlackBerry Host

To explicitly configure the SNMP Service of the BlackBerry host to receive SNMP packets from itself, follow the steps given below:

  1. Open the Services window on the BlackBerry host.
  2. Select the snmp Service, right-click on it, and pick the Properties option from the shortcut menu that appears.

    snmp-1

    Figure 1 : Selecting the Properties option

  3. Click on the Security tab page in the SNMP Service Properties dialog box that appears, select the Accept SNMP packets from these hosts option in the dialog box, and click the Add button therein.

    snmp-2

    Figure 2 : The SNMP Service Properties dialog box

  4. In Figure 3 that appears next, specify the host name of the BlackBerry host and click the Add button.

    snmp-3

    Figure 3 : Configuring the host name of the BlackBerry host

  5. Upon returning to Figure 2, click on the Add button again. When Figure 4 appears, provide the IP address of the BlackBerry host and click the Add button.

    snmp-4

    Figure 4 : Specifying the IP address of the BlackBerry host

  6. When Figure 5 appears, you will find that both the IP address and host name of the BlackBerry host are displayed therein. Finally, click the Apply and ok buttons in Figure 5.

    snmp-5

    Figure 5 : The IP address and host name of the BlackBerry host