Merge pull request #59 from Kage1/main

Update README.py to reflect Netbox code change
This commit is contained in:
Twan K 2024-06-05 09:16:42 +02:00 committed by GitHub
commit 8e9594172b
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.
```
* 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
```