Skip to content

BitLocker Sub Collector Questions #2290

@Sixty502

Description

@Sixty502

Problem Statement

I have been looking at the BitLocker collector recently and had a few questions.

Can the sample config.yaml under tools and the example_config.yml under docs be updated to include the syntax for using the BitLocker collector? Searching online, I found a few examples that didn't work, but the one below does. Both metrics and bitlocker_status can be in single quotes, double quotes, or no quotes and it still works.

collector:
logical_disk:
enabled:
- metrics
- bitlocker_status

When I look in a browser at what is being published by the exporter, I don't see any results for the OS drive or the root of a drive with mount points. No C:\ or D:\ even though D:\MOUNT1, D:\MOUNT2, etc. do show up. C: and D: do show up when using get-bitlockervolume, they have a VolumeStatus of FullyEncrypted, and Protection Status of On. The Get-WmiObject command from another thread (Get-WmiObject -Namespace "Root\CIMV2\Security\MicrosoftVolumeEncryption" -Class "Win32_EncryptableVolume") returns C:\ and D:\ and other windows_logical_disk counters, like windows_logical_disk_free_bytes, include C:, D:, .... Am I missing something in my config?

The metrics coming back under windows_logical_disk_bitlocker_status (decrypting, disabled, encrypting, locked, off, on, suspended, unknown, waiting_for_activation) only have a 1 by disabled even though get-bitlockervolume shows them all FullyEncrypted with a Protection Status of On.

Thanks

Environment

  • windows_exporter Version:
  • Windows Server Version:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions