Ad Widget

Collapse

Help Using a Macro on a Template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Txurrispo
    Junior Member
    • Dec 2024
    • 1

    #1

    Help Using a Macro on a Template

    Hi All.

    I have some questions about using a Macro on a Template.

    The official documentation is here: https://www.zabbix.com/la/integrations/meraki

    I have the template working, but autodiscover for a lot of devices that i dont want. On the docs there are a macro that can filter device names, but i dont know how use it on Zabbix.

    Name: {$MERAKI.DEVICE.NAME.MATCHES}
    Description: This macro is used in devices discovery. Can be overridden on the host or linked template level.
    Default: .+

    I want to select what devices show or detect in discovery, but i dont know hoy edit a put a value.

    Could anybody help me?

    Regards.



  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    it is regex there... ".+" means "one or more of whatever".. so it matches everything. You need to construct a regex that suits your needs and matches only names that you need.

    Comment

    Working...