search
数据采集 采集源配置 Microsoft Exchange Server 指标采集

Microsoft Exchange Server 指标采集

简介

从 Microsoft Exchange Server 采集指标, 上报到 DataFlux 中

前置条件

配置

进入 DataKit 安装目录下的 conf.d/windows 目录,复制 msexchange.conf.sample 并命名为 msexchange.conf。示例如下:

#[[inputs.win_perf_counters]]
#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'MSExchange ADAccess Domain Controllers'

    # ##(required)
    #Counters = ['LDAP Read Time', 'LDAP Search Time']

    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'MSExchange ADAccess Processes'

    # ##(required)
    #Counters = ['LDAP Read Time', 'LDAP Search Time']

    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'Processor'

    # ##(required)
    #Counters = ['% Processor Time', '% User Time', '% Privileged Time']

    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['_Total']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=true

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'System'

    # ##(required)
    #Counters = ['Processor Queue Length']

    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'Memory'

    # ##(required)
    #Counters = ['Available MBytes', '% Committed Bytes In Use']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'Network Interface'

    # ##(required)
    #Counters = ['Packets Outbound Errors']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'TCPv6'

    # ##(required)
    #Counters = ['Connection Failures', 'Connections Reset']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'TCPv4'

    # ##(required)
    #Counters = ['Connections Reset']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'Netlogon'

    # ##(required)
    #Counters = ['Semaphore Waiters', 'Semaphore Holders', 'Semaphore Acquires', 'Semaphore Timeouts', 'Average Semaphore Hold Time']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'MSExchange Database ==> Instances'

    # ##(required)
    #Counters = ['I/O Database Reads (Attached) Average Latency', 'I/O Database Writes (Attached) Average Latency', 'I/O Log Writes Average Latency', 'I/O Database Reads (Recovery) Average Latency', 'I/O Database Writes (Recovery) Average Latency', 'I/O Database Reads (Attached)/sec', 'I/O Database Writes (Attached)/sec', 'I/O Log Writes/sec']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'MSExchange RpcClientAccess'

    # ##(required)
    #Counters = ['RPC Averaged Latency', 'RPC Requests', 'Active User Count', 'Connection Count', 'RPC Operations/sec', 'User Count']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'MSExchange HttpProxy'

    # ##(required)
    #Counters = ['MailboxServerLocator Average Latency', 'Average ClientAccess Server Processing Latency', 'Mailbox Server Proxy Failure Rate', 'Outstanding Proxy Requests', 'Proxy Requests/Sec', 'Requests/Sec']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'MSExchange ActiveSync'

    # ##(required)
    #Counters = ['Requests/sec', 'Ping Commands Pending', 'Sync Commands/sec']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'Web Service'

    # ##(required)
    #Counters = ['Current Connections', 'Connection Attempts/sec', 'Other Request Methods/sec']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=true

#[[inputs.win_perf_counters.object]]
    # ##(required)
    #ObjectName = 'MSExchange WorkloadManagement Workloads'

    # ##(required)
    #Counters = ['ActiveTasks', 'CompletedTasks', 'QueuedTasks']
    
    # ##(required) specify the .net clr instances, use '*' to apply all
    #Instances = ['*']

    # ##(required) all object should use the same name
    #Measurement = 'msexchange'

    # ##(optional)Set to true to include _Total instance when querying for all (*).
    #IncludeTotal=false

配置好后,重启 DataKit 即可生效

指标集 msexchange

tags

名称 描述
instance
objectname

fields

名称 描述 类型
Active_User_Count float
Available_MBytes float
Connection_Attempts_persec float
Connection_Count float
Connection_Failures float
Connections_Reset float
Current_Connections float
I/O_Database_Reads_(Attached)_Average_Latency float
I/O_Database_Reads_(Attached)_persec float
I/O_Database_Reads_(Recovery)_Average_Latency float
I/O_Database_Writes_(Attached)_Average_Latency float
I/O_Database_Writes_(Attached)_persec float
I/O_Database_Writes_(Recovery)_Average_Latency float
I/O_Log_Writes_Average_Latency float
I/O_Log_Writes_persec float
LDAP_Read_Time float
LDAP_Search_Time float
Other_Request_Methods_persec float
Packets_Outbound_Errors float
Percent_Committed_Bytes_In_Use float
Percent_Privileged_Time float
Percent_Processor_Time float
Percent_User_Time float
Ping_Commands_Pending float
Processor_Queue_Length float
RPC_Averaged_Latency float
RPC_Operations_persec float
RPC_Requests float
Requests_persec float
Sync_Commands_persec float
User_Count float