If this specific workstation is always connected to the same switch and port, I would monitor the switch port instead. A Laptop or Workstation can be offline, a switch runs typically 24/7.
In Alert rules, search for “port status” rules.
Port status change from up to down
ports.ifOperStatus = “down” && ports.ifOperStatus_prev = “up” && macros.device_up = “1”
For specific port, add “ports.ifName” OR “ports.ifDescr”, depending on switch configuration.
I use this rule only for specific Links like Uplink ports to other switches, an Alert rule might look like this:
For Windows, if SNMP is configured and LibreNMS can query (“snmwalk”) the Windows machine, eventually this Alert rule might help: Port status up/down
macros.port_down = “1”