SCOM (Anglais)

PowerShell script to automatically close old alerts in SCOM

Microsoft Operations Manager and OMS -

The below PowerShell script can be used to automatically close old SCOM alerts. This script looks for active alerts along with the time when alert was created (alert age). If the alert age is greater than the specified number of days ($alertsTobeClosedBefore) then the script will close the alert for you. This script can help clean up some environments with lot of old alerts which are still active.

Script:

$alertsTobeClosedBefore = 5

$currentDate = Get-Date

Get-SCOMAlert | Where-Object {(($_.ResolutionState -ne 255) -and (($currentDate – $_.TimeRaised).TotalDays -ge $alertsTobeClosedBefore))} |Resolve-SCOMAlert

System Center Visual Studio Authoring Extension(VSAE) support for Visual Studio 2017 

Microsoft Operations Manager and OMS -

Visual Studio Authoring Extension(VSAE) is now updated to be compatible with Visual Studio(VS) 2017. VSAE is the most commonly used authoring extension by the Management Pack(MP) development community. The MP developers want to use it with the latest Visual Studio for the benefits that they get. The new VSAE(version 1.3.0.0) can be downloaded from here. For this extension to work as expected, the entire package of Visual Studio (including modeling SDK) must be pre-installed. You can verify if the extension is installed successfully by navigating to the Extensions and Updates section in Tools Menu.  

With this extension, user can create a Management Pack project, choose from one of the MP templates provided and author or edit an MP.  

If any queries, please write to us at SCOM user voice

Automatic Dependency Mapping with Service Map and Live Maps

Microsoft Operations Manager and OMS -

The following is a special guest blog from Savision

Modern enterprise IT infrastructures are becoming increasingly difficult to manage as the deployment of new services and applications continues to grow.  Applications tend to rely on many other services and applications to function, which often span many server and network components.  In order to fully understand the performance and availability of any particular application, a complete picture of all dependent services and applications is needed.  Without this picture, troubleshooting and root cause analysis are long, tedious, and typically involve many manual steps and processes.

Using Service Map

Service Map is an Azure management solution that automatically discovers and builds a common reference map of dependencies across servers, processes, and third-party services in real-time.  Using Service Map, IT organizations have access to the complete picture of application and system dependencies across Windows and Linux, whether running in an on-premises, pure cloud, or hybrid environment.

In addition to application and system dependencies, Service Map is also able to leverage other management solutions such as Log Analytics, Change Tracking, Update Management, and Security, providing a truly comprehensive view, all in the context of your service or application.

Discovered dependencies and contextual performance metrics from Service Map in Azure

Integration with System Center Operations Manager

Many organizations who are planning to or are already using Service Map may also have System Center Operations Manager (SCOM) deployed on-premises.  SCOM provides the most comprehensive cross-platform data center monitoring for operating systems, applications, and hypervisors.  For organizations who already rely on SCOM for critical IT operations, having visibility into the application and system dependencies discovered by Service Map is an essential feature. Thankfully, Microsoft has provided an integration between SCOM and Service Map, which automatically creates distributed application (DA) diagrams in SCOM based on the dynamic dependency maps in Service Map.  The Azure team has published a detailed article on how to setup the integration between SCOM and Service Map here.

This integration enables organizations that rely on SCOM to have a complete picture of all application and system dependencies in their IT infrastructure.  However, there are still more questions to be answered.  What if exceptions need to be made to the dependencies that are discovered?  There are cases where explicit inclusions or exclusions need to be made to the dependencies that are discovered.  What if service-level tracking is needed for these discovered applications and services?  How does an organization visualize all of these discovered services and applications in a single, dynamic, easy-to-understand dashboard?  This is where the integration with Savision Live Maps comes in.

Introducing Savision Live Maps

Savision Live Maps empowers organizations to create compelling visualizations and dashboards based on any information collected and stored by SCOM.  From executive-level service and application overviews, to detailed technical dashboards for critical IT infrastructure, any visualization or dashboard that can be imagined can be made a reality with Live Maps.  SCOM provides a role-based access control (RBAC) system to control what users are able to do and see within SCOM.  Live Maps provides full support for this RBAC model ensuring that users only see the visualizations and dashboards that they are entitled to see.

