-
-
-
-
-
-
-
-
-
-
-
-
Set-MonitorConfiguration
-
-
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Set-Monitorconfiguration
Sets configuration settings that are used by the Monitor Service.
Syntax
Set-MonitorConfiguration [-GroomSessionsRetentionDays <Int32>] [-GroomFailuresRetentionDays <Int32>] [-GroomLoadIndexesRetentionDays <Int32>] [-GroomDeletedRetentionDays <Int32>] [-GroomSummariesRetentionDays <Int32>] [-GroomMachineHotfixLogRetentionDays <Int32>] [-GroomMinuteRetentionDays <Int32>] [-GroomHourlyRetentionDays <Int32>] [-DataCollectionEnabled <Boolean>] [-FullPollStartHour <Int32>] [-GroomStartHour <Int32>] [-SyncDataToCasStartHour <Int32>] [-ResolutionPollTimeHours <Int32>] [-SyncPollTimeHours <Int32>] [-DetailedSqlOutputEnabled <Boolean>] [-MonitorQueryTimeoutSeconds <Int32>] [-CollectHotfixDataEnabled <Boolean>] [-GroomApplicationInstanceRetentionDays <Int32>] [-GroomApplicationErrorsRetentionDays <Int32>] [-GroomApplicationFaultsRetentionDays <Int32>] [-GroomNotificationLogRetentionDays <Int32>] [-GroomResourceUsageRawDataRetentionDays <Int32>] [-GroomResourceUsageMinuteDataRetentionDays <Int32>] [-GroomResourceUsageHourDataRetentionDays <Int32>] [-GroomResourceUsageDayDataRetentionDays <Int32>] [-GroomProcessUsageHourDataRetentionDays <Int32>] [-GroomProcessUsageDayDataRetentionDays <Int32>] [-GroomSessionMetricsDataRetentionDays <Int32>] [-GroomMachineMetricDataRetentionDays <Int32>] [-GroomMachineMetricDaySummaryDataRetentionDays <Int32>] [-EnableDayLevelGranularityProcessUtilization <Boolean>] [-GroomApplicationProbeLogsRetentionDays <Int32>] [-EnableHourLevelGranularityProcessUtilization <Boolean>] [-EnableMinLevelGranularityProcessUtilization <Boolean>] [-GroomSessionAutoReconnectsRetentionDays <Int32>] [-LoggingId <Guid>] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]
<!--NeedCopy-->
Detailed Description
Sets the configuration settings used by the Monitor Service. Use these settings to modify the behavior of the service.
A database connection need not be configured for this command to be used.
Related Commands
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
GroomSessionsRetentionDays | Determines how many days to keep Session and Connection records after the Session is terminated. | false | false | 7 for non-platinum, 90 for platinum. |
GroomFailuresRetentionDays | Determines how many days to keep MachineFailureLog and ConnectionFailureLog records after these are created. | false | false | 7 for non-platinum, 90 for platinum. |
GroomLoadIndexesRetentionDays | Determines how many days to keep LoadIndex records after these are created. | false | false | 7 for non-platinum, 90 for platinum. |
GroomDeletedRetentionDays | Determines how many days to keep Machine, Catalog, DesktopGroup and Hypervisor entities around that have a LifecycleState of ‘Deleted’. This also deletes any related Session, Connection, Summary, Failure or LoadIndex records. | false | false | 7 for non-platinum, 90 for platinum. |
GroomSummariesRetentionDays | Determines how many days to keep DesktopGroupSummary, FailureLogSummary and LoadIndexSummary records at the daily granularity. | false | false | 7 for non-platinum, 90 for platinum. |
GroomMachineHotfixLogRetentionDays | Determines how many days to keep Machine-Hotfix history records at the daily granularity. | false | false | 90 |
GroomMinuteRetentionDays | Determines how many days to keep minute data. | false | false | 3 |
GroomHourlyRetentionDays | Determines how many days to keep hourly data. | false | false | 7 for non-platinum, 32 for platinum. |
DataCollectionEnabled | Starts / stops data collection. Stopping data collection turns off polling, and does not persist operational event data to the database. | false | false | True |
FullPollStartHour | Hour of day when Full Poll should begin. | false | false | |
GroomStartHour | Hour of day when Grooming should begin. Time with respect to UTC. Expected Values 0-23. | false | false | |
SyncDataToCasStartHour | Hour of the day when sync to CAS via blob path should start. Default is 1 AM | false | false | |
ResolutionPollTimeHours | Start time for the Resolution Poll worker. | false | false | |
SyncPollTimeHours | Start time for Sync Poll worker. | false | false | |
DetailedSqlOutputEnabled | Determines if the SqlLog should be enabled to send SQL statements to the CDF Trace | false | false | False |
MonitorQueryTimeoutSeconds | Determines the maximum time Monitoring Service will wait for the database query execution | false | false | 300 |
CollectHotfixDataEnabled | This setting determines if the hotfix inventory data should be collected and stored in the database or if it should be thrown away. | false | false | |
GroomApplicationInstanceRetentionDays | Determines how many days to keep the history of application instances. | false | false | 0 for non-platinum, 90 for platinum. |
GroomApplicationErrorsRetentionDays | Determines how many days to keep the history of application errors. | false | false | 1 for Platinum, Enterprise and Non-Platinum licenses |
GroomApplicationFaultsRetentionDays | Determines how many days to keep the history of application faults. | false | false | 1 for Platinum, Enterprise and Non-Platinum licenses |
GroomNotificationLogRetentionDays | FIXME | false | false | |
GroomResourceUsageRawDataRetentionDays | Determines how many days to keep Resource Utilization data. | false | false | 1 for non-platinum and platinum. |
GroomResourceUsageMinuteDataRetentionDays | Determines how many days to keep Resource Utilization summary minute data. | false | false | 7 for non-platinum and platinum. |
GroomResourceUsageHourDataRetentionDays | Determines how many days to keep Resource Utilization summary hour data. | false | false | 7 for non-platinum and 30 for platinum. |
GroomResourceUsageDayDataRetentionDays | Determines how many days to keep Resource Utilization summary day data. | false | false | 7 for non-platinum and 90 for platinum. |
GroomProcessUsageHourDataRetentionDays | Determines how many days to keep Process Utilization summary hour data. | false | false | 7 for non-platinum and platinum. |
GroomProcessUsageDayDataRetentionDays | Determines how many days to keep Process Utilization summary day data. | false | false | 7 for non-platinum and 30 for platinum. |
GroomSessionMetricsDataRetentionDays | Determines how many days to keep SessionMetrics data. | false | false | 7 for non-platinum and platinum. |
GroomMachineMetricDataRetentionDays | Determines how many days to keep MachineMetrics data. | false | false | 3 for non-platinum and platinum. |
GroomMachineMetricDaySummaryDataRetentionDays | Determines how many days to keep MachineMetricsSummary data. | false | false | 7 for non-platinum and 90 for platinum. |
EnableDayLevelGranularityProcessUtilization | This setting is used to determine to enable or disable Day Level granularity for Process Data. | false | false | |
GroomApplicationProbeLogsRetentionDays | Determines how many days to keep the history of application probe logs. | false | false | 7 for Platinum, Enterprise and Non-Platinum licenses |
EnableHourLevelGranularityProcessUtilization | This setting is used to determine to enable or disable Hour Level granularity for Process Data. | false | false | |
EnableMinLevelGranularityProcessUtilization | This setting is used to determine to enable or disable Minute Level granularity for Process Data. | false | false | |
GroomSessionAutoReconnectsRetentionDays | Determines how many days to keep SessionAutoReconnects data | false | false | 7 for non-platinum, 31 for platinum. |
LoggingId | Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets. | false | false | |
BearerToken | Specifies the bearer token assigned to the calling user | false | false | |
TraceParent | Specifies the trace parent assigned for internal diagnostic tracing use | false | false | |
TraceState | Specifies the trace state assigned for internal diagnostic tracing use | false | false | |
VirtualSiteId | Specifies the virtual site the PowerShell snap-in will connect to. | false | false | |
AdminAddress | Specifies the address of a Citrix Virtual Apps and Desktops 7 controller the PowerShell snap-in will connect to. You can provide this as a host name or an IP address. | false | false | Localhost. Once a value is provided by any cmdlet, this value becomes the default. |
Input Type
Return Values
Examples
Example 1
C:\PS>Set-MonitorConfiguration -GroomSessionsRetentionDays 5 -GroomFailuresRetentionDays 4 ...
<!--NeedCopy-->
Description
Updates the settings in the site database with the newly specified values.
Share
Share
In this article
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.