Monday, April 13, 2015

BlackBerry BES 12 Management Pack for SCOM 2012 R2

This management pack is for monitoring BlackBerry Enterprise Server version 12.

This MP is designed for BES 12 servers that have been upgraded from BES version 5. This setup is done in order to manage BlackBerry legacy and BB10 devices.

(Link to download xml file below)

Console View:


This management pack uses a seed class that searches for the following registry key:

 Monitored BES and BES12 Services:

NOTE: All Monitors are enabled by default. In a Cluster setup, monitors for services set to ‘Manual’ could be disabled in order to avoid alerts from the passive node when servers are rebooted.

Distributed Application:

The Management Pack and the information is provided “AS IS” with no warranties. Use at your own risk!


Thursday, April 9, 2015

SCOM 2012 R2 Command Notification Channel using PowerShell Fails

This issue may be common but I couldn't find any information on the different SCOM blogs hence I decided to post it.

I added a second Management Server (MS) to my lab management group.
I have some Command channels that execute different PowerShell scripts copied locally on the RMSe which are triggered by an event rule.
The trigger rule was being generated successfully but the PowerShell scripts did not get executed.


1. The new MS is automatically added to the “Notification Resource Pool” therefore it needs the same scripts copied locally. (Same folder structure for both MS servers)

2. The Notifications account needs appropriate permission on the folder/share where these scripts are stored to execute them.

3.  To maintain the same information on both Script shares I have created a batch file with a Robocopy command which is executed weekly via a Scheduled Task

       Command in Batch file:
       robocopy "C:\SCOM\ScriptFolder" "\\MS2\C$\SCOM\ScriptFolder" 
       /E /ZB /X /PURGE /COPYALL /TEE /LOG:E:\Copy_from_HD_to_Ext_HD.log

       Meaning of switches used in above command explained below

         /E :: copy subdirectories, including Empty ones.     

        /ZB :: use restartable mode; if access denied use Backup mode.

       /COPYALL :: COPY ALL file info (equivalent to /COPY:DATSOU).

       /PURGE :: delete dest files/dirs that no longer exist in source.

       /X :: report all eXtra files, not just those selected.

      /TEE :: output to console window, as well as the log file.

      /LOG:file :: output status to LOG file (overwrite existing log).

      Thanks to ITBloggerTips for posting this very useful Robocopy command!!

The information is provided “AS IS” with no warranties. Use at your own risk!