As mentioned in the previous section, Service Map can create DA diagrams right within SCOM detailing the application and system dependencies that have been discovered.  Live Maps is able to import any DA within SCOM and transform that flat model into a rich ITIL-based business service model.  This model provides many benefits above and beyond what is provided with native SCOM DA’s.  Better still, Live Maps automatically keeps this model up to date, so as Service Map discovers new dependencies, they are dynamically updated and shown in the business service models provided by Live Maps.

You can read more about how Live Maps dynamically updates SCOM DA’s in the following blog article:

https://www.savision.com/resources/blogs/new-features-in-live-maps-dynamically-updating-services/

Import Distributed Application Wizard from Savision Live Maps Authoring Console

Live Maps’ business service model provides different health perspectives for each service: end-user, application, and infrastructure.  This provides another level of visibility, ensuring that issues that impact end-users are highlighted for immediate attention and timely resolution.  Service-level tracking is a great capability offered by SCOM, however it can be difficult to configure and maintain.  Live Maps automatically creates service level agreements (SLA) for all business service models, and provides an intuitive user experience for configuring these SLA’s.  Organizations are able to easily define a goal for each business service and then view the real-time SLA and operational health of all business services from a single dynamic dashboard.

Services Overview from Savision Live Maps

In addition to the rich business service model provide by Live Maps, inclusions and exclusions can also be easily defined by Live Maps.  This allows organizations to make custom changes to what is discovered by Service Map.  These changes are intelligently applied to the model, so that new changes discovered by Service Map are respected, while also ensuring the inclusions and exclusions that have been defined are enforced.  IT organizations are highly-dynamic, so Live Maps doesn’t just provide manual inclusions and exclusions, but rather a rich rule system is available, allowing organizations to define complex rules to ensure the inclusions and exclusions they need can be achieved.

Conclusion

Through his article, you’ve seen how Service Map can discover application and system dependencies, and overlay other useful information from other Azure management solutions to provide a complete picture of discovered services and applications.  You’ve also seen how Service Map can feed this information back into SCOM, and how Live Maps can further enrich this model by providing end-user visibility, SLA monitoring, and executive-level overview dashboards.  We encourage you to check out Service Map to learn more about how your critical services and applications are interconnected.  Finally, to obtain visibility into this valuable information from within your SCOM environment, we encourage you to also request an evaluation of Live Maps and achieve 100% coverage of your business services, delivered via dynamic executive-level service and application dashboards.

You can easily explore the power of Live Maps through our online demo here, or request a free trial key using this link:

https://www.savision.com/trial

You can also watch a webinar that Savision recently released which focuses on the integration between Service Map and SCOM.  You can view the on-demand webinar here:

https://www.savision.com/resources/online-session-not-scomplicated-oms/

Free PowerShell Monitoring MP

Microsoft Operations Manager and OMS -

The following is a special guest blog from Squared Up

As part of our continuing commitment to the SCOM community we’re excited to announce a new PowerShell Monitoring Management Pack, freely available to the community, available to download from our site and open-sourced via GitHub.

Firstly, a big thanks to Microsoft Premier Field Engineer Wei H Lim for the inspiration behind the management pack and to the SCOM Product Team for encouraging this community effort.

We think this new management pack has incredible potential, are proud to make it openly available to the community and hope you’re as excited by this news as we are.

The PowerShell Monitoring MP adds support for PowerShell everywhere that you would expect to see it within the SCOM console’s authoring pane (ie. everywhere there is currently VBScript).

This means that custom two- and three-state monitors, custom performance and event collection rules and even custom agent tasks can all make use of PowerShell scripting, all through standard wizards in the SCOM console.

Because the MP isn’t just limited to custom monitors, you can get awesome results from the MP quickly and easily. For example, if you or your colleagues have useful PowerShell scripts that can pull back some handy troubleshooting data, or take a simple remediation action for a known problem, then, hey-presto, thanks to this MP you can quickly wrap that up as a SCOM agent task and push it out to your IT operations teams in just a few clicks.

To us, SCOM is and always has been a platform and, thanks to its management pack architecture, extensibility has always been at the heart of the power and potential of SCOM. But extending SCOM doesn’t need to be limited to simply what you can monitor, it includes how you monitor with SCOM.

