<gateway compatibility="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.itrsgroup.com/GA3.3.0-150928/gateway.xsd">
    <managedEntities>
        <managedEntity disabled="true" name="Dashboard Drivers">
            <probe ref="np_lab1"></probe>
            <sampler ref="Generic Alerting List Driver V2"></sampler>
            <sampler ref="Generic Meta Data Bar Driver V1"></sampler>
            <sampler ref="SLA Tracking Bar Driver V1"></sampler>
            <sampler ref="Expanding Shape Driver V1"></sampler>
        </managedEntity>
    </managedEntities>
    <samplers>
        <samplerGroup name="Dashboard Drivers">
            <sampler name="Generic Alerting List Driver V2">
                <var-group>
                    <data>Generic Alerting List Driver V2</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>
                        <expectRow>
                            <data>7</data>
                        </expectRow>
                        <expectRow>
                            <data>8</data>
                        </expectRow>
                        <expectRow>
                            <data>9</data>
                        </expectRow>
                        <expectRow>
                            <data>10</data>
                        </expectRow>
                        <expectRow>
                            <data>11</data>
                        </expectRow>
                        <expectRow>
                            <data>12</data>
                        </expectRow>
                        <expectRow>
                            <data>13</data>
                        </expectRow>
                        <expectRow>
                            <data>14</data>
                        </expectRow>
                        <expectRow>
                            <data>15</data>
                        </expectRow>
                        <expectRow>
                            <data>16</data>
                        </expectRow>
                        <expectRow>
                            <data>17</data>
                        </expectRow>
                        <expectRow>
                            <data>18</data>
                        </expectRow>
                        <expectRow>
                            <data>19</data>
                        </expectRow>
                        <expectRow>
                            <data>20</data>
                        </expectRow>
                        <expectRow>
                            <data>21</data>
                        </expectRow>
                        <expectRow>
                            <data>22</data>
                        </expectRow>
                        <expectRow>
                            <data>23</data>
                        </expectRow>
                        <expectRow>
                            <data>24</data>
                        </expectRow>
                        <expectRow>
                            <data>25</data>
                        </expectRow>
                        <expectRow>
                            <data>26</data>
                        </expectRow>
                    </data>
                </expectRows>
                <plugin>
                    <Gateway-sql>
                        <views>
                            <view>
                                <name>
                                    <data>Alerts</data>
                                </name>
                                <sql>
                                    <data>SELECT 
    &quot;100&quot; AS &quot;Reference&quot;,
    &quot;theObject&quot; AS &quot;Object&quot;,
     &quot;The Description&quot; AS &quot;Description&quot;,
    &quot;The Owner&quot; AS &quot;Owner&quot;,
    2 AS Score,
    &quot;The Speech Bubble Text&quot; AS &quot;SpeechBubbleText&quot;
    </data>
                                </sql>
                                <showRowID>true</showRowID>
                            </view>
                        </views>
                    </Gateway-sql>
                </plugin>
                <dataviews>
                    <dataview name="Alerts">
                        <additions>
                            <var-headlines>
                                <data>
                                    <headline>
                                        <data>Heading</data>
                                    </headline>
                                    <headline>
                                        <data>Column1Title</data>
                                    </headline>
                                    <headline>
                                        <data>Column2Title</data>
                                    </headline>
                                    <headline>
                                        <data>Column3Title</data>
                                    </headline>
                                </data>
                            </var-headlines>
                            <var-columns>
                                <data>
                                    <column>
                                        <data>NumAlerts</data>
                                    </column>
                                    <column>
                                        <data>TicketIdTransparancy</data>
                                    </column>
                                    <column>
                                        <data>SpeechBubbleTransparancy</data>
                                    </column>
                                    <column>
                                        <data>SpeechBubbleShadowTransparancy</data>
                                    </column>
                                    <column>
                                        <data>CallOutText</data>
                                    </column>
                                    <column>
                                        <data>Transparancy</data>
                                    </column>
                                </data>
                            </var-columns>
                        </additions>
                    </dataview>
                </dataviews>
            </sampler>
            <sampler name="Generic Meta Data Bar Driver V1">
                <var-group>
                    <data>Generic Meta Data Bar Driver V1</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>
                        <expectRow>
                            <data>7</data>
                        </expectRow>
                        <expectRow>
                            <data>8</data>
                        </expectRow>
                        <expectRow>
                            <data>9</data>
                        </expectRow>
                        <expectRow>
                            <data>10</data>
                        </expectRow>
                        <expectRow>
                            <data>11</data>
                        </expectRow>
                        <expectRow>
                            <data>12</data>
                        </expectRow>
                        <expectRow>
                            <data>13</data>
                        </expectRow>
                        <expectRow>
                            <data>14</data>
                        </expectRow>
                        <expectRow>
                            <data>15</data>
                        </expectRow>
                    </data>
                </expectRows>
                <plugin>
                    <Gateway-sql>
                        <views>
                            <view>
                                <name>
                                    <data>Meta Data Bar</data>
                                </name>
                                <sql>
                                    <data>SELECT

&quot;Value 1&quot; AS value,
&quot;Units&quot; AS units,
&quot;Name 1&quot; AS name,
2 AS severity
</data>
                                </sql>
                                <showRowID>true</showRowID>
                            </view>
                        </views>
                    </Gateway-sql>
                </plugin>
                <dataviews>
                    <dataview name="Meta Data Bar">
                        <additions>
                            <var-headlines>
                                <data>
                                    <headline>
                                        <data>Heading</data>
                                    </headline>
                                </data>
                            </var-headlines>
                        </additions>
                    </dataview>
                </dataviews>
            </sampler>
            <sampler name="SLA Tracking Bar Driver V1">
                <var-group>
                    <data>SLA Tracking Bar Driver V1</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>
                        <expectRow>
                            <data>7</data>
                        </expectRow>
                        <expectRow>
                            <data>8</data>
                        </expectRow>
                        <expectRow>
                            <data>9</data>
                        </expectRow>
                        <expectRow>
                            <data>10</data>
                        </expectRow>
                        <expectRow>
                            <data>11</data>
                        </expectRow>
                        <expectRow>
                            <data>12</data>
                        </expectRow>
                        <expectRow>
                            <data>13</data>
                        </expectRow>
                        <expectRow>
                            <data>14</data>
                        </expectRow>
                        <expectRow>
                            <data>15</data>
                        </expectRow>
                    </data>
                </expectRows>
                <plugin>
                    <Gateway-sql>
                        <views>
                            <view>
                                <name>
                                    <data>SLA Bar Driver</data>
                                </name>
                                <sql>
                                    <data>SELECT

&quot;name&quot; AS name,
&quot;State&quot; AS state,
2 AS severity,
70 AS bar1Percent,
30 AS bar2Percent,
20 AS bar3Percent,
&quot;&quot; AS bar1endLabel,
&quot;&quot; AS bar2endLabel,
&quot;&quot; AS bar3endLabel,
&quot;141,149,211&quot; AS bar1MainColour,
&quot;70,84,166&quot; AS bar1GradColour,
&quot;251,251,78&quot; AS bar2MainColour,
&quot;149,149,0&quot; AS bar2GradColour,
&quot;205,20,24&quot; AS bar3MainColour,
&quot;183,50,50&quot; AS bar3GradColour</data>
                                </sql>
                                <showRowID>true</showRowID>
                            </view>
                        </views>
                    </Gateway-sql>
                </plugin>
                <dataviews>
                    <dataview name="SLA Bar Driver">
                        <additions>
                            <var-columns>
                                <data>
                                    <column>
                                        <data>NonTransparentFillTransparancy</data>
                                    </column>
                                    <column>
                                        <data>PartTransparentFillTransparancy</data>
                                    </column>
                                    <column>
                                        <data>BarWidth</data>
                                    </column>
                                    <column>
                                        <data>BarHeight</data>
                                    </column>
                                    <column>
                                        <data>MainFillColour</data>
                                    </column>
                                    <column>
                                        <data>GradFillColour</data>
                                    </column>
                                    <column>
                                        <data>bar1Width</data>
                                    </column>
                                    <column>
                                        <data>bar2Width</data>
                                    </column>
                                    <column>
                                        <data>bar3Width</data>
                                    </column>
                                    <column>
                                        <data>barTransparancy</data>
                                    </column>
                                    <column>
                                        <data>highlightTransparancy</data>
                                    </column>
                                    <column>
                                        <data>volumeBarHeight</data>
                                    </column>
                                    <column>
                                        <data>bar1InferedLabel</data>
                                    </column>
                                    <column>
                                        <data>bar2InferedLabel</data>
                                    </column>
                                    <column>
                                        <data>bar3InferedLabel</data>
                                    </column>
                                </data>
                            </var-columns>
                        </additions>
                    </dataview>
                </dataviews>
            </sampler>
            <sampler name="Expanding Shape Driver V1">
                <var-group>
                    <data>Expanding Shape Driver V1</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>
                        <expectRow>
                            <data>7</data>
                        </expectRow>
                        <expectRow>
                            <data>8</data>
                        </expectRow>
                        <expectRow>
                            <data>9</data>
                        </expectRow>
                        <expectRow>
                            <data>10</data>
                        </expectRow>
                        <expectRow>
                            <data>11</data>
                        </expectRow>
                        <expectRow>
                            <data>12</data>
                        </expectRow>
                        <expectRow>
                            <data>13</data>
                        </expectRow>
                        <expectRow>
                            <data>14</data>
                        </expectRow>
                        <expectRow>
                            <data>15</data>
                        </expectRow>
                        <expectRow>
                            <data>16</data>
                        </expectRow>
                        <expectRow>
                            <data>17</data>
                        </expectRow>
                        <expectRow>
                            <data>18</data>
                        </expectRow>
                        <expectRow>
                            <data>19</data>
                        </expectRow>
                        <expectRow>
                            <data>20</data>
                        </expectRow>
                        <expectRow>
                            <data>21</data>
                        </expectRow>
                        <expectRow>
                            <data>22</data>
                        </expectRow>
                        <expectRow>
                            <data>23</data>
                        </expectRow>
                        <expectRow>
                            <data>24</data>
                        </expectRow>
                        <expectRow>
                            <data>25</data>
                        </expectRow>
                        <expectRow>
                            <data>26</data>
                        </expectRow>
                        <expectRow>
                            <data>27</data>
                        </expectRow>
                        <expectRow>
                            <data>28</data>
                        </expectRow>
                        <expectRow>
                            <data>29</data>
                        </expectRow>
                        <expectRow>
                            <data>30</data>
                        </expectRow>
                    </data>
                </expectRows>
                <plugin>
                    <Gateway-sql>
                        <views>
                            <view>
                                <name>
                                    <data>Expanding Shapes</data>
                                </name>
                                <sql>
                                    <data>SELECT

