Closed thangaraj-26 closed 4 years ago
See the snippet it from the template.
<item_prototype>
<name>{#SERVICE} Restart</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>systemd.service.restart[{#SERVICE}]</key>
Due to #SERVICE in zbx_service_discovery.sh i am getting following error.
jinja2.exceptions.TemplateSyntaxError: Missing end of comment tag
can we keep {SERVICE} instead of {#SERVICE} while making same changes in corresponding xml(Template) file.