Monitor Windows NIC

My apologies if this question is too simple, I am new to Libre and the SNMP world.

I installed SNMP in a Windows workstation and need to monitor the NIC card when it loses the link.

If possible, I want Libre to monitor the link and Windows report to Libre when the link is returned to active.

Can someone please guide me on what I need to do.

Any help or guidance is greatly appreciated.

Hi,

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”