Monitoring a specific network interface

Started by wim.cossement, May 28, 2021, 05:15:05 PM

Previous topic - Next topic

wim.cossement

Hi,

I'm again a bit stuck; now I want to monitor the status of a specific NIC on a Windows box.
I get reports via de default EPP rules at the beginning but I'd like this to happen for a specific NIC on Windows VM's but now I'm testing this on my laptop.

If I work analogue to other metrics that I can get working I take the following steps (like here or here):

- Create new event configuration - or use existing ID's 4 and 5
- Create new data collection configuration for the machine with parameter Net.Interface.OperStatus("Wi-Fi")
- Instance name in threshold is set to Wi-Fi, expression equal to 0 with SYS_IF_DOWN as activation event.
   Wi-Fi is the name of the wireless NIC in Windows.
- Edit the Event processing library and disable rule 4 and 5 and create my own copies of them.

Kind regards,

Wim

Filipp Sudanov

Each interface has "Expected state" in it's properties. If it's set to IGNORE, events won't be generated when this interface goes down or up.
So it might be sufficient to set this to Ignore on all interfaces except the one that you want to monitor.

wim.cossement

Thanks for the tip, I'll give it a try as soon as I have some time.