Skip to content

How to determine if user logged in with interactive session or not? #1895

Open
@laykun

Description

@laykun

Problem Statement

I've been trying to re-write my promQL query to determine at any point if a user is logged into the system or not but I can't seem to make it work with the logon collector. This is for a workroom of computers.

Image

The image shows a couple of days worth of logins by several different users, using the same domain. But I as far as I can tell, there's no information here to determine if that user is still logged into the machine? I presume the timestamps are when they logged in, but that's no especially helpful for me, as I'm essentially trying to create a metric for "bums in seats" in a workroom, so I need to know if a computer is being used or if it's idle without a user logged in.

Thank You!

Environment

  • windows_exporter Version: 0.30.2
  • Windows Server Version: Windows 10/11 Enterprise Desktop

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