&quot;Name&quot; AS name,
150 AS width,
150 AS height,
0.5 AS fillTransparancy,
1 AS borderTransparancy,
1 AS borderThickness,
2 AS severity,
200 AS xpos,
200 AS ypos

</data>
                                </sql>
                                <showRowID>true</showRowID>
                            </view>
                        </views>
                    </Gateway-sql>
                </plugin>
                <dataviews>
                    <dataview name="Expanding Shapes">
                        <additions>
                            <var-headlines>
                                <data>
                                    <headline>
                                        <data>Xoffset</data>
                                    </headline>
                                    <headline>
                                        <data>Yoffset</data>
                                    </headline>
                                    <headline>
                                        <data>ScalingFactor</data>
                                    </headline>
                                </data>
                            </var-headlines>
                            <var-columns>
                                <data>
                                    <column>
                                        <data>ActualXpos</data>
                                    </column>
                                    <column>
                                        <data>ActualYpos</data>
                                    </column>
                                    <column>
                                        <data>MainFillColour</data>
                                    </column>
                                    <column>
                                        <data>GradFillColour</data>
                                    </column>
                                    <column>
                                        <data>Highlight Transparancy</data>
                                    </column>
                                </data>
                            </var-columns>
                        </additions>
                    </dataview>
                </dataviews>
            </sampler>
            <sampler name="European Volume Driver V1">
                <var-group>
                    <data>Expanding Shape Driver V1</data>
                </var-group>
                <plugin>
                    <Gateway-sql>
                        <views>
                            <view>
                                <name>
                                    <data>European Volumes</data>
                                </name>
                                <sql>
                                    <data>SELECT 
    c.countryID AS countryID,
    c.country AS country,
    c.xpos AS xpos,
    c.ypos AS ypos,
    COALESCE(countriesOfInterest.name, NULL) AS name,
    COALESCE(countriesOfInterest.width,5) AS width,
    COALESCE(countriesOfInterest.height,5) AS height,
    COALESCE(countriesOfInterest.fillTransparancy, 0.01) AS fillTransparancy,
    COALESCE(countriesOfInterest.borderTransparancy, 0.01) AS borderTransparancy,
    1 AS borderThickness,
    COALESCE(countriesOfInterest.severity,1) AS severity
