Skip to content

Commit

Permalink
Merge pull request #3 from Vanguard-SG/snmp_conf_corrections
Browse files Browse the repository at this point in the history
Correcting sintax issue for the compilation of the mibdirs list in sn…
  • Loading branch information
pablodav authored Aug 24, 2020
2 parents 45bcf58 + 047a63a commit 5edd53c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/snmp.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@ mibdirs +/var/lib/mibs/netdisco-mibs/vmware
# Support additional mibdirs specified on nagios4_snmp_mib_dir_list
{% if nagios4_snmp_mib_dir_list %}
{% for l in nagios4_snmp_mib_dir_list %}
mibdirs +{{ l }}{% endfor %}
mibdirs +{{ l }}
{% endfor %}
{% endif %}

0 comments on commit 5edd53c

Please sign in to comment.