Port monitoring is not disabled when you run the "Disable Port Monitoring" task

Article translations Article translations
Article ID: 2960230 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When you run the Disable Port Monitoring task to disable monitoring of a network port device, port monitoring for that device is not disabled as expected.

Cause

This problem occurs if the port is a member of the Managed Computer Network Adapters group.

For example, this problem occurs under the following circumstances:
  • The tasks for enabling and disabling port monitoring adds the port to the Critical Network Adapters group.
  • Earlier, the port was added to the Managed Computer Network Adapters group because the computer that's attached to the port is being monitored (a process that is known as port stitching).
  • The logic to determine whether a port is monitored checks whether the port is in any of the groups under Group of all network interfaces being actively monitored. These include the following groups:
    • Advanced Network Adapters group
    • Critical Network Adapters group (to which the enable/disable task adds the port)
    • Managed Computer Network Adapters group (to which the port is added through port stitching)
    • Relay Network Adapters group
Therefore, the port is still being actively monitored because it a member of the Managed Computer Network Adapters group.

Workaround

To disable monitoring on a particular port, regardless of the group membership of that port, follow these steps:
  1. Select the port to disable, and then open Health Explorer.
  2. In Health Explorer, select the top-level item that's named Entity Health - port_name (Object).
  3. In the Health Explorer window's toolbar, click Disable this Monitor on the Overrides menu, and then click For the object: port_name.
  4. In the Override Properties dialog box, make sure that the Enabled property override is set to False. Select a management pack to save this override (or create a new one), and then click OK.

To automatically disable monitoring by using PowerShell, run the following script in the System Center Operations Manager snap-in:

$port = Get-SCOMMonitoringObject -DisplayName "SOME_DEVICE"
$monitorsToOverride = Get-SCOMMonitor -Recurse -Instance $port
$mp = Get-SCOMManagementPack -DisplayName "PORT_OVERRIDES_MP"
$monitorsToOverride | ForEach-Object {Disable-SCOMMonitor -Monitor $_ -Instance $port -ManagementPack $mp}


Note The Get-SCOMMonitoringObject command may return many objects, depending on the display name that's provided. Therefore, make sure that $port contains only one object. Then, customize the Get-SCOMManagementPack call to retrieve the management pack overrides. We recommend that you use a new management pack because the management pack can easily be deleted if something unexpected occurs.

More information

Learn about what gets monitored with System Center Operations Manager 2012 Network Monitoring in the "What gets monitored" section of the System Center: Operations Manager Engineering blog.

Properties

Article ID: 2960230 - Last Review: May 6, 2014 - Revision: 3.0
Applies to
  • Microsoft System Center 2012 Operations Manager
  • Microsoft System Center 2012 Operations Manager Service Pack 1
  • Microsoft System Center 2012 R2 Operations Manager
Keywords: 
kbexpertiseinter kbprb kbsurveynew KB2960230

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com