# windows_exporter config - Generic Server (File / Print)
# Roles: File Server, Print Server, general-purpose member server
#
# Collectors enabled beyond defaults:
#   cpu_info      - CPU model/core count as metric labels
#   physical_disk - Per-disk IO, latency, and queue depth
#   smb           - SMB share open-file and tree-connect counts
#   printer       - Per-printer status, job count, and job status
#   tcp           - TCP connection state counts (useful for spotting connection exhaustion)

collectors:
  enabled: "[defaults],cpu_info,physical_disk,smb,printer,tcp"

collector:
  logical_disk:
    volume-exclude: "^(HarddiskVolume|HarddiskVolumeShadowCopy)"

  printer:
    # Exclude virtual/software printers - keep physical and network printers
    exclude: "(?i)(Microsoft XPS|Microsoft Print to PDF|OneNote|Fax|Send To OneNote)"

  service:
    # Core file/print services + baseline Windows services
    include: "(?i)(lanmanserver|lanmanworkstation|browser|spooler|mrxsmb|srv2|lmhosts|netlogon|w32tm|eventlog|winmgmt|wuauserv)"
