I am working on creating a framework for a device setup using Zabbix 6.0 monitoring and I was hoping I could get advice as I am a Zabbix beginner.
I already have zabbix server working for other monitoring, but I now have a situation where I have a Zabbix agent2 on one device connected to 1+ other devices which are also connected to 1+ other devices. In other words, there are layers of a 1 to many connection. I initially put a zabbix agent2 on each device, but this was deemed to use too much data, so I can only have the agent on the initial device. Information will be grabbed from the devices down the line using ssh from the source device.
My question is, how do I set up templates/items/triggers when I don't know exactly how many secondary and tertiary devices I am working with? As far as I can tell Zabbix doesn't have a way to dynamically create from a list of values, but I am hoping I can get similar behavior somehow. Is this something I can accomplish with clever use of macros? Will I need to set up scripts to have each device register its own items when they are set up?
Any advice would be helpful. Please also let me know if there is any additional information it would be helpful for me to provide.
I already have zabbix server working for other monitoring, but I now have a situation where I have a Zabbix agent2 on one device connected to 1+ other devices which are also connected to 1+ other devices. In other words, there are layers of a 1 to many connection. I initially put a zabbix agent2 on each device, but this was deemed to use too much data, so I can only have the agent on the initial device. Information will be grabbed from the devices down the line using ssh from the source device.
My question is, how do I set up templates/items/triggers when I don't know exactly how many secondary and tertiary devices I am working with? As far as I can tell Zabbix doesn't have a way to dynamically create from a list of values, but I am hoping I can get similar behavior somehow. Is this something I can accomplish with clever use of macros? Will I need to set up scripts to have each device register its own items when they are set up?
Any advice would be helpful. Please also let me know if there is any additional information it would be helpful for me to provide.