[ZBXNEXT-4050] snmp ro community string Created: 2017 Aug 24  Updated: 2017 Sep 11  Resolved: 2017 Sep 11

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Merete Dahl Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Problem:

In zabbix the community is defined in the template (or item). When we apply a template to a system this system must have the same community string as the tone defined in the template. If i apply the same template to a another identical server with a different community string it will not work. In order to solve this problem I clone the template and change the community string

Possible solution:
The community string could be a attribute of the host in zabbix. This attribute should have a macro that can be use in a template.

I think the solution is quite simple.



 Comments   
Comment by dimir [ 2017 Aug 24 ]

Aren't user macros working for you? Create a template level macro, use it in the item/community and then override the macro at a specific host.

I'll close this for now because it looks like user macros (Template level (default), Host level (overwrite)) could be used here.

Using user macros: https://www.zabbix.com/documentation/3.4/manual/config/macros/usermacros

Getting help: https://www.zabbix.org/wiki/Getting_help

Generated at Tue Jul 08 09:02:13 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.