FROM
(
    SELECT * FROM
    (
    SELECT 1 AS countryID, &quot;Albania&quot; AS country, &quot;AL&quot; AS intials, 516 AS xpos, 725 AS ypos
    UNION SELECT 2 AS countryID,&quot;Andorra&quot; AS country,&quot;AD&quot; AS intials, 201 AS xpos, 654 AS ypos
    UNION SELECT 4 AS countryID,&quot;Austria&quot; AS country,&quot;AT&quot; AS intials, 428 AS xpos, 569 AS ypos
    UNION SELECT 5 AS countryID,&quot;Belarus&quot; AS country,&quot;BY&quot; AS intials, 610 AS xpos, 428 AS ypos
    UNION SELECT 6 AS countryID,&quot;Belgium&quot; AS country, &quot;BE&quot; AS intials, 286 AS xpos, 484 AS ypos
    UNION SELECT 7 AS countryID,&quot;Bosnia and Herzegovina&quot; AS country,&quot;BA&quot; AS intials, 474 AS xpos, 646 AS ypos
    UNION SELECT 8 AS countryID,&quot;Bulgaria&quot; AS country,&quot;BG&quot; AS intials, 596 AS xpos, 675 AS ypos
    UNION SELECT 9 AS countryID,&quot;Croatia&quot; AS country,&quot;HR&quot; AS intials, 423 AS xpos, 624 AS ypos
    UNION SELECT 10 AS countryID,&quot;Cyprus&quot; AS country,&quot;CY&quot; AS intials, 732 AS xpos, 831 AS ypos
    UNION SELECT 12 AS countryID,&quot;Denmark&quot; AS country,&quot;DK&quot; AS intials, 372 AS xpos, 367 AS ypos
    UNION SELECT 13 AS countryID,&quot;Estonia&quot; AS country,&quot;EE&quot; AS intials, 564 AS xpos, 320 AS ypos
    UNION SELECT 14 AS countryID,&quot;Finland&quot; AS country,&quot;FI&quot; AS intials, 564 AS xpos, 230 AS ypos
    UNION SELECT 15 AS countryID,&quot;France&quot; AS country,&quot;FR&quot; AS intials, 245 AS xpos, 551 AS ypos
    UNION SELECT 16 AS countryID,&quot;Georgia&quot; AS country,&quot;GE&quot; AS intials, 745 AS xpos, 656 AS ypos
    UNION SELECT 17 AS countryID,&quot;Germany&quot; AS country,&quot;DE&quot; AS intials, 364 AS xpos, 483 AS ypos
    UNION SELECT 18 AS countryID,&quot;Greece&quot; AS country,&quot;GR&quot; AS intials, 546 AS xpos, 749 AS ypos
    UNION SELECT 19 AS countryID,&quot;Hungary&quot; AS country,&quot;HU&quot; AS intials, 497 AS xpos, 581 AS ypos
    UNION SELECT 20 AS countryID,&quot;Iceland&quot; AS country,&quot;IS&quot; AS intials, 147 AS xpos, 114 AS ypos
    UNION SELECT 21 AS countryID,&quot;Ireland&quot; AS country,&quot;IE&quot; AS intials, 140 AS xpos, 386 AS ypos
    UNION SELECT 22 AS countryID,&quot;Italy&quot; AS country,&quot;IT&quot; AS intials, 401 AS xpos, 692 AS ypos
    UNION SELECT 25 AS countryID,&quot;Latvia&quot; AS country,&quot;LV&quot; AS intials, 575 AS xpos, 357 AS ypos
    UNION SELECT 26 AS countryID,&quot;Liechtenstein&quot; AS country,&quot;LI&quot; AS intials, 367 AS xpos, 576 AS ypos
    UNION SELECT 27 AS countryID,&quot;Lithuania&quot; AS country,&quot;LT&quot; AS intials, 550 AS xpos, 394 AS ypos
    UNION SELECT 28 AS countryID,&quot;Luxembourg&quot; AS country,&quot;LU&quot; AS intials, 305 AS xpos, 505 AS ypos
    UNION SELECT 29 AS countryID,&quot;Macedonia&quot; AS country,&quot;MK&quot; AS intials, 536 AS xpos, 699 AS ypos
    UNION SELECT 30 AS countryID,&quot;Malta&quot; AS country,&quot;MT&quot; AS intials, 403 AS xpos, 830 AS ypos
    UNION SELECT 11 AS countryID,&quot;Moldova&quot; AS country,&quot;MD&quot; AS intials, 634 AS xpos, 566 AS ypos
    UNION SELECT 31 AS countryID,&quot;Monaco&quot; AS country,&quot;MC&quot; AS intials, 305 AS xpos, 648 AS ypos
    UNION SELECT 32 AS countryID,&quot;Netherlands&quot; AS country,&quot;NL&quot; AS intials, 311 AS xpos, 448 AS ypos
    UNION SELECT 33 AS countryID,&quot;Norway&quot; AS country,&quot;NO&quot; AS intials, 379 AS xpos, 265 AS ypos
    UNION SELECT 34 AS countryID,&quot;Poland&quot; AS country,&quot;PL&quot; AS intials, 493 AS xpos, 466 AS ypos
    UNION SELECT 35 AS countryID,&quot;Portugal&quot; AS country,&quot;PT&quot; AS intials, 45 AS xpos, 656 AS ypos
    UNION SELECT 36 AS countryID,&quot;Romania&quot; AS country,&quot;RO&quot; AS intials, 580 AS xpos, 606 AS ypos
    UNION SELECT 37 AS countryID,&quot;Russia&quot; AS country,&quot;RU&quot; AS intials, 713 AS xpos, 393 AS ypos
    UNION SELECT 38 AS countryID,&quot;San Marino&quot; AS country,&quot;SM&quot; AS intials, 393 AS xpos, 648 AS ypos
    UNION SELECT 39 AS countryID,&quot;Serbia&quot; AS country,&quot;RS&quot; AS intials, 518 AS xpos, 643 AS ypos
    UNION SELECT 40 AS countryID,&quot;Slovakia&quot; AS country,&quot;SK&quot; AS intials, 499 AS xpos, 542 AS ypos
    UNION SELECT 41 AS countryID,&quot;Slovenia&quot; AS country,&quot;SI&quot; AS intials, 426 AS xpos, 604 AS ypos
    UNION SELECT 42 AS countryID,&quot;Spain&quot; AS country,&quot;ES&quot; AS intials, 124 AS xpos, 674 AS ypos
    UNION SELECT 43 AS countryID,&quot;Sweden&quot; AS country,&quot;SE&quot; AS intials, 446 AS xpos, 256 AS ypos
    UNION SELECT 44 AS countryID,&quot;Switzerland&quot; AS country,&quot;CH&quot; AS intials, 327 AS xpos, 578 AS ypos
    UNION SELECT 45 AS countryID,&quot;Turkey&quot; AS country,&quot;TR&quot; AS intials, 693 AS xpos, 737 AS ypos
    UNION SELECT 46 AS countryID,&quot;Ukraine&quot; AS country,&quot;UA&quot; AS intials, 677 AS xpos, 509 AS ypos
    UNION SELECT 47 AS countryID,&quot;United Kingdom&quot; AS country,&quot;GB&quot; AS intials, 217 AS xpos, 417 AS ypos
    UNION SELECT 48 AS countryID,&quot;Vatican City&quot; AS country,&quot;VA&quot; AS intials, 389 AS xpos, 662 AS ypos
    UNION SELECT 49 AS countryID,&quot;Czech Republic&quot; AS country,&quot;CZ&quot; AS intials, 432 AS xpos, 519 AS ypos
    UNION SELECT 50 AS countryID,&quot;Montenegro&quot; AS country,&quot;ME&quot; AS intials, 488 AS xpos, 680 AS ypos

    
    ) listcountries
    ORDER BY countryID
) c 
LEFT OUTER JOIN
(

    SELECT
        &quot;GB&quot; AS name,
        100 AS width,
        100 AS height,
        0.7 AS fillTransparancy,
        1 AS borderTransparancy,
        2 AS severity

) countriesOfInterest ON c.intials = countriesOfInterest.name</data>
                                </sql>
                                <showRowID>true</showRowID>
                            </view>
                        </views>
                    </Gateway-sql>
                </plugin>
                <dataviews>
                    <dataview name="European Volumes">
                        <additions>
                            <var-headlines>
                                <data>
                                    <headline>
                                        <data>Xoffset</data>
                                    </headline>
                                    <headline>
                                        <data>Yoffset</data>
                                    </headline>
                                    <headline>
                                        <data>ScalingFactor</data>
                                    </headline>
                                </data>
                            </var-headlines>
                            <var-columns>
                                <data>
                                    <column>
                                        <data>ActualXpos</data>
                                    </column>
                                    <column>
                                        <data>ActualYpos</data>
                                    </column>
                                    <column>
                                        <data>MainFillColour</data>
                                    </column>
                                    <column>
                                        <data>GradFillColour</data>
                                    </column>
                                    <column>
                                        <data>Highlight Transparancy</data>
                                    </column>
                                </data>
                            </var-columns>
                        </additions>
                    </dataview>
                </dataviews>
            </sampler>
            <sampler name="Hex Flow Grid Driver V1">
                <var-group>
                    <data>Hex Flow Grid Driver V1</data>
                </var-group>
                <plugin>
                    <Gateway-sql>
                        <views>
                            <view>
                                <name>
                                    <data>Hex Flow Grid</data>
                                </name>
                                <sql>
                                    <data>SELECT 

    h.hexID AS hexID,
    h.position AS position,
    COALESCE(hexesOfInterest.name, NULL) AS name,
    
    COALESCE(hexesOfInterest.fillColour, &quot;&quot;) AS fillColour,
    COALESCE(hexesOfInterest.gradientColour, NULL) AS gradientColour,
    COALESCE(hexesOfInterest.fillTransparancy, 0) AS fillTransparancy,
    COALESCE(hexesOfInterest.borderTransparancy, 0.01) AS borderTransparancy,
    COALESCE(hexesOfInterest.borderThickness, 1) AS borderThickness,

    COALESCE(hexesOfInterest.severity, 0) AS severity,
    
    COALESCE(hexesOfInterest.metric1name, &quot;&quot;) AS metric1name,
    COALESCE(hexesOfInterest.metric2name, &quot;&quot;) AS metric2name,
    COALESCE(hexesOfInterest.metric1value, &quot;&quot;) AS metric1value,
    COALESCE(hexesOfInterest.metric2value, &quot;&quot;) AS metric2value,
    
    COALESCE(hexesOfInterest.flow1, 0) AS flow1,
    COALESCE(hexesOfInterest.flow1Highlight, 0) AS flow1Highlight,
    COALESCE(hexesOfInterest.flow1HighlightColour, &quot;255,255,255&quot;) AS flow1HighlightColour,
    COALESCE(hexesOfInterest.flow2, 0) AS flow2,
    COALESCE(hexesOfInterest.flow2Highlight, 0) AS flow2Highlight,
    COALESCE(hexesOfInterest.flow2HighlightColour, &quot;255,255,255&quot;) AS flow2HighlightColour,
    COALESCE(hexesOfInterest.flow3, 0) AS flow3,
    COALESCE(hexesOfInterest.flow3Highlight, 0) AS flow3Highlight,
    COALESCE(hexesOfInterest.flow3HighlightColour, &quot;255,255,255&quot;) AS flow3HighlightColour,
    COALESCE(hexesOfInterest.flow4, 0) AS flow4,
    COALESCE(hexesOfInterest.flow4Highlight, 0) AS flow4Highlight,
    COALESCE(hexesOfInterest.flow4HighlightColour, &quot;255,255,255&quot;) AS flow4HighlightColour,
    COALESCE(hexesOfInterest.flow5, 0) AS flow5,
    COALESCE(hexesOfInterest.flow5Highlight, 0) AS flow5Highlight,
    COALESCE(hexesOfInterest.flow5HighlightColour, &quot;255,255,255&quot;) AS flow5HighlightColour,
    COALESCE(hexesOfInterest.flow6, 0) AS flow6,
    COALESCE(hexesOfInterest.flow6Highlight, 0) AS flow6Highlight,
    COALESCE(hexesOfInterest.flow6HighlightColour, &quot;255,255,255&quot;) AS flow6HighlightColour,
    
    COALESCE(hexesOfInterest.error1Severity, 0) AS error1Severity,
    COALESCE(hexesOfInterest.error1, &quot;&quot;) AS error1,
    COALESCE(hexesOfInterest.error2Severity, 0) AS error2Severity,
    COALESCE(hexesOfInterest.error2, &quot;&quot;) AS error2,
    COALESCE(hexesOfInterest.error3Severity, 0) AS error3Severity,
    COALESCE(hexesOfInterest.error3, &quot;&quot;) AS error3,
    COALESCE(hexesOfInterest.error4Severity, 0) AS error4Severity,
    COALESCE(hexesOfInterest.error4, &quot;&quot;) AS error4
    
