Skip to content

Commit e8a733c

Browse files
committed
2 parents be76386 + b5a01e0 commit e8a733c

File tree

7 files changed

+972
-851
lines changed

7 files changed

+972
-851
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,28 @@ You can set the proxy for a device using the 'proxy' key in config context.
255255
}
256256
}
257257
```
258+
It is now posible to specify proxy groups with the introduction of Proxy groups in Zabbix 7. Specifying a group in the config context on older Zabbix releases will have no impact and the script will ignore the statement.
259+
260+
```json
261+
{
262+
"zabbix": {
263+
"proxy_group": "yourawesomeproxygroup.local"
264+
}
265+
}
266+
```
267+
268+
The script will prefer groups when specifying both a proxy and group. This is done with the assumption that groups are more resiliant and HA ready, making it a more logical choice to use for proxy linkage. This also makes migrating from a proxy to proxy group easier since the group take priority over the invidivual proxy.
269+
270+
```json
271+
{
272+
"zabbix": {
273+
"proxy": "yourawesomeproxy.local",
274+
"proxy_group": "yourawesomeproxygroup.local"
275+
}
276+
}
277+
```
278+
In the example above the host will use the group on Zabbix 7. On Zabbix 6 and below the host will use the proxy. Zabbix 7 will use the proxy value when ommiting the proxy_group value.
279+
258280
Because of the possible amount of destruction when setting up Netbox but forgetting the proxy command, the sync works a bit different. By default everything is synced except in a situation where the Zabbix host has a proxy configured but nothing is configured in Netbox. To force deletion and a full sync, set the `full_proxy_sync` variable in the config file.
259281

260282
### Set interface parameters within Netbox

0 commit comments

Comments
 (0)