Wednesday, February 6, 2013

[OpsMgr 2007 R2][OpsMgr 2012] Generate & View SCOM reports on iOS mobile devices

Overview:

With the immense boom in the smart phone and tablet device market, many customers are moving towards accessing SCOM reports on mobile devices. They need a solution to view and generate SCOM reports on the go using their ipads and iphones. There is a solution for this and is very easy to setup. Below article will walk you through the setup process. The trick here is to access the SQL reporting services that you installed with your SCOM installation through multiple on your iOS devices.


For more details please visit : http://techordian.com/2013/02/01/scom-2007r2-2012-generate-view-scom-reports-on-ios-mobile-devices/

This posting is provided "AS IS" with no warranties.

Monday, February 4, 2013

[Windows Server 2012] Windows Server 2012 Standard x64 Core EVAL

This download comes as a pre-configured VHD and enables you evaluate Microsoft Windows Server 2012 (Standard Edition, Core, x64)


 

Quick details

Version:1.0Date published:1/31/2013
Language:English

Files in this download

The links in this section correspond to files available for this download. Download the files appropriate for you.
File nameSize
TD08WS12SCx64.exe          318 KB           Download
TD08WS12SCx64-1.bin953.4 MBDownload
TD08WS12SCx64-2.bin920.4 MBDownload

Overview

Download and evaluate this Windows Server 2012 (Standard/Core/x64) Virtual Machine. You will have the opportunity to try the new and improved features of Windows Server 2012 for 180 days.

Note: This is a CORE install of WS2012, and as such there is no GUI.

To find out more about Windows Server 2012, please click here. Please note that this product is available for evaluation purposes only. It is strictly prohibited to use this image in any type of production environment.

System requirements

Supported operating systems: Windows Server 2012
You must have a Hyper-V enabled host to run this Virtual Machine. Additional information about Hyper-V, including installation instructions and system requirements, can be found here.

Instructions

1. Run the self-extracting exe. The package and admin password is "pass@word1"
2. When extraction is complete, open Hyper-V
3. Select IMPORT from the navigation menu
4. Browse and select the directory where the image was just extracted
5. Select either "Move" or "Copy"
6. Click the IMPORT button

Once import is complete, you will need to create/assign a virtual NIC that has Internet access - a requirement to active the OS. You will have 10 days to activate this image, after which you will have 180 days of unlimited use. Once activated, you are no longer required to be connected to the Internet.

Details on installing Hyper-V can be found here.

This posting is provided "AS IS" with no warranties.

Friday, February 1, 2013

[OpsMgr 2007 R2][OpsMgr /2012] Mise à jour (v1.1) des rapports de performances - Jean-Sébastien DUCHÊNE

 has published several customized reports to enrich poor reports of System Center Operations Manager.
 

 
Someone reported him a problem with performance reports. They can display performance data from one machine to rules applied and instances discovered. The problem is when the Management Pack designer did not report the name of the instance in the performance rule. This is for example the case for the rule Buffer Cache Hit Ratio of SQL Server Management Pack. Therefore, the report lists a single instance with null value ​​and combines all instances found. After checking, it seems that this practice is more than common because my client has no less than 780 rules in this case!
 
Management Pack designers should be vigilant in specifying this element because it is the only thing available in the Data Warehouse (CounterName and Object fields are not replicated from operational database). So he has to "cheat" and refer to the object itself, the query is less efficient but allows you to retrieve the right things.
You will find so reports:
  • Agent - Performance Raw Report
  • Agent - Performance Hourly Aggregation Report
  • Agent - Performance Daily Aggregation Report

This posting is provided "AS IS" with no warranties.

Thursday, January 31, 2013

[OpsMgr 2012][Powershell] Get Alerts for all specified SCOM MP using powershell in Operations Manager 2012


Here is a short powershell script I've just updated to be usable in operations Manager 2012 since cmdlet have been renamed. This script will help you to retrieve alerts from a specified SCOM MP using powershell.
 

Note that previous version dedicated to Operations Manager 2007 R2 is here
  
Here is the new script :

  1. $mp = Get-SCOMManagementPack -name 'MPName'
  2. # Criteria       : All alerts, raw and processed descriptions.
  3. # Output to      : File (c:\temp\output\Alerts-all.csv)
  4. # Fields Selected: Lots.
  5. # Output Format  : CSV
  6. # Notes          : Need more work on this.
  7. $alerts_csv = "C:\MPName.csv";
  8. write-host "Exporting all alerts to csv: ",$alerts_csv;
  9. Get-SCOMAlert | select-object @{Name = '%'; expression ={$_.MonitoringObjectDisplayName}},Severity, Name, ResolutionState, RepeatCount,@{Name = 'Instances'; expression ={$_.RepeatCount+1}},@{Name = 'Created'; expression =
  10. {$_.TimeRaised.ToLocalTime()}},@{Name = 'Description (Processed)';Expression = {$_.Description  -replace "`n"," " -replace " "," "}},MonitoringObjectFullName, IsMonitorAlert,Id,MonitoringRuleId,MonitoringClassId,Description | sort Name | export-csv $alerts_csv -noTypeInformation;
 Replace MPName in red by the your MP Name. Il will export all alerts in a CSV file.

