Ad Widget

Collapse

Recursively applying teplates over a dynamic index

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sludge3000
    Junior Member
    • Jan 2019
    • 12

    #1

    Recursively applying teplates over a dynamic index

    Hello,

    I'm relatively new to Zabbix but so far having great fun learning about it and what it can do.

    I have done some digging through the documentation and forums but haven't been able to find anything addressing my query and I'm pretty sure it's not possible but just want to confirm.

    In Zabbix scripting, can you recursively deploy a template over a dynamic index?

    For context, we have multiple devices that are monitored by SNMP using the same objects and dynamic indexed interfaces. The devices are by the same manufacturer but with a different number of interfaces and we want to get the same information for each interface.
    So I'm looking to do something like "for index in indexTable deploy template" to generate the items and graphs for all interfaces automatically rather than manually specifying the index. And yes, super lazy I know.

    Or would I need to do this with another scripting engine (BASH, Python, etc)?

    Thanks in advance,
    sludge
Working...