mbdraks / fortinet-zabbix

Zabbix Templates for Fortinet devices
91 stars 56 forks source link

Implement interface filtering, using ifalias macro #39

Closed samip5 closed 3 years ago

samip5 commented 3 years ago

I noticed that there's no way in the template currently to filter out interfaces to monitor. I only want to monitor specifc interfaces, using ifalias.

Something like this in a HP Enterprise Switch Template works: {$NET.IF.IFALIAS.MATCHES} and value: .*uplink*, but not in the fortinet ones in this repo.

That would require that uplink does exist in an interface alias, and if not, do not monitor it.

mbdraks commented 3 years ago

Good suggestion, I'll check how to implement in this template.

mbdraks commented 3 years ago

Closed by #42