This posting is provided "AS IS" with no warranties.

[OpsMgr 2007 R2][OpsMgr 2012] Get Rule/Monitor full information from Rule/Monitor name - Powershell script



Today, I've had a request to retrieve all informations for a rule that was generating too much alerts. The rule was give, by it's name and the name was not really user friendly : _08C092E8_FD6F_48b2_BA1E_473C3B84A2F3_.RaiseAlert

Thanks to the Exchange Server 2010 Management pack developper team :)

So I've create a short powershell function to add to my powershell profile :

  1. Function RuleInfo  ([string]$RuleName)
  2. {
  3. get-rule | where {$_.Name -eq $RuleName} | select-object @{Name="MP";Expression={ foreach-object {$_.GetManagementPack().DisplayName }}}, @{Name="MP Version";Expression={ foreach-object {$_.GetManagementPack().Version }}}, Name, DisplayName, XmlTag, Enabled, Category, Target, ConfirmDelivery, Remotable, Priority, DiscardLevel, ConditionDetection, DataSourceCollection, WriteActionCollection, Id, Description, Comment, Status, LastModified, TimeAdded
  4. }
Then I've launch it in my powershell console using the line :

RuleInfo  _08C092E8_FD6F_48b2_BA1E_473C3B84A2F3_.RaiseAlert

Result is like :



 Well done ! :)


I've also created the same function for monitors :

  1. Function MonitorInfo  ([string]$MonitorName)
  2. {
  3. get-monitor | where {$_.Name -eq $MonitorName} | select-object @{Name="MP";Expression={ foreach-object {$_.GetManagementPack().DisplayName }}}, @{Name="MP Version";Expression={ foreach-object {$_.GetManagementPack().Version }}}, Name, DisplayName, XmlTag, Enabled, Category, Configuration, Id, ConfirmDelivery, OperationalStateCollection, Target, ParentMonitorID, Remotable, Priority, RunAs, AlertSettings, Accessibility, Description, LanguageCode, Comment, Status, LastModified, TimeAdded
  4. }
Have fun !

This posting is provided "AS IS" with no warranties.

Wednesday, January 30, 2013

[OpsMgr 2012] How to Display Management Group Information - VBS Script

Updated: January 31, 2012
Applies To: System Center 2012 - Operations Manager





In Operations Manager, you can create a script that can retrieve a management group or a collection of management groups from the agent.

Example

The following is an example script, which is written in VBScript, that displays information about management groups. For more information about parameters, return values, usage, and errors, see GetManagementGroups Method or GetManagementGroup Method.
 
  1. Option Explicit
  2. Dim objMSConfig
  3. Set objMSConfig = CreateObject("AgentConfigManager.MgmtSvcCfg")
  4. 'Get a management group and display the server name
  5. Dim objMG
  6. Set objMG = objMSConfig.GetManagementGroup ("MyManagementGroupToGet”)
  7. MsgBox  objMG.ManagementGroupServer
  8. 'Get all management groups and display the port
  9. Dim collMG
  10. Set collMG = objMSConfig.GetManagementGroups()
  11. 'Enumerate the collection
  12. Dim mgItem
  13. For Each mgItem In collMG
  14.    MsgBox CInt(objMG.ManagementServerPort)
  15. Next

This posting is provided "AS IS" with no warranties.

[OpsMgr 2012] How to Add and Remove a Management Group - VBS Script

Updated: January 31, 2012
Applies To: System Center 2012 - Operations Manager



In Operations Manager, you can create a script that can add or remove a management group from the agent.

Example

The following is an example script, which is written in VBScript, that adds or removes a management group. For more information about parameters, return values, usage, and errors, see AddManagementGroup Method or RemoveManagementGroup Method.
 
 
 
  1. Option Explicit
  2. Dim objMSConfig
  3. Set objMSConfig = CreateObject("AgentConfigManager.MgmtSvcCfg")
  4. ‘Add a management group
  5. Call objMSConfig.AddManagementGroup ("MyManagementGroupToAdd", "company.sm.net",5723)
  6. ‘Remove a management group
  7. Call objMSConfig.RemoveManagementGroup ("MyManagementGroupToRemove”)

This posting is provided "AS IS" with no warranties.