So, we thought we’d harness the power of the community to help take SCOM to the next level. We’re delighted with the results and so are the many hundreds of users already well underway with the PowerShell Monitoring MP.

To help show you around the MP and what you can achieve with it, we ran a technical deep-dive webinar and the replay of that, together with access to the MP itself, is available via our website now.

We’re also pleased to say that this isn’t the last you’ll hear us in terms of harnessing the power of the community to help everyone do more with SCOM and to further extend its capabilities in line with the latest best-practices, techniques, and technologies; there’s lots more to come so why not join the community today and stay up to date with all the latest developments.

System Center 2016 now supports TLS1.2 security protocols

Microsoft Operations Manager and OMS -

Compliance organizations (like PCI) are mandating that customers use TLS 1.2 for all encrypted communications and disable all other protocols in their environments. SSL and early TLS are not considered strong cryptography and cannot be used as a security control after June 30, 2016. Microsoft has added official support for TLS1.2 security protocols in System Center 2016. This protocol is now supported in the following products

  • System Center Operations Manager (SCOM)
  • System Center Virtual Machine Manager (SCVMM)
  • System Center Data Protection Manager (SCDPM)
  • System Center Orchestrator (SCO)
  • Service Management Automation (SMA)
  • Service Provider Foundation (SPF)
  • System Center Service Manager (SM)

The 3-step process of enabling TLS1.2 involves:

  1. Installing the updates for Windows Server Security, .NET 4.6, SQL Server & System Center 2016 UR4. For System Center Virtual Machine Manage (SCVMM), Service Management Automation (SMA) and Service Provider Foundation (SPF), make sure that you upgrade to Update Rollup 3for System Center 2016. For SMA also update the SMA 2016 MP from here.
  2. Changing the configuration settings to enable TLS1.2 in the Windows Environment and System Center across all components.
  3. Making additional System Center component specific settings.

You can find more details in the System Center 2016 TLS1.2 Configuration article.

Creating a maintenance schedule with more than 216 objects might cause Operations Console to disconnect

Microsoft Operations Manager and OMS -

When creating a maintenance schedule, selecting more than 216 target objects (these can be any specific entity instances or groups) might result in the Operations Console to disconnect with the following error:
“The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.”

You can use the following alternate option to put large number of objects in maintenance mode using a single maintenance schedule:

  • Create a single group or multiple groups with all the objects you would like to put in maintenance schedule
  • Create a maintenance schedule with these groups (number of groups should be less than 216)

DHCP 2016 and 2012 R2 Management Pack release

Microsoft Operations Manager and OMS -

We are listening to customers’ requests on User Voice. The issues reported on DHCP MP have been rectified and we have released a new version of the MP. You can download the Microsoft System Center Management Pack for Windows Server DHCP 2016 here and DHCP 2012 R2 MP here. The MP has below fixes

  • DHCP Failover Server Relationship Discovery was failing as the Scope ID length max limit was 4000. The Scope ID length limit has been increased to 65536.
  • Alert description for “DHCP IPv4 Runtime Service Bound to Static IP Address Monitor”, “DHCP Dependent Service Health Monitor”,”DHCP Database Integrity Monitor” have been updated, users can comprehend and troubleshoot the situation better with such information.
  • To reduce the alert noise created with multiple alerts of same type, the alert rules “DHCP Back Up Database Warning”, “DHCP IPv4 Runtime DNS Registration Rule”,  “DHCP IPv4 Runtime Users Group Configuration Rule” and “DHCP Database Integrity Warning Rule” are suppressed so that only the alert count increases and not generate new alerts
  • “Collect ALL DHCP Server Performance Data” rule has been fixed to ingest right data in the registry key, thus indicating the correct health state of the entity
  • “DHCP Performance Health Monitor” which was always in not-monitored state has been rectified to correctly show the health state of the entity it monitors
  • “DHCP Server 2012 R2 Super Scope Addresses Available Percentage Monitor” that was failing to change state on critical alerts, has been fixed to show the appropriate state so the users do not miss out on critical state

Provide us feedback on our user voice website.

S'abonner à Philippe BARTH agrégateur - SCOM (Anglais)