Started monitoring network interface status with nic_monitor MCS profile
DX UIM 20.4 CUx
probe: nic_monitor (mcs)
OS RHEL 9.3
The nic_monitor probe uses below file to get the operational status for the interface based on OS
For linux only
private final String SYS_CLASS_NET = "/sys/class/net";
This is the file from which probe is reading data
For windows it uses powershell
private final String SYS_CLASS_DEV_OPERSTATE = "/sys/class/net/{0}/operstate";
this is status
i.setStatus(status);
Also ifup /ifdown are deprecated linux commands
Can check with alternative newer commands for linux
$ ip link set <interface> down / up