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.
This commit is contained in:
Kage1 2024-05-30 13:50:37 -05:00 committed by GitHub
parent 58d894832e
commit ddc65a6d58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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. To make the user experience easier you could add a custom link that redirects users to the Zabbix latest data.
``` ```
* Name: zabbix_latestData * Name: zabbix_latestData
* Text: {% if obj.cf["zabbix_hostid"] %}Show host in Zabbix{% endif %} * Text: {% if object.cf["zabbix_hostid"] %}Show host in Zabbix{% endif %}
* URL: http://myzabbixserver.local/zabbix.php?action=latest.view&hostids[]={{ obj.cf["zabbix_hostid"] }} * URL: http://myzabbixserver.local/zabbix.php?action=latest.view&hostids[]={{ object.cf["zabbix_hostid"] }}
``` ```
## Running the script ## Running the script
``` ```