> get-agent|export-csv -notype c:\scomagents.csv

 

원하는 필드만 검색할때

> get-agent|select property1,property2|export-csv -notype c:\scomagents.csv

ex) 호스트명만 검색 

> get-agent|select name|export-csv -notype c:\scomagents.csv



Unix 경우

Get-MonitoringClass -Name "Microsoft.Unix.Computer" | Get-MonitoringObject |Export-Csv c:\ClientListUnix.csv

Posted by no1ss
,

출처 http://thoughtsonopsmgr.blogspot.kr/2013/02/om12-sp1-operations-manager-shell.html


OM12 (SP1) many SCOM 2007 PS CMDLETS are renamed. This is a list of those CMDLETS. Bookmark this posting so you always have them at hand.

SCOM 2007OM12
Add-ConnectorToTierAdd-SCOMTierConnector
Add-RemotelyManagedComputerAdd-SCOMAgentlessManagedComputer
Add-UserToUserRoleSet-SCOMUserRole
Approve-AgentPendingActionApprove-SCOMPendingManagement
Disable-NotificationSubscriptionDisable-SCOMNotificationSubscription
Disable-RuleDisable-SCOMRule
Enable-NotificationSubscriptionEnable-SCOMNotificationSubscription
Enable-RuleEnable-SCOMRule
Export-ManagementPackExport-SCOMManagementPack
Get-AgentGet-SCOMAgent
Get-AgentPendingActionGet-SCOMPendingManagement
Get-AlertGet-SCOMAlert?
Get-AlertHistoryGet-SCOMAlertHistory
Get-ConnectorGet-SCOMConnector
Get-DefaultSettingGet-SCOM<SettingName>Setting
Get-DiagnosticGet-SCOMDiagnostic
Get-DiscoveryGet-SCOMDiscovery
Get-EventGet-SCOMEvent
Get-FailoverManagementServerGet-SCOMParentManagementServer
Get-GatewayManagementServerGet-SCOMGatewayManagementServer
Get-MaintenanceWindowGet-SCOMMaintenanceMode?
Get-ManagementGroupConnectionGet-SCOMManagementGroupConnection
Get-ManagementPackGet-SCOMManagementPack
Get-ManagementServerGet-SCOMManagementServer
Get-MonitorGet-SCOMMonitor
Get-MonitorHierarchyGet-SCOMMonitor
Get-MonitoringClassGet-SCOMClass
Get-MonitoringObjectGet-SCOMClassInstance
Get-MonitoringObjectGroupGet-SCOMGroup
Get-NotificationActionGet-SCOMNotificationChannel
Get-NotificationEndpointGet-SCOMNotificationChannel
Get-NotificationRecipientGet-SCOMNotificationSubscriber
Get-NotificationSubscriptionGet-SCOMNotificationSubscription
Get-OverrideGet-SCOMOverride
Get-OperationsManagerCommandGet-SCOMCommand
Get-PrimaryManagementServerGet-SCOMParentManagementServer
Get-RecoveryGet-SCOMRecovery
Get-RelationshipClassGet-SCOMRelationship
Get-RelationshipObjectGet-SCOMRelationshipInstance
Get-RemotelyManagedComputerGet-SCOMAgentlessManagedComputer
Get-ResultantCategoryOverrideGet-SCOMOverrideResult
Get-ResultantRuleOverrideGet-SCOMOverrideResult
Get-ResultantUnitMonitorOverrideGet-SCOMOverrideResult
Get-RootManagementServerGet-SCOMRMSEmulator
Get-RuleGet-SCOMRule
Get-RunAsAccountGet-SCOMRunAsAccount
Get-TaskGet-SCOMTask
Get-TaskResultGet-SCOMTaskResult
Get-UserRoleGet-SCOMUserRole
Install-AgentInstall-SCOMAgent
Install-AgentByNameInstall-SCOMAgent
Install-ManagementPackImport-SCOMManagementPack
New-LdapQueryDiscoveryCriteriaInstall-SCOMAgent
New-MaintenanceWindowStart-SCOMMaintenanceMode
New-ManagementGroupConnectionNew-SCOMManagementGroupConnection
New-TierAdd-SCOMTieredManagementGroup
New-WindowsDiscoveryConfigurationInstall-SCOMAgent
Reject-AgentPendingActionDeny-SCOMPendingManagement
Remove-ConnectorFromTierRemove-SCOMTierConnector
Remove-DisabledMonitoringObjectRemove-SCOMDisabledClassInstance
Remove-ManagementGroupConnectionRemove-SCOMManagementGroupConnection
Remove-RemotelyManagedComputerRemove-SCOMAgentlessManagedComputer
Remove-TierRemove-SCOMTieredManagementGroup
Resolve-AlertSet-SCOMAlert
Set-AlertDestinationSet-SCOMAlert
Set-DefaultSettingSet-SCOM<SettingName>Setting
Set-ManagementServerSet-SCOMParentManagementServer
Set-ProxyAgentSet-SCOMAgentlessManagedComputer
Start-DiscoveryInstall-SCOMAgent
Start-TaskStart-SCOMTask
Uninstall-AgentUninstall-SCOMAgent
Uninstall-ManagementPackRemove-SCOMManagementPack

Posted by no1ss
,

출처 http://opsmgr101.blogspot.kr/2011/01/manual-agent-installs-not-visible-under.html


Operations Manager Shell 에서.. 아래 커맨드 명령어 입력


get-agentpendingaction 

get-agentpendingaction | approve-agentpendingaction

Posted by no1ss
,

Monitoring Deadlock on SQL

SCOM 2013. 2. 13. 10:20

출처 http://www.systemcentercentral.com/monitoring-deadlock-on-sql-server-without-trace-flag/



Posted by no1ss
,

 scom 서비스 계정이 만료되어 보고탭 접근시 발생

 

 

1. services.msc -> 바뀐 패스워드 적용

 

2. SQL DB 서버의 'Reporting Services 구성 관리자' -> 바뀐 패스워드로 적용

 

Posted by no1ss
,

 

A very important step is to check the registry. Go to the OPS reg hive and check if the FQDN name is supplied for the Networkname and AuthenticationName. If this doesn’t match your certificate common name you will get the 20071 event.

 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Agent Management Groups\<관리그룹>\Parent Health Services\0\

 

참고 

http://michelkamp.wordpress.com/2012/01/05/solving-the-gateway-20071-event/

Posted by no1ss
,

Event ID 21016, 20070

SCOM 2013. 1. 14. 15:15

 

해결>

SCOM Console -> 관리 -> 관리 보류중 -> 대상서버 '승인'





 

Posted by no1ss
,