Hello,
I have 2 templates I'm working on.
Template A - General SNMP stuff. Works on all devices.
Template B - Reads a local json file for some extra metrics.
These 'extra' metrics via the json file the Template B looks for are not on all the devices, over time it will though. I wanted to link Template B to A, but I realise it's not best way possibly as Zabbix will run Template A on many devices where Template B won't work. Is there a way I can get Template B to discovery if the JSON file exists first then process with the rest of the template?
The URL is http://{HOST.IP}//metrics.json
I did wonder if I could check if port 80/443 is responding then treat that as ok too.
Any ideas would be great
I'm using Netbox to Sync with Zabbix, in Netbox I can only assign the one template (atm), so I wondered how I can assign 2 templates instead, so I thought I could just keep the same template name which is Template A and just link B to it, job done.
I have 2 templates I'm working on.
Template A - General SNMP stuff. Works on all devices.
Template B - Reads a local json file for some extra metrics.
These 'extra' metrics via the json file the Template B looks for are not on all the devices, over time it will though. I wanted to link Template B to A, but I realise it's not best way possibly as Zabbix will run Template A on many devices where Template B won't work. Is there a way I can get Template B to discovery if the JSON file exists first then process with the rest of the template?
The URL is http://{HOST.IP}//metrics.json
I did wonder if I could check if port 80/443 is responding then treat that as ok too.
Any ideas would be great
I'm using Netbox to Sync with Zabbix, in Netbox I can only assign the one template (atm), so I wondered how I can assign 2 templates instead, so I thought I could just keep the same template name which is Template A and just link B to it, job done.
Comment