summaryrefslogtreecommitdiff
path: root/data/templates/snmp/etc.snmpd.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/snmp/etc.snmpd.conf.tmpl')
-rw-r--r--data/templates/snmp/etc.snmpd.conf.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/snmp/etc.snmpd.conf.tmpl b/data/templates/snmp/etc.snmpd.conf.tmpl
index 30806ce8a..ca9b4d617 100644
--- a/data/templates/snmp/etc.snmpd.conf.tmpl
+++ b/data/templates/snmp/etc.snmpd.conf.tmpl
@@ -91,6 +91,11 @@ trap2sink {{ trap.target }}{{ ":" + trap.port if trap.port is defined }} {{ trap
{% for view in v3_views %}
{% for oid in view.oids %}
view {{ view.name }} included .{{ oid.oid }}
+{% if oid.exclude %}
+{% for excl in oid.exclude %}
+view {{ view.name }} excluded .{{ excl }}
+{% endfor %}
+{% endif %}
{% endfor %}
{% endfor %}