I'm trying to figure out how to setup a template to work with multiple IP's for a single machine so that I don't have to manually setup a couple hundred items and triggers.
Brief rundown of my setup. Currently have approximately 170 machines all with multiple IP's that fall under different categories. Each setup is created the exact same way as far as machine interfaces go.
e.g.
Machine 1
Agent Interface 1: 172.30.16.1
Agent Interface 2: 172.30.16.2
SNMP interface 1: 172.30.16.3
In my template I'd like to be able to setup an item that would pull from the interface I specify.
eg.
Simple check icmpping on each interface by somehow specifying the correct interface in the item setup so that I'm able to monitor all interfaces individually on the same machine.
Is there a way to use the standard syntax of:
icmpping[<target>,<packets>,<interval>,<size>,<timeout>]
and have an additional field or something such as:
icmpping[<target>,<packets>,<interval>,<size>,<timeout><int erface>]
Where <interface> can be say A1, A2, S1 and so on?
This way I'd be able to create a template with items such as "Interface 1 status", "SNMP interface 1 status" automatically via the template and then would be able to easily create the associated triggers.
Sorry for repeating myself a couple of times there, bad habit...
Brief rundown of my setup. Currently have approximately 170 machines all with multiple IP's that fall under different categories. Each setup is created the exact same way as far as machine interfaces go.
e.g.
Machine 1
Agent Interface 1: 172.30.16.1
Agent Interface 2: 172.30.16.2
SNMP interface 1: 172.30.16.3
In my template I'd like to be able to setup an item that would pull from the interface I specify.
eg.
Simple check icmpping on each interface by somehow specifying the correct interface in the item setup so that I'm able to monitor all interfaces individually on the same machine.
Is there a way to use the standard syntax of:
icmpping[<target>,<packets>,<interval>,<size>,<timeout>]
and have an additional field or something such as:
icmpping[<target>,<packets>,<interval>,<size>,<timeout><int erface>]
Where <interface> can be say A1, A2, S1 and so on?
This way I'd be able to create a template with items such as "Interface 1 status", "SNMP interface 1 status" automatically via the template and then would be able to easily create the associated triggers.
Sorry for repeating myself a couple of times there, bad habit...
Comment