FROM
(
    SELECT * FROM
    (
    
    SELECT 1 AS hexID, &quot;1A&quot; AS position, &quot;1A&quot; AS name
    UNION SELECT 2 AS hexID, &quot;2A&quot; AS position, &quot;2A&quot; AS name
    UNION SELECT 3 AS hexID, &quot;3A&quot; AS position, &quot;3A&quot; AS name
    UNION SELECT 4 AS hexID, &quot;4A&quot; AS position, &quot;4A&quot; AS name
    UNION SELECT 5 AS hexID, &quot;5A&quot; AS position, &quot;5A&quot; AS name
    UNION SELECT 6 AS hexID, &quot;6A&quot; AS position, &quot;6A&quot; AS name
    UNION SELECT 7 AS hexID, &quot;7A&quot; AS position, &quot;7A&quot; AS name
    UNION SELECT 8 AS hexID, &quot;8A&quot; AS position, &quot;8A&quot; AS name
    UNION SELECT 9 AS hexID, &quot;9A&quot; AS position, &quot;9A&quot; AS name
    UNION SELECT 10 AS hexID, &quot;10A&quot; AS position, &quot;10A&quot; AS name
    UNION SELECT 11 AS hexID, &quot;11A&quot; AS position, &quot;11A&quot; AS name
    UNION SELECT 12 AS hexID, &quot;12A&quot; AS position, &quot;12A&quot; AS name
    UNION SELECT 13 AS hexID, &quot;13A&quot; AS position, &quot;13A&quot; AS name
    UNION SELECT 14 AS hexID, &quot;14A&quot; AS position, &quot;14A&quot; AS name
    UNION SELECT 15 AS hexID, &quot;1B&quot; AS position, &quot;1B&quot; AS name
    UNION SELECT 16 AS hexID, &quot;2B&quot; AS position, &quot;2B&quot; AS name
    UNION SELECT 17 AS hexID, &quot;3B&quot; AS position, &quot;3B&quot; AS name
    UNION SELECT 18 AS hexID, &quot;4B&quot; AS position, &quot;4B&quot; AS name
    UNION SELECT 19 AS hexID, &quot;5B&quot; AS position, &quot;5B&quot; AS name
    UNION SELECT 20 AS hexID, &quot;6B&quot; AS position, &quot;6B&quot; AS name
    UNION SELECT 21 AS hexID, &quot;7B&quot; AS position, &quot;7B&quot; AS name
    UNION SELECT 22 AS hexID, &quot;8B&quot; AS position, &quot;8B&quot; AS name
    UNION SELECT 23 AS hexID, &quot;9B&quot; AS position, &quot;9B&quot; AS name
    UNION SELECT 24 AS hexID, &quot;10B&quot; AS position, &quot;10B&quot; AS name
    UNION SELECT 25 AS hexID, &quot;11B&quot; AS position, &quot;11B&quot; AS name
    UNION SELECT 26 AS hexID, &quot;12B&quot; AS position, &quot;12B&quot; AS name
    UNION SELECT 27 AS hexID, &quot;13B&quot; AS position, &quot;13B&quot; AS name
    UNION SELECT 28 AS hexID, &quot;14B&quot; AS position, &quot;14B&quot; AS name
    UNION SELECT 29 AS hexID, &quot;1C&quot; AS position, &quot;1C&quot; AS name
    UNION SELECT 30 AS hexID, &quot;2C&quot; AS position, &quot;2C&quot; AS name
    UNION SELECT 31 AS hexID, &quot;3C&quot; AS position, &quot;3C&quot; AS name
    UNION SELECT 32 AS hexID, &quot;4C&quot; AS position, &quot;4C&quot; AS name
    UNION SELECT 33 AS hexID, &quot;5C&quot; AS position, &quot;5C&quot; AS name
    UNION SELECT 34 AS hexID, &quot;6C&quot; AS position, &quot;6C&quot; AS name
    UNION SELECT 35 AS hexID, &quot;7C&quot; AS position, &quot;7C&quot; AS name
    UNION SELECT 36 AS hexID, &quot;8C&quot; AS position, &quot;8C&quot; AS name
    UNION SELECT 37 AS hexID, &quot;9C&quot; AS position, &quot;9C&quot; AS name
    UNION SELECT 38 AS hexID, &quot;10C&quot; AS position, &quot;10C&quot; AS name
    UNION SELECT 39 AS hexID, &quot;11C&quot; AS position, &quot;11C&quot; AS name
    UNION SELECT 40 AS hexID, &quot;12C&quot; AS position, &quot;12C&quot; AS name
    UNION SELECT 41 AS hexID, &quot;13C&quot; AS position, &quot;13C&quot; AS name
    UNION SELECT 42 AS hexID, &quot;14C&quot; AS position, &quot;14C&quot; AS name
    UNION SELECT 43 AS hexID, &quot;1D&quot; AS position, &quot;1D&quot; AS name
    UNION SELECT 44 AS hexID, &quot;2D&quot; AS position, &quot;2D&quot; AS name
    UNION SELECT 45 AS hexID, &quot;3D&quot; AS position, &quot;3D&quot; AS name
    UNION SELECT 46 AS hexID, &quot;4D&quot; AS position, &quot;4D&quot; AS name
    UNION SELECT 47 AS hexID, &quot;5D&quot; AS position, &quot;5D&quot; AS name
    UNION SELECT 48 AS hexID, &quot;6D&quot; AS position, &quot;6D&quot; AS name
    UNION SELECT 49 AS hexID, &quot;7D&quot; AS position, &quot;7D&quot; AS name
    UNION SELECT 50 AS hexID, &quot;8D&quot; AS position, &quot;8D&quot; AS name
    UNION SELECT 51 AS hexID, &quot;9D&quot; AS position, &quot;9D&quot; AS name
    UNION SELECT 52 AS hexID, &quot;10D&quot; AS position, &quot;10D&quot; AS name
    UNION SELECT 53 AS hexID, &quot;11D&quot; AS position, &quot;11D&quot; AS name
    UNION SELECT 54 AS hexID, &quot;12D&quot; AS position, &quot;12D&quot; AS name
    UNION SELECT 55 AS hexID, &quot;13D&quot; AS position, &quot;13D&quot; AS name
    UNION SELECT 56 AS hexID, &quot;14D&quot; AS position, &quot;14D&quot; AS name
    UNION SELECT 57 AS hexID, &quot;1E&quot; AS position, &quot;1E&quot; AS name
    UNION SELECT 58 AS hexID, &quot;2E&quot; AS position, &quot;2E&quot; AS name
    UNION SELECT 59 AS hexID, &quot;3E&quot; AS position, &quot;3E&quot; AS name
    UNION SELECT 60 AS hexID, &quot;4E&quot; AS position, &quot;4E&quot; AS name
    UNION SELECT 61 AS hexID, &quot;5E&quot; AS position, &quot;5E&quot; AS name
    UNION SELECT 62 AS hexID, &quot;6E&quot; AS position, &quot;6E&quot; AS name
    UNION SELECT 63 AS hexID, &quot;7E&quot; AS position, &quot;7E&quot; AS name
    UNION SELECT 64 AS hexID, &quot;8E&quot; AS position, &quot;8E&quot; AS name
    UNION SELECT 65 AS hexID, &quot;9E&quot; AS position, &quot;9E&quot; AS name
    UNION SELECT 66 AS hexID, &quot;10E&quot; AS position, &quot;10E&quot; AS name
    UNION SELECT 67 AS hexID, &quot;11E&quot; AS position, &quot;11E&quot; AS name
    UNION SELECT 68 AS hexID, &quot;12E&quot; AS position, &quot;12E&quot; AS name
    UNION SELECT 69 AS hexID, &quot;13E&quot; AS position, &quot;13E&quot; AS name
    UNION SELECT 70 AS hexID, &quot;14E&quot; AS position, &quot;14E&quot; AS name
    
    ) listhexes
    ORDER BY hexID
) h
LEFT OUTER JOIN
(

    SELECT
        &quot;4B&quot; AS ofintrest,
        &quot;Name&quot; AS name,
        1 AS severity,
        
        &quot;&quot; AS fillColour, &quot;&quot; AS gradientColour, 0.3 AS fillTransparancy,
        0 AS borderTransparancy, 1 AS borderThickness,
        
        &quot;M1&quot; AS metric1name, &quot;v1&quot; AS metric1value,
        &quot;M2&quot; AS metric2name, &quot;v2&quot; AS metric2value,
        
        1 AS flow1, 1 AS flow1Highlight, &quot;255,255,255&quot; AS flow1HighlightColour,
        1 AS flow2, 0 AS flow2Highlight, &quot;255,255,255&quot; AS flow2HighlightColour,
        1 AS flow3, 0 AS flow3Highlight, &quot;255,255,255&quot; AS flow3HighlightColour,
        1 AS flow4, 0 AS flow4Highlight, &quot;255,255,255&quot; AS flow4HighlightColour,
        1 AS flow5, 0 AS flow5Highlight, &quot;255,255,255&quot; AS flow5HighlightColour,
        1 AS flow6, 0 AS flow6Highlight, &quot;255,255,255&quot; AS flow6HighlightColour,
        
        3 AS error1Severity, &quot;err1&quot; AS error1,
        2 AS error2Severity, &quot;eer2&quot; AS error2,
        2 AS error3Severity, &quot;&quot; AS error3,
        2 AS error4Severity, &quot;&quot; AS error4

        

) hexesOfInterest ON h.position = hexesOfInterest.ofintrest
</data>
                                </sql>
                                <showRowID>true</showRowID>
                            </view>
                        </views>
                    </Gateway-sql>
                </plugin>
                <dataviews>
                    <dataview name="Hex Flow Grid">
                        <additions>
                            <var-columns>
                                <data>
                                    <column>
                                        <data>MainFillColour</data>
                                    </column>
                                    <column>
                                        <data>GradFillColour</data>
                                    </column>
                                    <column>
                                        <data>HighlightTransparancy</data>
                                    </column>
                                    <column>
                                        <data>MainTitle</data>
                                    </column>
                                    <column>
                                        <data>UpperTitle</data>
                                    </column>
                                    <column>
                                        <data>Error1Transparancy</data>
                                    </column>
                                    <column>
                                        <data>Error2Transparancy</data>
                                    </column>
                                    <column>
                                        <data>Error3Transparancy</data>
                                    </column>
                                    <column>
                                        <data>Error4Transparancy</data>
                                    </column>
                                    <column>
                                        <data>Metric1Transparancy</data>
                                    </column>
                                    <column>
                                        <data>Metric2Transparancy</data>
                                    </column>
                                    <column>
                                        <data>Metric1BackgroundTransparancy</data>
                                    </column>
                                    <column>
                                        <data>Metric2BackgroundTransparancy</data>
                                    </column>
                                </data>
                            </var-columns>
                        </additions>
                    </dataview>
                </dataviews>
            </sampler>
            <sampler name="Tree List Driver V1">
                <var-group>
                    <data>Tree List Driver V1</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>
                        <expectRow>
                            <data>7</data>
                        </expectRow>
                        <expectRow>
                            <data>8</data>
                        </expectRow>
                        <expectRow>
                            <data>9</data>
                        </expectRow>
                        <expectRow>
                            <data>10</data>
                        </expectRow>
                        <expectRow>
                            <data>11</data>
                        </expectRow>
                        <expectRow>
                            <data>12</data>
                        </expectRow>
                        <expectRow>
                            <data>13</data>
                        </expectRow>
                        <expectRow>
                            <data>14</data>
                        </expectRow>
                        <expectRow>
                            <data>15</data>
                        </expectRow>
                        <expectRow>
                            <data>16</data>
                        </expectRow>
                        <expectRow>
                            <data>17</data>
                        </expectRow>
                        <expectRow>
                            <data>18</data>
                        </expectRow>
                        <expectRow>
                            <data>19</data>
                        </expectRow>
                        <expectRow>
                            <data>20</data>
                        </expectRow>
                        <expectRow>
                            <data>21</data>
                        </expectRow>
                        <expectRow>
                            <data>22</data>
                        </expectRow>
                        <expectRow>
                            <data>23</data>
                        </expectRow>
                        <expectRow>
                            <data>24</data>
                        </expectRow>
                        <expectRow>
                            <data>25</data>
                        </expectRow>
                        <expectRow>
                            <data>26</data>
                        </expectRow>
                        <expectRow>
                            <data>27</data>
                        </expectRow>
                        <expectRow>
                            <data>28</data>
                        </expectRow>
                        <expectRow>
                            <data>29</data>
                        </expectRow>
                        <expectRow>
                            <data>30</data>
                        </expectRow>
                    </data>
                </expectRows>
                <plugin>
                    <Gateway-sql>
                        <views>
                            <view>
                                <name>
                                    <data>Tree List Alerts</data>
                                </name>
                                <sql>
                                    <data>SELECT 

  0 AS &quot;Indent Level&quot;,
  1 AS &quot;Border Transparancy&quot;,
  &quot;&quot; AS &quot;Border Colour&quot;,
   &quot;Heading 1&quot; AS &quot;Col1Text&quot;,
   &quot;H2&quot; AS &quot;Col2Text&quot;,
   &quot;H3&quot; AS &quot;Col3Text&quot;,
   &quot;H3&quot; AS &quot;Col4Text&quot;,
   0 AS severity,
   &quot;70,70,70&quot; AS &quot;fillColour&quot;,
   &quot;&quot; AS &quot;Fill Transparancy&quot;,
   &quot;255,255,255&quot; AS &quot;Font Colour&quot;,
   &quot;128,128,128&quot; AS &quot;divider fill colour&quot;,
   1 AS &quot;divider Transparancy&quot;,
   &quot;wwwpage(http://www.bbc.co.uk)&quot; AS &quot;Hyperlink&quot;

  UNION ALL

  SELECT
  0 AS &quot;Indent Level&quot;,
  0 AS &quot;Border Transparancy&quot;,
  &quot;&quot; AS &quot;Border Colour&quot;,
   &quot;V1&quot; AS &quot;Col1Text&quot;,
   &quot;V2&quot; AS &quot;Col2Text&quot;,
   &quot;V3&quot; AS &quot;Col3Text&quot;,
   &quot;V4&quot; AS &quot;Col4Text&quot;,
   2 AS severity,
   &quot;&quot; AS &quot;fillColour&quot;,
   &quot;&quot; AS &quot;Fill Transparancy&quot;,
   &quot;&quot; AS &quot;Font Colour&quot;,
   &quot;60,60,60&quot; AS &quot;divider fill colour&quot;,
   1 AS &quot;divider Transparancy&quot;,
   &quot;wwwpage(http://www.bbc.co.uk)&quot; AS &quot;Hyperlink&quot;

UNION ALL

  SELECT
  0 AS &quot;Indent Level&quot;,
  0 AS &quot;Border Transparancy&quot;,
  &quot;&quot; AS &quot;Border Colour&quot;,
   &quot;V1&quot; AS &quot;Col1Text&quot;,
   &quot;V2&quot; AS &quot;Col2Text&quot;,
   &quot;V3&quot; AS &quot;Col3Text&quot;,
   &quot;V4&quot; AS &quot;Col4Text&quot;,
   2 AS severity,
   &quot;&quot; AS &quot;fillColour&quot;,
   &quot;&quot; AS &quot;Fill Transparancy&quot;,
   &quot;&quot; AS &quot;Font Colour&quot;,
   &quot;60,60,60&quot; AS &quot;divider fill colour&quot;,
   1 AS &quot;divider Transparancy&quot;,
   &quot;wwwpage(http://www.bbc.co.uk)&quot; AS &quot;Hyperlink&quot;
  </data>
                                </sql>
                                <showRowID>true</showRowID>
                            </view>
                        </views>
                    </Gateway-sql>
                </plugin>
                <dataviews>
                    <dataview name="Tree List Alerts">
                        <additions>
                            <var-headlines>
                                <data>
                                    
                                    
                                    
                                    
                                </data>
                            </var-headlines>
                            <var-columns>
                                <data>
                                    <column>
                                        <data>Derived Fill Colour</data>
                                    </column>
                                    <column>
                                        <data>Derived Fill Transparancy</data>
                                    </column>
                                    <column>
                                        <data>Derived Border Transparancy</data>
                                    </column>
                                    <column>
                                        <data>Font Size</data>
                                    </column>
                                    <column>
                                        <data>Col1Indent1</data>
                                    </column>
                                    <column>
                                        <data>Col1Indent2</data>
                                    </column>
                                    <column>
                                        <data>Col1Indent3</data>
                                    </column>
                                    <column>
                                        <data>Col1Indent4</data>
                                    </column>
                                    <column>
                                        <data>Insert1</data>
                                    </column>
                                    <column>
                                        <data>Insert2</data>
                                    </column>
                                    <column>
                                        <data>Insert3</data>
                                    </column>
                                    <column>
                                        <data>Col1LabelWidth</data>
                                    </column>
                                    <column>
                                        <data>Col2LabelWidth</data>
                                    </column>
                                    <column>
                                        <data>Col3LabelWidth</data>
                                    </column>
                                    <column>
                                        <data>Derived Font Colour</data>
                                    </column>
                                    <column>
                                        <data>Derived Border Colour</data>
                                    </column>
                                    <column>
                                        <data>Insert Border Transparancy</data>
                                    </column>
                                </data>
                            </var-columns>
                        </additions>
                    </dataview>
                </dataviews>
            </sampler>
        </samplerGroup>
    </samplers>
    <rules>
        <ruleGroup name="Generic Alerting List Driver V2">
            <rule name="Ticket ID Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/rows/row/cell[(@column=&quot;TicketIdTransparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="transparancy">../cell[(@column=&quot;Transparancy&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <pathAlias ref="transparancy"></pathAlias>
                                <property>@value</property>
                            </dataItem>
                            <integer>0</integer>
                        </gt>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Speech Bubble Shadow Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/rows/row/cell[(@column=&quot;SpeechBubbleShadowTransparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Text">../cell[(@column=&quot;SpeechBubbleText&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="thetext"></var>
                        <dataItem>
                            <pathAlias ref="Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <or>
                            <equal>
                                <var ref="thetext"></var>
                                <string></string>
                            </equal>
                            <equal>
                                <var ref="thetext"></var>
                                <string>#noval</string>
                            </equal>
                        </or>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <double>0.26</double>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Speech Bubble Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/rows/row/cell[(@column=&quot;SpeechBubbleTransparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Text">../cell[(@column=&quot;SpeechBubbleText&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="thetext"></var>
                        <dataItem>
                            <pathAlias ref="Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="thetext"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Score checking">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/rows/row/cell[(@column=&quot;Score&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <if>
                        <gte>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gte>
                        <transaction>
                            <update>
                                <property>state/@severity</property>
                                <severity>critical</severity>
                            </update>
                        </transaction>
                        <if>
                            <gte>
                                <dataItem>
                                    <property>@value</property>
                                </dataItem>
                                <integer>1</integer>
                            </gte>
                            <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="Row Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/rows/row/cell[(@column=&quot;Transparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Text">../cell[(@column=&quot;Description&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="thetext"></var>
                        <dataItem>
                            <pathAlias ref="Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="thetext"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Heading title">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/headlines/cell[(@name=&quot;Heading&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <string>ALERTS</string>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Column 2 Title">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/headlines/cell[(@name=&quot;Column2Title&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <string>DESCRIPTION</string>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Column 1 Title">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/headlines/cell[(@name=&quot;Column1Title&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <string>SOURCE</string>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Column 3 Title">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Alerting List Driver V2&quot;)]/dataview/headlines/cell[(@name=&quot;Column3Title&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <string>OWNER</string>
                        </update>
                    </transaction>
                </block>
            </rule>
        </ruleGroup>
        <ruleGroup name="Generic Meta Data Bar Driver V1">
            <rule name="Severity">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Meta Data Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;severity&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gt>
                        <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>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>0</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>undefined</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Heading">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Generic Meta Data Bar Driver V1&quot;)]/dataview/headlines/cell[(@name=&quot;Heading&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <string>Meta Data</string>
                        </update>
                    </transaction>
                </block>
            </rule>
        </ruleGroup>
        <ruleGroup name="SLA Tracking Bar Driver V1">
            <rule name="Non Transparant Fill">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;NonTransparentFillTransparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="IsActive">../cell[(@column=&quot;name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <if>
                        <equal>
                            <dataItem>
                                <pathAlias ref="IsActive"></pathAlias>
                                <property>@value</property>
                            </dataItem>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Partial Transparant Fill">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;PartTransparentFillTransparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="IsActive">../cell[(@column=&quot;name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <if>
                        <equal>
                            <dataItem>
                                <pathAlias ref="IsActive"></pathAlias>
                                <property>@value</property>
                            </dataItem>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <double>0.16</double>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Bar Width">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;BarWidth&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <integer>705</integer>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Bar Height">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;BarHeight&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <integer>50</integer>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Severity">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;severity&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gt>
                        <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>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>0</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>undefined</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Main Fill Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;MainFillColour&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="theSeverity">../cell[(@column=&quot;severity&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="sev"></var>
                        <dataItem>
                            <pathAlias ref="theSeverity"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="sev"></var>
                            <integer>3</integer>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string>239,95,95</string>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <var ref="sev"></var>
                                <integer>2</integer>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <string>232,232,123</string>
                                </update>
                            </transaction>
                            <if>
                                <lt>
                                    <var ref="sev"></var>
                                    <integer>2</integer>
                                </lt>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <string>70,70,70</string>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Grad Fill Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;GradFillColour&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="theSeverity">../cell[(@column=&quot;severity&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="sev"></var>
                        <dataItem>
                            <pathAlias ref="theSeverity"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="sev"></var>
                            <integer>3</integer>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string>183,50,50</string>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <var ref="sev"></var>
                                <integer>2</integer>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <string>183,183,41</string>
                                </update>
                            </transaction>
                            <if>
                                <lt>
                                    <var ref="sev"></var>
                                    <integer>2</integer>
                                </lt>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <string>70,70,70</string>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Bar1Width">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;bar1Width&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="percent">../cell[(@column=&quot;bar1Percent&quot;)]</pathAlias>
                    <pathAlias name="width">../cell[(@column=&quot;BarWidth&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="percent"></var>
                        <dataItem>
                            <pathAlias ref="percent"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="width"></var>
                        <dataItem>
                            <pathAlias ref="width"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <multiply>
                                <var ref="width"></var>
                                <divide>
                                    <var ref="percent"></var>
                                    <integer>100</integer>
                                </divide>
                            </multiply>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Bar2Width">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;bar2Width&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="percent">../cell[(@column=&quot;bar2Percent&quot;)]</pathAlias>
                    <pathAlias name="width">../cell[(@column=&quot;BarWidth&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="percent"></var>
                        <dataItem>
                            <pathAlias ref="percent"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="width"></var>
                        <dataItem>
                            <pathAlias ref="width"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <multiply>
                                <var ref="width"></var>
                                <divide>
                                    <var ref="percent"></var>
                                    <integer>100</integer>
                                </divide>
                            </multiply>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Bar3Width">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;bar3Width&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="percent">../cell[(@column=&quot;bar3Percent&quot;)]</pathAlias>
                    <pathAlias name="width">../cell[(@column=&quot;BarWidth&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="percent"></var>
                        <dataItem>
                            <pathAlias ref="percent"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="width"></var>
                        <dataItem>
                            <pathAlias ref="width"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <multiply>
                                <var ref="width"></var>
                                <divide>
                                    <var ref="percent"></var>
                                    <integer>100</integer>
                                </divide>
                            </multiply>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Bar Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;barTransparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="IsActive">../cell[(@column=&quot;name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <if>
                        <equal>
                            <dataItem>
                                <pathAlias ref="IsActive"></pathAlias>
                                <property>@value</property>
                            </dataItem>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <double>0.25</double>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="HighLight Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;highlightTransparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="IsActive">../cell[(@column=&quot;name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <if>
                        <equal>
                            <dataItem>
                                <pathAlias ref="IsActive"></pathAlias>
                                <property>@value</property>
                            </dataItem>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <double>0.06</double>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Volume Bar Height">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;volumeBarHeight&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="barHeight">../cell[(@column=&quot;BarHeight&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <subtract>
                                <dataItem>
                                    <pathAlias ref="barHeight"></pathAlias>
                                    <property>@value</property>
                                </dataItem>
                                <integer>8</integer>
                            </subtract>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Bar1 Inferred Label">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;bar1InferedLabel&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="userdefinedLabel">../cell[(@column=&quot;bar1endLabel&quot;)]</pathAlias>
                    <pathAlias name="percent">../cell[(@column=&quot;bar1Percent&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="unserdefined"></var>
                        <dataItem>
                            <pathAlias ref="userdefinedLabel"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="unserdefined"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <dataItem>
                                    <pathAlias ref="percent"></pathAlias>
                                    <property>@value</property>
                                </dataItem>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <var ref="unserdefined"></var>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Bar2 Inferred Label">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;bar2InferedLabel&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="userdefinedLabel">../cell[(@column=&quot;bar2endLabel&quot;)]</pathAlias>
                    <pathAlias name="percent">../cell[(@column=&quot;bar2Percent&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="unserdefined"></var>
                        <dataItem>
                            <pathAlias ref="userdefinedLabel"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="unserdefined"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <dataItem>
                                    <pathAlias ref="percent"></pathAlias>
                                    <property>@value</property>
                                </dataItem>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <var ref="unserdefined"></var>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Bar3 Inferred Label">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;SLA Tracking Bar Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;bar3InferedLabel&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="userdefinedLabel">../cell[(@column=&quot;bar3endLabel&quot;)]</pathAlias>
                    <pathAlias name="percent">../cell[(@column=&quot;bar3Percent&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="unserdefined"></var>
                        <dataItem>
                            <pathAlias ref="userdefinedLabel"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="unserdefined"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <dataItem>
                                    <pathAlias ref="percent"></pathAlias>
                                    <property>@value</property>
                                </dataItem>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <var ref="unserdefined"></var>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
        </ruleGroup>
        <ruleGroup name="Expanding Shapes Driver V1">
            <rule name="X Off Set">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/headlines/cell[(@name=&quot;Xoffset&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <integer>0</integer>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Y Off Set">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/headlines/cell[(@name=&quot;Yoffset&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <integer>0</integer>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Actual X Pos">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;ActualXpos&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="xoffset">../../../headlines/cell[(@name=&quot;Xoffset&quot;)]</pathAlias>
                    <pathAlias name="xpos">../cell[(@column=&quot;xpos&quot;)]</pathAlias>
                    <pathAlias name="width">../cell[(@column=&quot;width&quot;)]</pathAlias>
                    <pathAlias name="scalingfactor">../../../headlines/cell[(@name=&quot;ScalingFactor&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <!--The objective here is to center the shape on the specified coordinates-->
                    <set>
                        <var ref="xoffset"></var>
                        <dataItem>
                            <pathAlias ref="xoffset"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="xpos"></var>
                        <dataItem>
                            <pathAlias ref="xpos"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="width"></var>
                        <multiply>
                            <dataItem>
                                <pathAlias ref="width"></pathAlias>
                                <property>@value</property>
                            </dataItem>
                            <double>0.5</double>
                        </multiply>
                    </set>
                    <set>
                        <var ref="scalingfactor"></var>
                        <dataItem>
                            <pathAlias ref="scalingfactor"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <multiply>
                                <add>
                                    <var ref="xoffset"></var>
                                    <subtract>
                                        <var ref="xpos"></var>
                                        <var ref="width"></var>
                                    </subtract>
                                </add>
                                <var ref="scalingfactor"></var>
                            </multiply>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Actual Y Pos">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;ActualYpos&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="yoffset">../../../headlines/cell[(@name=&quot;Yoffset&quot;)]</pathAlias>
                    <pathAlias name="ypos">../cell[(@column=&quot;ypos&quot;)]</pathAlias>
                    <pathAlias name="height">../cell[(@column=&quot;height&quot;)]</pathAlias>
                    <pathAlias name="scalingfactor">../../../headlines/cell[(@name=&quot;ScalingFactor&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <!--The objective here is to center the shape on the specified coordinates-->
                    <set>
                        <var ref="yoffset"></var>
                        <dataItem>
                            <pathAlias ref="yoffset"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="ypos"></var>
                        <dataItem>
                            <pathAlias ref="ypos"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="height"></var>
                        <dataItem>
                            <pathAlias ref="height"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="scalingfactor"></var>
                        <dataItem>
                            <pathAlias ref="scalingfactor"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <multiply>
                                <add>
                                    <var ref="yoffset"></var>
                                    <subtract>
                                        <var ref="ypos"></var>
                                        <multiply>
                                            <var ref="height"></var>
                                            <double>0.5</double>
                                        </multiply>
                                    </subtract>
                                </add>
                                <var ref="scalingfactor"></var>
                            </multiply>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Severity">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;severity&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gt>
                        <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>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>0</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>undefined</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Fill Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;MainFillColour&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="theSeverity">../cell[(@column=&quot;severity&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="sev"></var>
                        <dataItem>
                            <pathAlias ref="theSeverity"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="sev"></var>
                            <integer>3</integer>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string>239,95,95</string>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <var ref="sev"></var>
                                <integer>2</integer>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <string>232,232,123</string>
                                </update>
                            </transaction>
                            <if>
                                <lt>
                                    <var ref="sev"></var>
                                    <integer>2</integer>
                                </lt>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <string>70,70,70</string>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Gradient Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;GradFillColour&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="theSeverity">../cell[(@column=&quot;severity&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="sev"></var>
                        <dataItem>
                            <pathAlias ref="theSeverity"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="sev"></var>
                            <integer>3</integer>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string>183,50,50</string>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <var ref="sev"></var>
                                <integer>2</integer>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <string>183,183,41</string>
                                </update>
                            </transaction>
                            <if>
                                <lt>
                                    <var ref="sev"></var>
                                    <integer>2</integer>
                                </lt>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <string>70,70,70</string>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Scaling Factor">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/headlines/cell[(@name=&quot;ScalingFactor&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <integer>1</integer>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Highlight Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Expanding Shape Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Highlight Transparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <double>0.15</double>
                        </update>
                    </transaction>
                </block>
            </rule>
        </ruleGroup>
        <ruleGroup name="Hex Grid Driver V1">
            <rule name="Main Fill Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;MainFillColour&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="UserDefined">../cell[(@column=&quot;fillColour&quot;)]</pathAlias>
                    <pathAlias name="severity">../cell[(@column=&quot;severity&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="userDefined"></var>
                        <dataItem>
                            <pathAlias ref="UserDefined"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="severity"></var>
                        <dataItem>
                            <pathAlias ref="severity"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <gt>
                                <var ref="severity"></var>
                                <integer>2</integer>
                            </gt>
                            <equal>
                                <var ref="userDefined"></var>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string>239,95,95</string>
                            </update>
                        </transaction>
                        <if>
                            <and>
                                <equal>
                                    <var ref="severity"></var>
                                    <integer>2</integer>
                                </equal>
                                <equal>
                                    <var ref="userDefined"></var>
                                    <string></string>
                                </equal>
                            </and>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <string>232,232,123</string>
                                </update>
                            </transaction>
                            <if>
                                <and>
                                    <lt>
                                        <var ref="severity"></var>
                                        <integer>2</integer>
                                    </lt>
                                    <equal>
                                        <var ref="userDefined"></var>
                                        <string></string>
                                    </equal>
                                </and>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <string>128,128,128</string>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <var ref="userDefined"></var>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Gradient Fill Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;GradFillColour&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="UserDefined">../cell[(@column=&quot;gradientColour&quot;)]</pathAlias>
                    <pathAlias name="severity">../cell[(@column=&quot;severity&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="userDefined"></var>
                        <dataItem>
                            <pathAlias ref="UserDefined"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="severity"></var>
                        <dataItem>
                            <pathAlias ref="severity"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <gt>
                                <var ref="severity"></var>
                                <integer>2</integer>
                            </gt>
                            <equal>
                                <var ref="userDefined"></var>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string>183,50,50</string>
                            </update>
                        </transaction>
                        <if>
                            <and>
                                <equal>
                                    <var ref="severity"></var>
                                    <integer>2</integer>
                                </equal>
                                <equal>
                                    <var ref="userDefined"></var>
                                    <string></string>
                                </equal>
                            </and>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <string>183,183,41</string>
                                </update>
                            </transaction>
                            <if>
                                <and>
                                    <lt>
                                        <var ref="severity"></var>
                                        <integer>2</integer>
                                    </lt>
                                    <equal>
                                        <var ref="userDefined"></var>
                                        <string></string>
                                    </equal>
                                </and>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <string>70,70,70</string>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <var ref="userDefined"></var>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="High Light Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;HighlightTransparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="transparancy">../cell[(@column=&quot;fillTransparancy&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="mainTransparancy"></var>
                        <dataItem>
                            <pathAlias ref="transparancy"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <divide>
                                <var ref="mainTransparancy"></var>
                                <integer>10</integer>
                            </divide>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Main Title">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;MainTitle&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="error1">../cell[(@column=&quot;error1&quot;)]</pathAlias>
                    <pathAlias name="metric1name">../cell[(@column=&quot;metric1name&quot;)]</pathAlias>
                    <pathAlias name="metric2name">../cell[(@column=&quot;metric2name&quot;)]</pathAlias>
                    <pathAlias name="name">../cell[(@column=&quot;name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="err1"></var>
                        <dataItem>
                            <pathAlias ref="error1"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="metric1"></var>
                        <dataItem>
                            <pathAlias ref="metric1name"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="metric2"></var>
                        <dataItem>
                            <pathAlias ref="metric2name"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="name"></var>
                        <dataItem>
                            <pathAlias ref="name"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <and>
                                <equal>
                                    <var ref="err1"></var>
                                    <string></string>
                                </equal>
                                <equal>
                                    <var ref="metric1"></var>
                                    <string></string>
                                </equal>
                            </and>
                            <equal>
                                <var ref="metric2"></var>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <var ref="name"></var>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string></string>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Upper Title">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;UpperTitle&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="error1">../cell[(@column=&quot;error1&quot;)]</pathAlias>
                    <pathAlias name="metric1name">../cell[(@column=&quot;metric1name&quot;)]</pathAlias>
                    <pathAlias name="metric2name">../cell[(@column=&quot;metric2name&quot;)]</pathAlias>
                    <pathAlias name="name">../cell[(@column=&quot;name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="err1"></var>
                        <dataItem>
                            <pathAlias ref="error1"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="metric1"></var>
                        <dataItem>
                            <pathAlias ref="metric1name"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="metric2"></var>
                        <dataItem>
                            <pathAlias ref="metric2name"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="name"></var>
                        <dataItem>
                            <pathAlias ref="name"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <and>
                                <equal>
                                    <var ref="err1"></var>
                                    <string></string>
                                </equal>
                                <equal>
                                    <var ref="metric1"></var>
                                    <string></string>
                                </equal>
                            </and>
                            <equal>
                                <var ref="metric2"></var>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string></string>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <var ref="name"></var>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Error 1 Severity">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;error1Severity&quot;)]</target>
                </targets>
                <priority>1</priority>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gt>
                        <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>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>0</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>undefined</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Error 2 Severity">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;error2Severity&quot;)]</target>
                </targets>
                <priority>1</priority>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gt>
                        <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>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>0</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>undefined</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Error 3 Severity">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;error3Severity&quot;)]</target>
                </targets>
                <priority>1</priority>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gt>
                        <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>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>0</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>undefined</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Error 4 Severity">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;error4Severity&quot;)]</target>
                </targets>
                <priority>1</priority>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gt>
                        <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>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>0</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>undefined</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Error 1 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Error1Transparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="Err1">../cell[(@column=&quot;error1&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="err1"></var>
                        <dataItem>
                            <pathAlias ref="Err1"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="err1"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Error 2 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Error2Transparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="Err">../cell[(@column=&quot;error2&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="err"></var>
                        <dataItem>
                            <pathAlias ref="Err"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="err"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Error 3 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Error3Transparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="Err">../cell[(@column=&quot;error3&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="err"></var>
                        <dataItem>
                            <pathAlias ref="Err"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="err"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Error 4 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Error4Transparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="Err">../cell[(@column=&quot;error4&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="err"></var>
                        <dataItem>
                            <pathAlias ref="Err"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="err"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Metric 1 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Metric1Transparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="transparancy">../cell[(@column=&quot;metric1name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="trans"></var>
                        <dataItem>
                            <pathAlias ref="transparancy"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="trans"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Metric 2 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Metric2Transparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="transparancy">../cell[(@column=&quot;metric2name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="trans"></var>
                        <dataItem>
                            <pathAlias ref="transparancy"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="trans"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Metric 1 Background Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Metric1BackgroundTransparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="visible">../cell[(@column=&quot;metric1name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="metric"></var>
                        <dataItem>
                            <pathAlias ref="visible"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="metric"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <double>0.4</double>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Metric 2 Background Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Metric2BackgroundTransparancy&quot;)]</target>
                </targets>
                <priority>1</priority>
                <pathAliases>
                    <pathAlias name="visible">../cell[(@column=&quot;metric2name&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="metric"></var>
                        <dataItem>
                            <pathAlias ref="visible"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="metric"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <double>0.4</double>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Flow 1 Severity">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Hex Flow Grid Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;flow1Severity&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <block>
                    <if>
                        <gt>
                            <dataItem>
                                <property>@value</property>
                            </dataItem>
                            <integer>2</integer>
                        </gt>
                        <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>
                            <if>
                                <gt>
                                    <dataItem>
                                        <property>@value</property>
                                    </dataItem>
                                    <integer>0</integer>
                                </gt>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>ok</severity>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>state/@severity</property>
                                        <severity>undefined</severity>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
        </ruleGroup>
        <ruleGroup name="Tree List Driver V1">
            <rule name="Main Fill Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Derived Fill Colour&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="UserDefined">../cell[(@column=&quot;fillColour&quot;)]</pathAlias>
                    <pathAlias name="severity">../cell[(@column=&quot;severity&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="userDefined"></var>
                        <dataItem>
                            <pathAlias ref="UserDefined"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="severity"></var>
                        <dataItem>
                            <pathAlias ref="severity"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <gt>
                                <var ref="severity"></var>
                                <integer>2</integer>
                            </gt>
                            <equal>
                                <var ref="userDefined"></var>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string>239,95,95</string>
                            </update>
                        </transaction>
                        <if>
                            <and>
                                <equal>
                                    <var ref="severity"></var>
                                    <integer>2</integer>
                                </equal>
                                <equal>
                                    <var ref="userDefined"></var>
                                    <string></string>
                                </equal>
                            </and>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <string>232,232,123</string>
                                </update>
                            </transaction>
                            <if>
                                <and>
                                    <lt>
                                        <var ref="severity"></var>
                                        <integer>2</integer>
                                    </lt>
                                    <equal>
                                        <var ref="userDefined"></var>
                                        <string></string>
                                    </equal>
                                </and>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <string>128,128,128</string>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <var ref="userDefined"></var>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Fill Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Derived Fill Transparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="label1Text">../cell[(@column=&quot;Col1Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="label1Text"></var>
                        <dataItem>
                            <pathAlias ref="label1Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="label1Text"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Font size">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Font Size&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="indent">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="indent"></var>
                        <dataItem>
                            <pathAlias ref="indent"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <transaction>
                        <update>
                            <property>@value</property>
                            <subtract>
                                <integer>16</integer>
                                <var ref="indent"></var>
                            </subtract>
                        </update>
                    </transaction>
                </block>
            </rule>
            <rule name="Border Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Derived Border Transparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="UserDefined">../cell[(@column=&quot;Border Transparancy&quot;)]</pathAlias>
                    <pathAlias name="label1Text">../cell[(@column=&quot;Col1Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="userdefined"></var>
                        <dataItem>
                            <pathAlias ref="UserDefined"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="label1Text"></var>
                        <dataItem>
                            <pathAlias ref="label1Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="label1Text"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <var ref="userdefined"></var>
                                <string></string>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>1</integer>
                                </update>
                            </transaction>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <var ref="userdefined"></var>
                                </update>
                            </transaction>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Insert 1 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Insert1&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Col2Text">../cell[(@column=&quot;Col2Text&quot;)]</pathAlias>
                    <pathAlias name="IndentLevel">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="col2Text"></var>
                        <dataItem>
                            <pathAlias ref="Col2Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="indentlevel"></var>
                        <dataItem>
                            <pathAlias ref="IndentLevel"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="indentlevel"></var>
                            <integer>0</integer>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <var ref="col2Text"></var>
                                <string></string>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>0</integer>
                                </update>
                            </transaction>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>1</integer>
                                </update>
                            </transaction>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Insert 2 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Insert2&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Col3Text">../cell[(@column=&quot;Col3Text&quot;)]</pathAlias>
                    <pathAlias name="IndentLevel">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="col3Text"></var>
                        <dataItem>
                            <pathAlias ref="Col3Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="indentlevel"></var>
                        <dataItem>
                            <pathAlias ref="IndentLevel"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="indentlevel"></var>
                            <integer>0</integer>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <var ref="col3Text"></var>
                                <string></string>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>0</integer>
                                </update>
                            </transaction>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>1</integer>
                                </update>
                            </transaction>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Insert 3 Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Insert3&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Col4Text">../cell[(@column=&quot;Col4Text&quot;)]</pathAlias>
                    <pathAlias name="IndentLevel">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="col4Text"></var>
                        <dataItem>
                            <pathAlias ref="Col4Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="indentlevel"></var>
                        <dataItem>
                            <pathAlias ref="IndentLevel"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="indentlevel"></var>
                            <integer>0</integer>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <var ref="col4Text"></var>
                                <string></string>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>0</integer>
                                </update>
                            </transaction>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>1</integer>
                                </update>
                            </transaction>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Indent 1 Visibility">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Col1Indent1&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Indent Level">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                    <pathAlias name="label1Text">../cell[(@column=&quot;Col1Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="IndentLevel"></var>
                        <dataItem>
                            <pathAlias ref="Indent Level"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="label1Text"></var>
                        <dataItem>
                            <pathAlias ref="label1Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <lt>
                                <var ref="IndentLevel"></var>
                                <integer>2</integer>
                            </lt>
                            <equal>
                                <not>
                                    <var ref="label1Text"></var>
                                </not>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Indent 2 Visibility">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Col1Indent2&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Indent Level">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                    <pathAlias name="label1Text">../cell[(@column=&quot;Col1Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="IndentLevel"></var>
                        <dataItem>
                            <pathAlias ref="Indent Level"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="label1Text"></var>
                        <dataItem>
                            <pathAlias ref="label1Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <equal>
                                <var ref="IndentLevel"></var>
                                <integer>2</integer>
                            </equal>
                            <equal>
                                <not>
                                    <var ref="label1Text"></var>
                                </not>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Indent 3 Visibility">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Col1Indent3&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Indent Level">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                    <pathAlias name="label1Text">../cell[(@column=&quot;Col1Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="IndentLevel"></var>
                        <dataItem>
                            <pathAlias ref="Indent Level"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="label1Text"></var>
                        <dataItem>
                            <pathAlias ref="label1Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <equal>
                                <var ref="IndentLevel"></var>
                                <integer>3</integer>
                            </equal>
                            <equal>
                                <not>
                                    <var ref="label1Text"></var>
                                </not>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Indent 4 Visibility">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Col1Indent4&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Indent Level">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                    <pathAlias name="label1Text">../cell[(@column=&quot;Col1Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="IndentLevel"></var>
                        <dataItem>
                            <pathAlias ref="Indent Level"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="label1Text"></var>
                        <dataItem>
                            <pathAlias ref="label1Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <and>
                            <equal>
                                <var ref="IndentLevel"></var>
                                <integer>4</integer>
                            </equal>
                            <equal>
                                <not>
                                    <var ref="label1Text"></var>
                                </not>
                                <string></string>
                            </equal>
                        </and>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>1</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Label 1 width">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Col1LabelWidth&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Col2Text">../cell[(@column=&quot;Col2Text&quot;)]</pathAlias>
                    <pathAlias name="Col3Text">../cell[(@column=&quot;Col3Text&quot;)]</pathAlias>
                    <pathAlias name="Col4Text">../cell[(@column=&quot;Col4Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="col2text"></var>
                        <dataItem>
                            <pathAlias ref="Col2Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="col3text"></var>
                        <dataItem>
                            <pathAlias ref="Col3Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="col4text"></var>
                        <dataItem>
                            <pathAlias ref="Col4Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <not>
                                <var ref="col2text"></var>
                            </not>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>160</integer>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <not>
                                    <var ref="col3text"></var>
                                </not>
                                <string></string>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>360</integer>
                                </update>
                            </transaction>
                            <if>
                                <equal>
                                    <not>
                                        <var ref="col4text"></var>
                                    </not>
                                    <string></string>
                                </equal>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <integer>560</integer>
                                    </update>
                                </transaction>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <integer>760</integer>
                                    </update>
                                </transaction>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Label 2 width">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Col2LabelWidth&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Col3Text">../cell[(@column=&quot;Col3Text&quot;)]</pathAlias>
                    <pathAlias name="Col4Text">../cell[(@column=&quot;Col4Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="col3text"></var>
                        <dataItem>
                            <pathAlias ref="Col3Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="col4text"></var>
                        <dataItem>
                            <pathAlias ref="Col4Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <not>
                                <var ref="col3text"></var>
                            </not>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>185</integer>
                            </update>
                        </transaction>
                        <if>
                            <equal>
                                <not>
                                    <var ref="col4text"></var>
                                </not>
                                <string></string>
                            </equal>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>385</integer>
                                </update>
                            </transaction>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <integer>585</integer>
                                </update>
                            </transaction>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Label 3 width">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Col3LabelWidth&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Col4Text">../cell[(@column=&quot;Col4Text&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="col4text"></var>
                        <dataItem>
                            <pathAlias ref="Col4Text"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <not>
                                <var ref="col4text"></var>
                            </not>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>185</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>385</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Derived Font Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Derived Font Colour&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="UserDefined">../cell[(@column=&quot;Font Colour&quot;)]</pathAlias>
                    <pathAlias name="theseverity">../cell[(@column=&quot;severity&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="userdefined"></var>
                        <dataItem>
                            <pathAlias ref="UserDefined"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <set>
                        <var ref="severity"></var>
                        <dataItem>
                            <pathAlias ref="theseverity"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <not>
                                <var ref="userdefined"></var>
                            </not>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <var ref="userdefined"></var>
                            </update>
                        </transaction>
                        <if>
                            <gt>
                                <var ref="severity"></var>
                                <integer>2</integer>
                            </gt>
                            <transaction>
                                <update>
                                    <property>@value</property>
                                    <string>255,255,255</string>
                                </update>
                            </transaction>
                            <if>
                                <equal>
                                    <var ref="severity"></var>
                                    <integer>2</integer>
                                </equal>
                                <transaction>
                                    <update>
                                        <property>@value</property>
                                        <string>60,60,60</string>
                                    </update>
                                </transaction>
                                <if>
                                    <lt>
                                        <var ref="severity"></var>
                                        <integer>2</integer>
                                    </lt>
                                    <transaction>
                                        <update>
                                            <property>@value</property>
                                            <string>255,255,255</string>
                                        </update>
                                    </transaction>
                                </if>
                            </if>
                        </if>
                    </if>
                </block>
            </rule>
            <rule name="Derived Border Colour">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Derived Border Colour&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="Userdefined">../cell[(@column=&quot;Border Colour&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="userDefined"></var>
                        <dataItem>
                            <pathAlias ref="Userdefined"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="userDefined"></var>
                            <string></string>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <string>128,128,128</string>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <var ref="userDefined"></var>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
            <rule name="Insert border Transparancy">
                <targets>
                    <target>/geneos/gateway/directory/probe/managedEntity/sampler[(param(&quot;Group&quot;)=&quot;Tree List Driver V1&quot;)]/dataview/rows/row/cell[(@column=&quot;Insert Border Transparancy&quot;)]</target>
                </targets>
                <priority>1000</priority>
                <pathAliases>
                    <pathAlias name="IndentLevel">../cell[(@column=&quot;Indent Level&quot;)]</pathAlias>
                </pathAliases>
                <block>
                    <set>
                        <var ref="indentlevel"></var>
                        <dataItem>
                            <pathAlias ref="IndentLevel"></pathAlias>
                            <property>@value</property>
                        </dataItem>
                    </set>
                    <if>
                        <equal>
                            <var ref="indentlevel"></var>
                            <integer>0</integer>
                        </equal>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                        <transaction>
                            <update>
                                <property>@value</property>
                                <integer>0</integer>
                            </update>
                        </transaction>
                    </if>
                </block>
            </rule>
        </ruleGroup>
    </rules>
</gateway>