<gateway compatibility="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.itrsgroup.com/GA5.5.2-210106/gateway.xsd">
    <!-- Setup Template Version 20090202 -->
    <types>
        <typeGroup name="Global Inf">
            <type name="Infrastructure Defaults for Dashboard">
                <sampler ref="Hardware View"></sampler>
                <sampler ref="CPU View"></sampler>
                <sampler ref="Network View"></sampler>
                <sampler ref="Geneos Processes View"></sampler>
            </type>
            <type name="Dashboard Data">
                <environment ref="Infrastructure Defaults for Dashboard"></environment>
                <sampler ref="GeneosProcessView"></sampler>
                <sampler ref="NetworkView"></sampler>
                <sampler ref="CPUView"></sampler>
                <sampler ref="HardwareView"></sampler>
                <sampler ref="Alerts"></sampler>
                <sampler ref="SnoozedItems"></sampler>
            </type>
        </typeGroup>
    </types>
    <samplers>
        <samplerGroup name="Global Inf">
            <samplerGroup name="Infrastructure Defaults for Dashboard">
                <sampler name="Hardware View">
                    <var-group>
                        <data>Hardware</data>
                    </var-group>
                    <plugin>
                        <hardware>
                            <linux>
                                <includeBuffersAndCache>
                                    <data>true</data>
                                </includeBuffersAndCache>
                            </linux>
                            <cpuSmoothing>
                                <data>true</data>
                            </cpuSmoothing>
                        </hardware>
                    </plugin>
                    <dataviews>
                        <dataview name="NT-HARDWARE">
                            <additions>
                                <var-rows>
                                    <data>
                                        <row>
                                            <data>memoryUsedPercent</data>
                                        </row>
                                    </data>
                                </var-rows>
                            </additions>
                        </dataview>
                    </dataviews>
                </sampler>
                <sampler name="Geneos Processes View">
                    <!--This is monitoring the Netprobe process running on port 7036-->
                    <var-group>
                        <data>Geneos</data>
                    </var-group>
                    <plugin>
                        <processes>
                            <processes>
                                <process>
                                    <data>
                                        <alias>
                                            <data>Netprobe</data>
                                        </alias>
                                        <ID>
                                            <searchString>
                                                <data>-port 7036</data>
                                            </searchString>
                                        </ID>
                                    </data>
                                </process>
                            </processes>
                        </processes>
                    </plugin>
                </sampler>
                <sampler name="CPU View">
                    <var-group>
                        <data>Hardware</data>
                    </var-group>
                    <expectRows>
                        <data></data>
                    </expectRows>
                    <expectRowsInitialDelay>
                        <data>1</data>
                    </expectRowsInitialDelay>
                    <plugin>
                        <cpu></cpu>
                    </plugin>
                </sampler>
                <sampler name="Network View">
                    <var-group>
                        <data>Hardware</data>
                    </var-group>
                    <plugin>
                        <network>
                            <showVirtualInterface>
                                <data>true</data>
                            </showVirtualInterface>
                            <showLoopback>
                                <data>false</data>
                            </showLoopback>
                            <showMBits>
                                <data>true</data>
                            </showMBits>
                            <showAbsolute>
                                <data>true</data>
                            </showAbsolute>
                            <showUnconfiguredNics>
                                <data>false</data>
                            </showUnconfiguredNics>
                        </network>
                    </plugin>
                </sampler>
            </samplerGroup>
            <samplerGroup name="Dashboard">
                <sampler name="CPUView">
                    <var-group>
                        <data>Dashboard</data>
                    </var-group>
                    <expectRows>
                        <data>
                            <expectRow>
                                <data>1</data>
                            </expectRow>
                            <expectRow>
                                <data>2</data>
                            </expectRow>
                            <expectRow>
                                <data>3</data>
                            </expectRow>
                            <expectRow>
                                <data>4</data>
                            </expectRow>
                            <expectRow>
                                <data>5</data>
                            </expectRow>
                            <expectRow>
                                <data>6</data>
                            </expectRow>
                        </data>
                    </expectRows>
                    <plugin>
                        <Gateway-sql>
                            <tables>
                                <dataview>
                                    <tableName>
                                        <data>CPUInfo</data>
                                    </tableName>
                                    <xpath>/geneos/gateway/directory/probe/managedEntity/sampler[(@name=&quot;CPU View&quot;)][(@type=&quot;Infrastructure Defaults for Dashboard&quot;)]/dataview[(@name=&quot;CPU View&quot;)]</xpath>
                                </dataview>
                            </tables>
                            <views>
                                <view>
                                    <name>
                                        <data>CPUInfo</data>
                                    </name>
                                    <sql>
                                        <data>Select * from CPUInfo </data>
                                    </sql>
                                    <showRowID>true</showRowID>
                                </view>
                            </views>
                        </Gateway-sql>
                    </plugin>
                    <dataviews>
                        <dataview name="CPUInfo">
                            <additions>
                                <var-headlines>
                                    <data>
                                        <headline>
                                            <data>numPhysicalCPUs</data>
                                        </headline>
                                        <headline>
                                            <data>numOnlineCPUs</data>
                                        </headline>
                                    </data>
                                </var-headlines>
                            </additions>
                        </dataview>
                    </dataviews>
                </sampler>
                <sampler name="HardwareView">
                    <var-group>
                        <data>Dashboard</data>
                    </var-group>
                    <plugin>
                        <Gateway-sql>
                            <tables>
                                <dataview>
                                    <tableName>
                                        <data>hardwareInfo</data>
                                    </tableName>
                                    <xpath>/geneos/gateway/directory/probe/managedEntity/sampler[(@name=&quot;Hardware View&quot;)][(@type=&quot;Infrastructure Defaults for Dashboard&quot;)]/dataview[(@name=&quot;Hardware View&quot;)]</xpath>
                                </dataview>
                            </tables>
                            <views>
                                <view>
                                    <name>
                                        <data>hardwareInfo</data>
                                    </name>
                                    <sql>
                                        <data>Select * from hardwareInfo</data>
                                    </sql>
                                </view>
                            </views>
                        </Gateway-sql>
                    </plugin>
                </sampler>
                <sampler name="Alerts">
                    <var-group>
                        <data>Dashboard</data>
                    </var-group>
                    <plugin>
                        <Gateway-severityCount>
                            <includeSnoozed>true</includeSnoozed>
                        </Gateway-severityCount>
                    </plugin>
                </sampler>
                <sampler name="SnoozedItems">
                    <var-group>
                        <data>Dashboard</data>
                    </var-group>
                    <plugin>
                        <Gateway-snoozeData></Gateway-snoozeData>
                    </plugin>
                </sampler>
                <sampler name="GeneosProcessView">
                    <var-group>
                        <data>Dashboard</data>
                    </var-group>
                    <plugin>
                        <Gateway-sql>
                            <tables>
                                <dataview>
                                    <tableName>
                                        <data>NPInfo</data>
                                    </tableName>
                                    <xpath>/geneos/gateway/directory/probe/managedEntity/sampler[(@name=&quot;Geneos Processes View&quot;)][(@type=&quot;Infrastructure Defaults for Dashboard&quot;)]/dataview[(@name=&quot;Geneos Processes View&quot;)]</xpath>
                                </dataview>
                            </tables>
                            <views>
                                <view>
                                    <name>
                                        <data>NPInfo</data>
                                    </name>
                                    <sql>
                                        <data>Select * from NPInfo</data>
                                    </sql>
                                </view>
                            </views>
                        </Gateway-sql>
                    </plugin>
                </sampler>
                <sampler name="NetworkView">
                    <var-group>
                        <data>Dashboard</data>
                    </var-group>
                    <expectRows>
                        <data>
                            <expectRow>
                                <data>1</data>
                            </expectRow>
                            <expectRow>
                                <data>2</data>
                            </expectRow>
                            <expectRow>
                                <data>3</data>
                            </expectRow>
                            <expectRow>
                                <data>4</data>
                            </expectRow>
                        </data>
                    </expectRows>
                    <plugin>
                        <Gateway-sql>
                            <setupSql>
                                <sql>
                                    <data></data>
                                </sql>
                            </setupSql>
                            <tables>
                                <dataview>
                                    <tableName>
                                        <data>networkInfo</data>
                                    </tableName>
                                    <xpath>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Infrastructure Defaults for Dashboard&quot;)]/dataview[(@name=&quot;Network View&quot;)]</xpath>
                                </dataview>
                            </tables>
                            <views>
                                <view>
                                    <name>
                                        <data>networkInfo</data>
                                    </name>
                                    <sql>
                                        <data>Select * from networkInfo  </data>
                                    </sql>
                                    <showRowID>true</showRowID>
                                </view>
                            </views>
                        </Gateway-sql>
                    </plugin>
                </sampler>
            </samplerGroup>
        </samplerGroup>
    </samplers>
    <rules>
        <ruleGroup name="GLOBAL Infrastructure">
            <default name="GLOBAL Infrastructure Default">
                <rule>
                    <priorityGroup>10000</priorityGroup>
                </rule>
            </default>
            <ruleGroup name="CPU">
                <rule name="CPU On line">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;CPUInfo&quot;)]/rows/row/cell[(@column=&quot;state&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <activeStateAffectsCell>false</activeStateAffectsCell>
                    <block>
                        <if>
                            <or>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string></string>
                                </like>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string>#noval</string>
                                </like>
                            </or>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>undefined</severity>
                                </update>
                            </transaction>
                            <if>
                                <unlike>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string>on-line</string>
                                </unlike>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>critical</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </block>
                </rule>
                <rule name="CPU Utilisation">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;CPUInfo&quot;)]/rows/row/cell[(@column=&quot;percentUtilisation&quot;)]</target>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;hardwareInfo&quot;)]/rows/row[(@name=&quot;cpuUtilisation&quot;)]/cell[(@column=&quot;Value&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <block>
                        <if>
                            <or>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string></string>
                                </like>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string>#noval</string>
                                </like>
                            </or>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>undefined</severity>
                                </update>
                            </transaction>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>70</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>critical</severity>
                                    </update>
                                </transaction>
                                <if>
                                    <gt>
                                        <dataItem>
                                            <property>@value</property>
                                        </dataItem>
                                        <integer>50</integer>
                                    </gt>
                                    <transaction>
                                        <update>
                                            <property>state/@severity</property>
                                            <severity>warning</severity>
                                        </update>
                                    </transaction>
                                    <transaction>
                                        <update>
                                            <property>state/@severity</property>
                                            <severity>ok</severity>
                                        </update>
                                    </transaction>
                                </if>
                            </if>
                        </if>
                    </block>
                </rule>
                <rule name="Num Physical CPUs">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;CPUInfo&quot;)]/headlines/cell[(@name=&quot;numPhysicalCPUs&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <pathAliases>
                        <pathAlias name="CPUsNo">/geneos/gateway/directory/probe/managedEntity/sampler[(@name=&quot;CPU View&quot;)][(@type=&quot;Infrastructure Defaults for Dashboard&quot;)]/dataview[(@name=&quot;CPU View&quot;)]/headlines/cell[(@name=&quot;numPhysicalCpus&quot;)]</pathAlias>
                    </pathAliases>
                    <block>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <first>
                                    <dataItems>
                                        <pathAlias ref="CPUsNo"></pathAlias>
                                        <property>@value</property>
                                    </dataItems>
                                </first>
                            </update>
                        </transaction>
                    </block>
                </rule>
                <rule name="Num Online CPUs">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;CPUInfo&quot;)]/headlines/cell[(@name=&quot;numOnlineCPUs&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <pathAliases>
                        <pathAlias name="OnlineCPUs">/geneos/gateway/directory/probe/managedEntity/sampler[(@name=&quot;CPU View&quot;)][(@type=&quot;Infrastructure Defaults for Dashboard&quot;)]/dataview[(@name=&quot;CPU View&quot;)]/headlines/cell[(@name=&quot;numOnlineCpus&quot;)]</pathAlias>
                    </pathAliases>
                    <block>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <first>
                                    <dataItems>
                                        <pathAlias ref="OnlineCPUs"></pathAlias>
                                        <property>@value</property>
                                    </dataItems>
                                </first>
                            </update>
                        </transaction>
                    </block>
                </rule>
            </ruleGroup>
            <ruleGroup name="Hardware">
                <rule name="Zombie Process">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;hardwareInfo&quot;)]/rows/row[(@name=&quot;zombieProcesses&quot;)]/cell[(@column=&quot;Value&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <activeStateAffectsCell>false</activeStateAffectsCell>
                    <block>
                        <if>
                            <or>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string>#noval</string>
                                </like>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string></string>
                                </like>
                            </or>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>undefined</severity>
                                </update>
                            </transaction>
                        </if>
                        <if>
                            <gt>
                                <dataItem>
                                    <property>@value</property>
                                </dataItem>
                                <var ref="INF_ZOMBIE_CRITICAL"></var>
                            </gt>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>critical</severity>
                                </update>
                            </transaction>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <var ref="INF_ZOMBIE_WARNING"></var>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>warning</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </block>
                </rule>
                <rule name="Memory Idle">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;hardwareInfo&quot;)]/rows/row[(@name=&quot;memoryIdle&quot;)]/cell[(@column=&quot;Value&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <activeStateAffectsCell>false</activeStateAffectsCell>
                    <block>
                        <if>
                            <lt>
                                <dataItem>
                                    <property>@value</property>
                                </dataItem>
                                <var ref="INF_MEM_IDLE_WARNING"></var>
                            </lt>
                            <transaction>
                                <delay>120</delay>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>warning</severity>
                                </update>
                            </transaction>
                            <if>
                                <lt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <var ref="INF_MEM_IDLE_CRITICAL"></var>
                                </lt>
                                <transaction>
                                    <delay>120</delay>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>critical</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </block>
                </rule>
                <rule name="Memory Available">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;hardwareInfo&quot;)]/rows/row[(@name=&quot;memoryAvailable&quot;)]/cell[(@column=&quot;Value&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <pathAliases>
                        <pathAlias name="available">/geneos/gateway/directory/probe/managedEntity/sampler[(@name=&quot;Hardware View&quot;)][(@type=&quot;Infrastructure Defaults for Dashboard&quot;)]/dataview[(@name=&quot;Hardware View&quot;)]/rows/row[(@name=&quot;memoryAvailable&quot;)]/cell[(@column=&quot;Value&quot;)]</pathAlias>
                        <pathAlias name="total">/geneos/gateway/directory/probe/managedEntity/sampler[(@name=&quot;Hardware&quot;)][(@type=&quot;Infrastructure Defaults&quot;)]/dataview[(@name=&quot;Hardware&quot;)]/rows/row[(@name=&quot;totalPhysicalMemory&quot;)]/cell[(@column=&quot;Value&quot;)]</pathAlias>
                    </pathAliases>
                    <block>
                        <if>
                            <gt>
                                <dataItem>
                                    <property>@value</property>
                                </dataItem>
                                <subtract>
                                    <first>
                                        <dataItems>
                                            <pathAlias ref="total"></pathAlias>
                                            <property>@value</property>
                                        </dataItems>
                                    </first>
                                    <subtract>
                                        <first>
                                            <dataItems>
                                                <pathAlias ref="available"></pathAlias>
                                                <property>@value</property>
                                            </dataItems>
                                        </first>
                                        <multiply>
                                            <divide>
                                                <integer>70</integer>
                                                <integer>100</integer>
                                            </divide>
                                            <first>
                                                <dataItems>
                                                    <pathAlias ref="available"></pathAlias>
                                                    <property>@value</property>
                                                </dataItems>
                                            </first>
                                        </multiply>
                                    </subtract>
                                </subtract>
                            </gt>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>critical</severity>
                                </update>
                            </transaction>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <subtract>
                                        <first>
                                            <dataItems>
                                                <pathAlias ref="total"></pathAlias>
                                                <property>@value</property>
                                            </dataItems>
                                        </first>
                                        <subtract>
                                            <first>
                                                <dataItems>
                                                    <pathAlias ref="available"></pathAlias>
                                                    <property>@value</property>
                                                </dataItems>
                                            </first>
                                            <multiply>
                                                <divide>
                                                    <integer>50</integer>
                                                    <integer>100</integer>
                                                </divide>
                                                <first>
                                                    <dataItems>
                                                        <pathAlias ref="available"></pathAlias>
                                                        <property>@value</property>
                                                    </dataItems>
                                                </first>
                                            </multiply>
                                        </subtract>
                                    </subtract>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>warning</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </block>
                </rule>
            </ruleGroup>
            <ruleGroup name="Network">
                <rule name="Network Link Unix">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;networkInfo&quot;)]/rows/row/cell[(@column=&quot;link&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <block>
                        <if>
                            <or>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string>#noval</string>
                                </like>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string></string>
                                </like>
                            </or>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>undefined</severity>
                                </update>
                            </transaction>
                            <if>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string>Up</string>
                                </like>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>critical</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </block>
                </rule>
                <rule name="Network Status Unix">
                    <targets>
                        <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;networkInfo&quot;)]/rows/row/cell[(@column=&quot;status&quot;)]</target>
                    </targets>
                    <priority>1</priority>
                    <activeStateAffectsCell>false</activeStateAffectsCell>
                    <block>
                        <if>
                            <or>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string>#noval</string>
                                </like>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string></string>
                                </like>
                            </or>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>undefined</severity>
                                </update>
                            </transaction>
                            <if>
                                <like>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <string>OK</string>
                                </like>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>critical</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </block>
                </rule>
            </ruleGroup>
        </ruleGroup>
        <ruleGroup name="GLOBAL Process">
            <default name="GLOBAL Process Default">
                <rule>
                    <priorityGroup>10000</priorityGroup>
                </rule>
            </default>
            <rule name="Netprobe Instance Count">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(@type=&quot;Dashboard Data&quot;)]/dataview[(@name=&quot;NPInfo&quot;)]/rows/row[(@name=&quot;Netprobe&quot;)]/cell[(@column=&quot;instanceCount&quot;)]</target>
                </targets>
                <priority>1</priority>
                <block>
                    <if>
                        <lt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>1</integer>
                        </lt>
                        <transaction>
                            <update>
                                <property>state/@severity</property>
                                <severity>critical</severity>
                            </update>
                        </transaction>
                        <if>
                            <gt>
                                <dataItem>
                                    <property>@value</property>
                                </dataItem>
                                <integer>1</integer>
                            </gt>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>warning</severity>
                                </update>
                            </transaction>
                            <transaction>
                                <update>
                                    <property>state/@severity</property>
                                    <severity>ok</severity>
                                </update>
                            </transaction>
                        </if>
                    </if>
                </block>
            </rule>
        </ruleGroup>
    </rules>
    <environments>
        <environmentGroup name="Global Inf">
            <environment name="Infrastructure Defaults for Dashboard">
                <var name="INF_MEM_IDLE_CRITICAL">
                    <integer>1</integer>
                </var>
                <var name="INF_MEM_IDLE_WARNING">
                    <integer>200</integer>
                </var>
                <var name="INF_ZOMBIE_WARNING">
                    <integer>10</integer>
                </var>
                <var name="INF_ZOMBIE_CRITICAL">
                    <integer>999999</integer>
                </var>
            </environment>
        </environmentGroup>
    </environments>
    <operatingEnvironment>
        <gatewayName></gatewayName>
    </operatingEnvironment>
</gateway>