Skip to main content
Version: 1.3.0

Windows

Agentless

Synopsis​

Creates a device collector that connects to Windows servers to gather system metrics, performance counters, and event logs. Supports both local and domain authentication methods, with configurable connection parameters and debug options.

Schema​

- id: <numeric>
name: <string>
description: <string>
type: windows
tags: <string[]>
pipelines: <pipeline[]>
status: <boolean>
properties:
address: <string>
port: <numeric>
username: <string>
password: <string>
domain: <string>
timeout: <numeric>

Configuration​

The following fields are used to define the device:

Device​

FieldRequiredDefaultDescription
idYUnique identifier
nameYDevice name
descriptionN-Optional description
typeYMust be windows
tagsN-Optional tags
pipelinesN-Optional pre-processor pipelines
statusNtrueEnable/disable the device

Connection​

FieldRequiredDefaultDescription
addressYTarget server address
portN5985WinRM port number
usernameNActive Directory username
passwordNActive Directory password
domainN-Domain name for domain authentication

Advanced Configuration​

To enhance performance and achieve better message handling, the following settings are used.

Performance​

FieldRequiredDefaultDescription
timeoutN30Connection timeout in seconds

Examples​

The following are commonly used configuration types.

Local​

Configuration using local Windows authentication:

devices:
- id: 1
name: windows_server
type: windows
properties:
address: "192.168.1.100"
username: "Administrator"
password: "secret"

Domain-Level​

Configuration using domain-level authentication:

warning

The user account must have appropriate permissions to collect performance counters and event logs. For domain authentication, the format should be either "DOMAIN\username" or "username@domain.local".

devices:
- id: 2
name: domain_windows
type: windows
properties:
address: "server1.domain.local"
username: "monitor"
password: "P@ssw0rd"
domain: "DOMAIN"
timeout: 60
note

When multiple collectors are deployed, the server adds a random delay (up to 20 seconds) before initiating the collection to help prevent overwhelming the target server.