<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
    <version>5.0</version>
    <date>2021-05-11T09:56:43Z</date>
    <groups>
        <group>
            <name>Cesbo_templates</name>
        </group>
    </groups>
    <templates>
        <template>
            <template>Astra API monitoring</template>
            <name>Astra API monitoring</name>
            <groups>
                <group>
                    <name>Cesbo_templates</name>
                </group>
            </groups>
            <discovery_rules>
                <discovery_rule>
                    <name>astra_dvb_list</name>
                    <key>astra.dvb.list[{$PORT.LIST},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                    <delay>10m</delay>
                    <lifetime>0d</lifetime>
                    <description>Discovery rule to get list of used DVBs</description>
                    <item_prototypes>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE}</name>
                            <key>adapter_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            <history>7d</history>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra DVB</name>
                                </application_prototype>
                            </application_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} ber errors</name>
                            <type>DEPENDENT</type>
                            <key>ber[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <units>!cnt</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra DVB</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.ber</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>adapter_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} lock</name>
                            <type>DEPENDENT</type>
                            <key>lock[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra DVB</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.lock</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>adapter_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                            <trigger_prototypes>
                                <trigger_prototype>
                                    <expression>{last()}="false"</expression>
                                    <name>DVB {#NAME}  failed</name>
                                    <priority>AVERAGE</priority>
                                </trigger_prototype>
                            </trigger_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} signal percentage</name>
                            <type>DEPENDENT</type>
                            <key>psignal[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <units>%</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra DVB</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.signal</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>adapter_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} snr percentage</name>
                            <type>DEPENDENT</type>
                            <key>psnr[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <units>%</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra DVB</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.snr</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>adapter_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} signal level</name>
                            <type>DEPENDENT</type>
                            <key>signal[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <value_type>FLOAT</value_type>
                            <units>dBm</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra DVB</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.signal_db</params>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>adapter_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} snr level</name>
                            <type>DEPENDENT</type>
                            <key>snr[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <value_type>FLOAT</value_type>
                            <units>dB</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra DVB</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.snr_db</params>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>0.01</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>adapter_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} unc errors</name>
                            <type>DEPENDENT</type>
                            <key>unc[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <units>!cnt</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra DVB</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.unc</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>adapter_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                    </item_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <name>DVB {#NAME}  status</name>
                            <graph_items>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <color>FF0000</color>
                                    <yaxisside>RIGHT</yaxisside>
                                    <item>
                                        <host>Astra API monitoring</host>
                                        <key>ber[{#NAME}_{#ID}_{#INSTANCE}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <drawtype>GRADIENT_LINE</drawtype>
                                    <color>00FF00</color>
                                    <item>
                                        <host>Astra API monitoring</host>
                                        <key>signal[{#NAME}_{#ID}_{#INSTANCE}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>3</sortorder>
                                    <drawtype>GRADIENT_LINE</drawtype>
                                    <color>F7941D</color>
                                    <yaxisside>RIGHT</yaxisside>
                                    <item>
                                        <host>Astra API monitoring</host>
                                        <key>snr[{#NAME}_{#ID}_{#INSTANCE}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>4</sortorder>
                                    <color>6C59DC</color>
                                    <yaxisside>RIGHT</yaxisside>
                                    <item>
                                        <host>Astra API monitoring</host>
                                        <key>unc[{#NAME}_{#ID}_{#INSTANCE}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                </discovery_rule>
                <discovery_rule>
                    <name>astra_stream_list</name>
                    <key>astra.stream.list[{$PORT.LIST},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                    <delay>10m</delay>
                    <lifetime>0d</lifetime>
                    <description>Discovery rule to get list of streams</description>
                    <item_prototypes>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} active</name>
                            <type>DEPENDENT</type>
                            <key>active[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra channels</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.active</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>channel_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} bitrate</name>
                            <type>DEPENDENT</type>
                            <key>bitrate[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <units>bps</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra channels</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.bitrate</params>
                                </step>
                                <step>
                                    <type>MULTIPLIER</type>
                                    <params>1000</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>channel_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} cc errors</name>
                            <type>DEPENDENT</type>
                            <key>cc[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <units>!cnt</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra channels</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.cc_error</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>channel_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE}</name>
                            <key>channel_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            <history>7d</history>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra channels</name>
                                </application_prototype>
                            </application_prototypes>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} onair</name>
                            <type>DEPENDENT</type>
                            <key>onair[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <trends>0</trends>
                            <value_type>TEXT</value_type>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra channels</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.onair</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>channel_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} pes errors</name>
                            <type>DEPENDENT</type>
                            <key>pes[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <units>!cnt</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra channels</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.pes_error</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>channel_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                        <item_prototype>
                            <name>{#NAME}_{#ID}_{#INSTANCE} sessions</name>
                            <type>DEPENDENT</type>
                            <key>sessions[{#NAME}_{#ID}_{#INSTANCE}]</key>
                            <delay>0</delay>
                            <history>7d</history>
                            <units>!cnt</units>
                            <application_prototypes>
                                <application_prototype>
                                    <name>Astra channels</name>
                                </application_prototype>
                            </application_prototypes>
                            <preprocessing>
                                <step>
                                    <type>JSONPATH</type>
                                    <params>$.sessions</params>
                                </step>
                            </preprocessing>
                            <master_item>
                                <key>channel_info[{#PORT},{#ID},{$ASTRA.USER},{$ASTRA.PWD}]</key>
                            </master_item>
                        </item_prototype>
                    </item_prototypes>
                    <trigger_prototypes>
                        <trigger_prototype>
                            <expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="false" and {Astra API monitoring:cc[{#NAME}_{#ID}_{#INSTANCE}].last()}&gt;0
and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].count(#5,"false",eq)}&gt;=2</expression>
                            <recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
                            <recovery_expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:cc[{#NAME}_{#ID}_{#INSTANCE}].last()}=0
and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].count(#5,"false",eq)}=0</recovery_expression>
                            <name>Channel {#NAME} on {#INSTANCE} CC ERRORS flaps</name>
                            <priority>AVERAGE</priority>
                            <dependencies>
                                <dependency>
                                    <name>Channel {#NAME} on {#INSTANCE} is SCRAMBLED</name>
                                    <expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="false" and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}&gt;0</expression>
                                    <recovery_expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}=0</recovery_expression>
                                </dependency>
                            </dependencies>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="false" and {Astra API monitoring:cc[{#NAME}_{#ID}_{#INSTANCE}].last()}&gt;0</expression>
                            <recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
                            <recovery_expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:cc[{#NAME}_{#ID}_{#INSTANCE}].last()}=0</recovery_expression>
                            <name>Channel {#NAME} on {#INSTANCE} have CC ERRORS</name>
                            <priority>AVERAGE</priority>
                            <dependencies>
                                <dependency>
                                    <name>Channel {#NAME} on {#INSTANCE} CC ERRORS flaps</name>
                                    <expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="false" and {Astra API monitoring:cc[{#NAME}_{#ID}_{#INSTANCE}].last()}&gt;0
and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].count(#5,"false",eq)}&gt;=2</expression>
                                    <recovery_expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:cc[{#NAME}_{#ID}_{#INSTANCE}].last()}=0
and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].count(#5,"false",eq)}=0</recovery_expression>
                                </dependency>
                            </dependencies>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="false" and ({Astra API monitoring:cc[{#NAME}_{#ID}_{#INSTANCE}].last()}=0 and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}=0)</expression>
                            <name>Channel {#NAME} on {#INSTANCE} have NO SIGNAL</name>
                            <priority>AVERAGE</priority>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="false" and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}&gt;0</expression>
                            <recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
                            <recovery_expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}=0</recovery_expression>
                            <name>Channel {#NAME} on {#INSTANCE} is SCRAMBLED</name>
                            <priority>AVERAGE</priority>
                            <dependencies>
                                <dependency>
                                    <name>Channel {#NAME} on {#INSTANCE} SCRAMBLED flaps</name>
                                    <expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="false" and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}&gt;0
and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].count(#5,"false",eq)}&gt;=2</expression>
                                    <recovery_expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}=0
and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].count(#5,"false",eq)}=0</recovery_expression>
                                </dependency>
                            </dependencies>
                        </trigger_prototype>
                        <trigger_prototype>
                            <expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="false" and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}&gt;0
and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].count(#5,"false",eq)}&gt;=2</expression>
                            <recovery_mode>RECOVERY_EXPRESSION</recovery_mode>
                            <recovery_expression>{Astra API monitoring:active[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].last()}="true" and {Astra API monitoring:pes[{#NAME}_{#ID}_{#INSTANCE}].last()}=0
and {Astra API monitoring:onair[{#NAME}_{#ID}_{#INSTANCE}].count(#5,"false",eq)}=0</recovery_expression>
                            <name>Channel {#NAME} on {#INSTANCE} SCRAMBLED flaps</name>
                            <priority>AVERAGE</priority>
                        </trigger_prototype>
                    </trigger_prototypes>
                    <graph_prototypes>
                        <graph_prototype>
                            <name>Channel {#NAME} on {#INSTANCE}</name>
                            <graph_items>
                                <graph_item>
                                    <sortorder>1</sortorder>
                                    <drawtype>FILLED_REGION</drawtype>
                                    <color>199C0D</color>
                                    <item>
                                        <host>Astra API monitoring</host>
                                        <key>bitrate[{#NAME}_{#ID}_{#INSTANCE}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>2</sortorder>
                                    <drawtype>BOLD_LINE</drawtype>
                                    <color>F63100</color>
                                    <yaxisside>RIGHT</yaxisside>
                                    <item>
                                        <host>Astra API monitoring</host>
                                        <key>cc[{#NAME}_{#ID}_{#INSTANCE}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>3</sortorder>
                                    <drawtype>DASHED_LINE</drawtype>
                                    <color>FFEE58</color>
                                    <yaxisside>RIGHT</yaxisside>
                                    <item>
                                        <host>Astra API monitoring</host>
                                        <key>pes[{#NAME}_{#ID}_{#INSTANCE}]</key>
                                    </item>
                                </graph_item>
                                <graph_item>
                                    <sortorder>4</sortorder>
                                    <color>3949AB</color>
                                    <yaxisside>RIGHT</yaxisside>
                                    <item>
                                        <host>Astra API monitoring</host>
                                        <key>sessions[{#NAME}_{#ID}_{#INSTANCE}]</key>
                                    </item>
                                </graph_item>
                            </graph_items>
                        </graph_prototype>
                    </graph_prototypes>
                </discovery_rule>
            </discovery_rules>
            <macros>
                <macro>
                    <macro>{$ASTRA.PWD}</macro>
                    <description>password for astra API</description>
                </macro>
                <macro>
                    <macro>{$ASTRA.USER}</macro>
                    <description>username for astra API</description>
                </macro>
                <macro>
                    <macro>{$PORT.LIST}</macro>
                    <description>ports used by astra instances, separated by comma ","</description>
                </macro>
            </macros>
        </template>
    </templates>
</zabbix_export>
