Open Wintermute2k6 opened 1 year ago
So I tried to introduce another filter with the expression negated ( !Match instead of Match ), but failed, because I am unable to understand how that code works. Can someone provide some explanation as to how everything works and how I would add that?
As an Example let's say you have an output for TenGigabitEthernet1/1 , TenGigabitEthernet1/2 and TenGigabitEthernet1/11
thola check interface-metrics 127.0.0.1 --snmp-community public --ifDescr-filter 'TenGigabitEthernet1/1' --ifDescr-filter 'TenGigabitEthernet1/10'
And you only want to show the Result of TenGigabitEthernet1/11 and TenGigabitEthernet1/2 then TenGigabitEthernet1/11 will be omitted by the regex of
--ifDescr-filter 'TenGigabitEthernet1/1'
and will not be in the final Result ..If you have questions you can get in contact with me for further details and explanations.