zabbix: fix 6in4 network interface discovery
authorJacek Konieczny <jajcus@jajcus.net>
Fri, 19 Nov 2021 16:55:19 +0000 (17:55 +0100)
committerEtienne Champetier <champetier.etienne@gmail.com>
Sun, 21 Nov 2021 16:00:53 +0000 (11:00 -0500)
commit30007d380466b76a6f8ea3dbbdc1fa2c9d1704a6
tree8fdfdee2926a1cf901ea5ba39328a9e96b582ba4
parent546973f711f322f2d74ed9627c8a3cb81794a341
zabbix: fix 6in4 network interface discovery

Those devices don't have 'device' propery, only 'l3_device', which
causes 'attempt to concatenate field 'device' (a nil value)' lua error.

Use 'l3_device' as a fallback in this case.

Signed-off-by: Jacek Konieczny <jajcus@jajcus.net>
admin/zabbix/Makefile
admin/zabbix/files/network