;
; This ADM file is for configuring View settings common to Client, Server, and Agent
;
; This file is added to a policy object through the Group Policy Object
; Editor.

CLASS MACHINE

CATEGORY !!VMwareViewCommon

KEYNAME "Software\Policies\VMware, Inc.\VMware VDM"

POLICY !!ExtendedLogging
    EXPLAIN !!ExtendedLoggingExplain
    VALUENAME "traceEnabled"
    VALUEON true
    VALUEOFF false
END POLICY

POLICY !!DiskThresholdForLogAndEventsMB
    EXPLAIN !!DiskThresholdForLogAndEventsMBExplain
    PART !!DiskThresholdForLogAndEventsMB NUMERIC
        REQUIRED
        MIN 1 MAX 1024
        DEFAULT 200
        VALUENAME "DiskThresholdForLogAndEventsMB"
    END PART
END POLICY

POLICY !!eventOverride
    EXPLAIN !!eventOverrideExplain
    PART !!eventOverride NUMERIC
        REQUIRED
        MIN 0 MAX 2
        DEFAULT 0
        VALUENAME "eventOverride"
    END PART
END POLICY

CATEGORY !!VMwareViewCommonLog

KEYNAME "Software\Policies\VMware, Inc.\VMware VDM\Log"

POLICY !!MaxDaysKept
    EXPLAIN !!MaxDaysKeptExplain
    PART !!MaxDaysKept NUMERIC
        REQUIRED
        MIN 1 MAX 365
        DEFAULT 7
        VALUENAME "MaxDaysKept"
    END PART
END POLICY

POLICY !!MaxDebugLogs
    EXPLAIN !!MaxDebugLogsExplain
    PART !!MaxDebugLogs NUMERIC
        REQUIRED
        MIN 2 MAX 999
        DEFAULT 10
        VALUENAME "MaxDebugLogs"
    END PART
END POLICY

POLICY !!MaxDebugLogSizeMB
    EXPLAIN !!MaxDebugLogSizeMBExplain
    PART !!MaxDebugLogSizeMB NUMERIC
        REQUIRED
        MIN 1 MAX 1024
        DEFAULT 10
        VALUENAME "MaxDebugLogSizeMB"
    END PART
END POLICY

POLICY !!LogFileDirectory
    EXPLAIN !!LogFileDirectoryExplain
    PART !!LogFileDirectory     EDITTEXT
    VALUENAME "LogFileDirectory"
    END PART
END POLICY

POLICY !!SyslogSendSpec
    EXPLAIN !!SyslogSendSpecExplain
    PART !!SyslogSendSpec     EDITTEXT
    VALUENAME "SyslogSendSpec"
    END PART
END POLICY

END CATEGORY

CATEGORY !!VMwareViewCommonPerfAlarm

KEYNAME "Software\Policies\VMware, Inc.\VMware VDM\Performance Alarms"

POLICY !!SamplingIntervalSeconds
    EXPLAIN !!SamplingIntervalSecondsExplain
    PART !!SamplingIntervalSeconds NUMERIC
        REQUIRED
        DEFAULT 60
        VALUENAME "SamplingIntervalSeconds"
    END PART
END POLICY

POLICY !!OverallCpuPercentage
    EXPLAIN !!OverallCpuPercentageExplain
    PART !!OverallCpuPercentage NUMERIC
        REQUIRED
        MIN 0 MAX 100
        DEFAULT 90
        VALUENAME "OverallCpuPercentage"
    END PART
END POLICY

POLICY !!OverallMemoryPercentage
    EXPLAIN !!OverallMemoryPercentageExplain
    PART !!OverallMemoryPercentage NUMERIC
        REQUIRED
        MIN 0 MAX 100
        DEFAULT 75
        VALUENAME "OverallMemoryPercentage"
    END PART
END POLICY

POLICY !!ProcessCpuPercentage
    EXPLAIN !!ProcessCpuPercentageExplain
    PART !!ProcessCpuPercentage NUMERIC
        REQUIRED
        MIN 0 MAX 100
        DEFAULT 90
        VALUENAME "ProcessCpuPercentage"
    END PART
END POLICY

POLICY !!ProcessMemoryPercentage
    EXPLAIN !!ProcessMemoryPercentageExplain
    PART !!ProcessMemoryPercentage NUMERIC
        REQUIRED
        MIN 0 MAX 100
        DEFAULT 75
        VALUENAME "ProcessMemoryPercentage"
    END PART
END POLICY

POLICY !!ProcessNameList
    EXPLAIN !!ProcessNameListExplain
    PART !!ProcessNameList     EDITTEXT
    VALUENAME "ProcessNameList"
    END PART
END POLICY

END CATEGORY

CATEGORY !!VMwareViewCommonSecurity

KEYNAME "Software\Policies\VMware, Inc.\VMware VDM\Security"

POLICY !!CertificateRevocationCheckType
    EXPLAIN !!CertificateRevocationCheckTypeExplain
    PART !!CertificateRevocationCheckType DROPDOWNLIST
        VALUENAME "CertificateRevocationCheckType"
        REQUIRED
        ITEMLIST
            NAME "None"               VALUE 1
            NAME "EndCertificateOnly" VALUE 2
            NAME "WholeChain"         VALUE 3
            NAME "WholeChainButRoot"  VALUE 4 DEFAULT
        END ITEMLIST
    END PART
