PDA

View Full Version : Using templates to help setup lots of indexed items?


stevedavies
10-07-2010, 10:03
HI,

I have a router device that supports lots of tunnels going to customer sites. New tunnels are added often. For each tunnel I monitor 18 items and have various triggers etc. I have multiple routers supporting these tunnel connections.

Here's an example item that I monitor:

Description: ViBE TX Jitter maximum for peer $1

SNMP OID: VOIPEX-VIBE-MIB::vibeTXJitterMax["index","vibePeerName","ctelcpt"]

Key: vibeTXJitterMax[ctelcpt]

As you can see - the "ctelcpt" is the name of the peer. To be clear, this is like an "interface name", like "eth0", "eth1" and is not the name of a monitored host.

Is there some way in which I can create a template of some sort defining the items and triggers for a "VIBE tunnel", and then somehow attach lots of instances of that template to the host with each having a "parameter" which is the peerName to match?

Thanks,
Steve Davies

alixen
12-07-2010, 10:55
Hi,

I'm afraid that it is not possible.
I've already asked it there : http://www.zabbix.com/forum/showthread.php?t=14826

Right now, the only way I have found is:
- export existing template
- search & replace interface name
- import new template

It is easier than creating it by hand but still harder that it could be.

Regards,
Alixen