Closed bonki closed 7 years ago
Also did some refactoring alongside (that part is a bit more idiomatic now) so we don't have to run get_snmp_value
for each and every tunnel.
The whitelist comes first, the blacklist filters on the result set which has been included by the whitelist.
E.g. --whitelist "^vpn_customer_" --blacklist "temp"
includes all tunnels matching /^vpn_customer_/
except tunnels which also match /temp/
.
Many thanks for the contribution.
Could you please also add your changelog into the header of the file? I missed that part..
…of checked data (currently only does IPSec tunnel names). This resolves #21.