END POLICY

POLICY !!CertificateRevocationCheckCacheOnly
    EXPLAIN !!CertificateRevocationCheckCacheOnlyExplain
    VALUENAME "CertificateRevocationCheckCacheOnly"
    VALUEON true
    VALUEOFF false
END POLICY

POLICY !!CertificateRevocationCheckTimeout
    EXPLAIN !!CertificateRevocationCheckTimeoutExplain
    PART !!CertificateRevocationCheckTimeout NUMERIC
        VALUENAME "CertificateRevocationCheckTimeout"
        MIN 0
        DEFAULT 0
    END PART
END POLICY

END CATEGORY

END CATEGORY

[Strings]
VMwareViewCommon="VMware View Common Configuration"
VMwareViewCommonLog="Log Configuration"
ExtendedLogging="Enable extended logging"
ExtendedLoggingExplain="Determines if trace and debug events are included in the log files"
DiskThresholdForLogAndEventsMB="Disk threshold for log and events in Megabytes"
DiskThresholdForLogAndEventsMBExplain="Specifies the minimum remaining disk space threshold for logs and events. If no value is specified, a default of 200 applies. When this value is reached, event logging will stop."
eventOverride="Override the default View Windows event generation"
eventOverrideExplain="The following values are supported:\n    0 = Event log entries are only produced for view events (no event log entries are generated for log messages)\n    1 = Event log entries are produced in 4.5 (and earlier) compatibility mode. Event log entries are not produced for standard view events. Event log entries are based solely on log file text.\n    2 = Event log entries are produced in 4.5 (and earlier) compatibility mode with view events also being included.
MaxDaysKept="Number of days to keep production logs"
MaxDaysKeptExplain="Specifies the number of days for which log files are retained on the system. If no value is set, the default applies and log files will only be kept for 7 days."
MaxDebugLogs="Maximum number of debug logs"
MaxDebugLogsExplain="Specifies the maximum number of debug log files to retain on the system (default is 10). When a log file reaches its maximum size, no further entries are added and a new log file is created. When the number of previous log files reaches this value, the oldest log file is deleted."
MaxDebugLogSizeMB="Maximum debug log size in Megabytes"
MaxDebugLogSizeMBExplain="Specifies the maximum size in Megabytes that a debug log can reach before the log file is closed and a new log file is created. (default is 10MB)"
VMwareViewCommonPerfAlarm="Performance Alarms"
SamplingIntervalSeconds="CPU and Memory Sampling Interval in Seconds"
SamplingIntervalSecondsExplain="Specifies the interval at which the CPU and memory are polled. Please note that a low sampling interval may result in an extremely high level of output being written to the log."
OverallCpuPercentage="Overall CPU usage percentage to issue log info"
OverallCpuPercentageExplain="The threshold at which the overall CPU use of the system is logged. Note that where multiple processors are available, this percentage represents the combined usage."
OverallMemoryPercentage="Overall memory usage percentage to issue log info"
OverallMemoryPercentageExplain="The threshold at which the overall committed system memory use (memory that has been allocated by processes and to which the operating system has committed physical memory and/or a page slot in the pagefile) is logged."
ProcessCpuPercentage="Process CPU usage percentage to issue log info"
ProcessCpuPercentageExplain="The threshold at which the CPU usage of any individual process is logged."
ProcessMemoryPercentage="Process memory usage percentage to issue log info"
ProcessMemoryPercentageExplain="The threshold at which the memory usage of any individual process is logged."
ProcessNameList="Processes to check, comma separated name list allowing wild cards and exclusion"
ProcessNameListExplain="A comma-separated list of queries that correspond to the name of one or more processes to be examined. In order to filter the list, you can use the following wildcards within each query: an asterisk (*) that matches zero or more characters, a question mark (?) that matches exactly one character, and an exclamation mark (!) that can be used as a prefix to a query in order to exclude any results yielded by that query. For example: '!*sys,ws*' - select all processes starting with 'ws' but exclude all processes ending with 'sys'."
LogFileDirectory="Log directory"
LogFileDirectoryExplain="The full path to the directory for log files. If this location is not writeable, the default location is used. Note that for client log files, an extra directory with the client name is created for the logs."
VMwareViewCommonSecurity="Security Configuration"
CertificateRevocationCheckType="Type of certificate revocation check"
CertificateRevocationCheckTypeExplain="Select the type of certificate revocation check to be done, None, EndCertificateOnly, WholeChain or WholeChainButRoot. Default is WholeChainButRoot."
CertificateRevocationCheckCacheOnly="Only use cached revocation URLs"
CertificateRevocationCheckCacheOnlyExplain="Certificate revocation checking will only access cached URLs. Default if not configured is false."
CertificateRevocationCheckTimeout="Revocation URL check timeout milliseconds"
CertificateRevocationCheckTimeoutExplain="The cumulative timeout across all revocation URL wire retrievals in milliseconds. Not configured or value set to 0 means that Microsoft default handling is used."
SyslogSendSpec="Send logs to a Syslog server"
SyslogSendSpecExplain="Enable and set to send View Server Logs to a Syslog Server such as VMware LogInsight. Use of this feature on an unsecured network is not recommended.\nFormat:LogLevel|ServerFQDNorIP[|PortNumber(default is 514)], example Debug|192.0.2.2"
