Questions tagged [scom]

System Center Operations Manager (SCOM) is a cross-platform data center management system for operating systems and hypervisors.

System Center Operations Manager (SCOM) is a cross-platform data center management system for operating systems and hypervisors. It uses a single interface that shows state, health and performance information of computer systems. It also provides alerts generated according to some availability, performance, configuration or security situation being identified. It works with Microsoft Windows Server and Unix-based hosts.

(Information sourced from Wikipedia)

134 questions
4
votes
1 answer

Get class of returned object by PowerShell command - determine a cmdlet's output data type

In PowerShell, if a command returns an array of one or more objects, I can find out the class of the object by the following method: $ab = SampleCommand $ab[0].getType() But, how can I find out the default return type of a command if the command…
Jay Joshi
  • 1,402
  • 1
  • 13
  • 32
4
votes
1 answer

What is the difference between Get-SCOMMonitoringObject and get-scomclassinstance in Microsoft SCOM?

I have executed both the commands in powershell Get-SCOMMonitoringObject Get-SCOMClassInstance But I'm getting same results for both the command output. Is there any significant difference between these two commands? Environment: SCOM 2012R2…
3
votes
1 answer

Weird non-existent properties in array

So I have this array called $monitors. I don't think it really matters what it contains, but it's a list of SCOM monitors, created with the following two lines: Start-OperationsManagerClientShell -ManagementServerName: "your-mgmt-server"…
Daniel Hjertholm
  • 177
  • 1
  • 2
  • 16
2
votes
1 answer

Microsoft Monitoring Agent's Perfmon.dll crashing IIS Web Application Pool while Using Log4Net - 2.0.9.0 or later

I'm using Log4Net as a logging service in my webApp. I've the Micorosoft Monitoring Agent (8.0.10918.0) installed in my machine (Windows Server 2016 DataCenter) using SCOM 2016 (7.2.11719.0). The IIS Web Application Pool launching the webapp is…
2
votes
1 answer

Issues when attempting to invoke a SCOM Recovery Task via REST API

I’m trying to make a REST call from PowerShell to execute a SCOM Recovery Task as a test in SCOM 2019. I’ve read as much of the REST API documentation for SubmitTask and other forums that I could find on this particular subject and I feel like I’m…
xopher.james
  • 21
  • 1
  • 1
2
votes
1 answer

How to insert performance data to DW database using SCOM SDK?

We have created a Inbound Connector and custom Management Pack. We send data to our SCOM server using .NET SDK examples. We can see performance data and events on SCOM console. But when we create Performance report (Reporting > Microsoft Generic…
Alexander I.
  • 2,380
  • 3
  • 17
  • 42
2
votes
0 answers

Value of timeadded and timeraised is not appropriate in scom

Partial output of the get-scomalert | get-member -membertype property in Powershell: Name MemberType Definition ---- ---------- ---------- TimeAdded Property …
Jay Joshi
  • 1,402
  • 1
  • 13
  • 32
2
votes
2 answers

"The requested reader was not valid. The reader either does not exist or has expired" Error while fetching Performance data in SCOM

Snippet of the script that I am executing : $reader = $managementgroupobj.GetMonitoringPerformanceDataReader() while ($reader.Read()) // << Error in this line. { $perfData = $reader.GetMonitoringPerformanceData() $valueReader =…
Jay Joshi
  • 1,402
  • 1
  • 13
  • 32
2
votes
1 answer

SCOM isn't recording Performance Counters for SQL

I am working on a installation of SCOM, monitoring some SQL Servers. However, I am having an issue collecting the performance counters. In particular, in SCOM it is showing that the Page Life Expectancy is 0 for all of my SQL Server, when in fact…
2
votes
1 answer

how can i retrieve the name of iis server where azure websites are deployed

Can i connect remotely to azure IIS server where all the azure websites are deployed and monitor all those web applications using system center operations manager 2012 r2.Is it possible to get the name or ip address of the iis server under a azure…
chinna2580
  • 2,065
  • 2
  • 16
  • 30
2
votes
2 answers

Create SCOM alert with SDK

I'm writing a SCOM inbound connector and want to create alerts programmatically. I have worked out how to query and resolve alerts using the SDK, but actually creating them has so far eluded me. Surely there must be a way of doing this? Thanks in…
fjames
  • 116
  • 1
  • 7
2
votes
3 answers

Invoke-WebRequest working after server is unreachable

I am using Invoke-WebRequest in a SCOM PowerShell script to periodically monitor the availability of a URI. My script is fairly simple (since I have very little knowledge of PS :-) ): $scomapi = new-object -comObject "MOM.ScriptAPI" $scompb =…
vainolo
  • 6,907
  • 4
  • 24
  • 47
1
vote
0 answers

Create MSI Transform to add registry value

I am a SCOM Administrator trying to modify the MOMAgent.msi installation using Super Orca to create a transform file. My aim is to modify the value of MaximumQueueSizeKB property from the default value (15360) to 76800. Strangely enough the property…
Random206
  • 757
  • 6
  • 19
1
vote
0 answers

how to pass performance counters to SCOM Retrieve Performance Data Rest API?

I'm trying SCOM Retrieve Performance Data Rest API but I'm unable to pass performance counters as it's unclear in their official documentation. https://learn.microsoft.com/en-us/rest/api/operationsmanager/data/retrieve%20performance%20data Example…
1
vote
1 answer

Is there a way to pass credentials to SCOM rest api through postman ? I am getting 401 error

I am having trouble with figuring out what should come under json body in the body when sending post rest api call to the scom server I have tried the below one. { "credentials":"" } And here is the header…
jan711
  • 21
  • 2
1
2 3
8 9