From ddc65a6d58703d6d4ea18f2dfed58317e3fb9886 Mon Sep 17 00:00:00 2001 From: Kage1 <2062390+Kage1@users.noreply.github.com> Date: Thu, 30 May 2024 13:50:37 -0500 Subject: [PATCH] Update README.md Per https://github.com/netbox-community/netbox/releases/v3.5.0 obj. has been updated to object. Revised README to reflect this change. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 43085d2..9a838b8 100644 --- a/README.md +++ b/README.md @@ -232,8 +232,8 @@ If you want to automatically create hostgroups then the create permission on hos To make the user experience easier you could add a custom link that redirects users to the Zabbix latest data. ``` * Name: zabbix_latestData -* Text: {% if obj.cf["zabbix_hostid"] %}Show host in Zabbix{% endif %} -* URL: http://myzabbixserver.local/zabbix.php?action=latest.view&hostids[]={{ obj.cf["zabbix_hostid"] }} +* Text: {% if object.cf["zabbix_hostid"] %}Show host in Zabbix{% endif %} +* URL: http://myzabbixserver.local/zabbix.php?action=latest.view&hostids[]={{ object.cf["zabbix_hostid"] }} ``` ## Running the script ```