<form stylesheet="safecenter.css" script="autodiscover.js" isVisible="true" version="1.1" theme="dark">
    <label>ALERT CENTER</label>
    <description>NMON Triggered Alerts Analysis</description>
    <row>
        <panel>
            <html>

                <div style="text-align: center;">
                    <img src="../../static/app/metricator-for-nmon/icons/color_theme/warning.png" alt="warning"/>
                    <h1>ALERT CENTER: Triggered Alerts</h1>
                </div>

            </html>
        </panel>
    </row>

    <row>
        <panel>
          <title>Active Alerts</title>

            <single>
                <search>
                    <query>| `alerting_cpu_usage` | stats count</query>
                    <earliest>-60m</earliest>
                    <latest>now</latest>
                    <refresh>150s</refresh>
                    <refreshType>delay</refreshType>
                </search>
                <option name="refresh.display">none</option>
                <option name="underLabel">cpu percentage saturation</option>
                <option name="unit">cpu active alerts</option>
                <option name="colorBy">value</option>
                <option name="colorMode">block</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x006d9c","0xf2aa0a"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trellis.enabled">0</option>
                <option name="trellis.scales.shared">1</option>
                <option name="trellis.size">medium</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="unitPosition">after</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_cpu_usage`&amp;earliest=-60m%40m&amp;latest=now</link>
                </drilldown>
            </single>
            <single>
                <search>
                    <query>| `alerting_realmemory_usage` | stats count</query>
                    <earliest>-60m</earliest>
                    <latest>now</latest>
                    <refresh>160s</refresh>
                    <refreshType>delay</refreshType>
                </search>
                <option name="refresh.display">none</option>
                <option name="underLabel">physical memory percentage saturation</option>
                <option name="unit">physical memory active alerts</option>
                <option name="colorBy">value</option>
                <option name="colorMode">block</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x006d9c","0xf2aa0a"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trellis.enabled">0</option>
                <option name="trellis.scales.shared">1</option>
                <option name="trellis.size">medium</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="unitPosition">after</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_realmemory_usage`&amp;earliest=-60m%40m&amp;latest=now</link>
                </drilldown>
            </single>
            <single>
                <search>
                    <query>| `alerting_virtualmemory_usage` | stats count</query>
                    <earliest>-60m</earliest>
                    <latest>now</latest>
                    <refresh>170s</refresh>
                    <refreshType>delay</refreshType>
                </search>
                <option name="refresh.display">none</option>
                <option name="underLabel">virtual memory saturation</option>
                <option name="unit">virtual memory active alerts</option>
                <option name="colorBy">value</option>
                <option name="colorMode">block</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x006d9c","0xf2aa0a"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trellis.enabled">0</option>
                <option name="trellis.scales.shared">1</option>
                <option name="trellis.size">medium</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="unitPosition">after</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_virtualmemory_usage`&amp;earliest=-60m%40m&amp;latest=now</link>
                </drilldown>
            </single>
            <single>
                <search>
                    <query>| `alerting_filesystem_usage` | stats count</query>
                    <earliest>-60m</earliest>
                    <latest>now</latest>
                    <refresh>180s</refresh>
                    <refreshType>delay</refreshType>
                </search>
                <option name="refresh.display">none</option>
                <option name="underLabel">file-systems under usage saturation</option>
                <option name="unit">file systems active alerts</option>
                <option name="colorBy">value</option>
                <option name="colorMode">block</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x006d9c","0xf2aa0a"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trellis.enabled">0</option>
                <option name="trellis.scales.shared">1</option>
                <option name="trellis.size">medium</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="unitPosition">after</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_filesystem_usage`&amp;earliest=-60m%40m&amp;latest=now</link>
                </drilldown>
            </single>
            
        </panel>
    </row>

    <!-- Main search for form populating -->

    <search id="populate">
        <query>| mcatalog values(metric_name) where `nmon_metrics_index` metric_name="os.unix.nmon.cpu.cpu_all.logical_cpus" by host
| `mapping_frameID`
| stats count by frameID, host</query>
        <earliest>-24h</earliest>
        <latest>now</latest>
    </search>

    <row>
        <panel>
            <title>Search:</title>

            <input id="frameID" type="multiselect" token="frameID" searchWhenChanged="true">
                <label>Frame IDs:</label>
                <!-- Populating Data Model Search -->
                <search base="populate">
                    <query>stats count by frameID | dedup frameID | sort 0 frameID</query>
                </search>
                <valuePrefix>frameID=</valuePrefix>
                <delimiter> OR </delimiter>
                <choice value="*">Any</choice>
                <initialValue>*</initialValue>
                <fieldForLabel>frameID</fieldForLabel>
                <fieldForValue>frameID</fieldForValue>
            </input>

            <input type="text" token="host-prefilter" searchWhenChanged="true">
                <label>Optional: Filter hosts populating</label>
                <default>*</default>
            </input>

            <input id="host" type="multiselect" token="host" searchWhenChanged="true">
                <label>Hosts Selection:</label>
                <!-- Populating Data Model Search -->
                <search base="populate">
                    <query>search $frameID$ host=$host-prefilter$ | stats count by host | dedup host | sort 0 host</query>
                </search>
                <valuePrefix>host="</valuePrefix>
                <valueSuffix>"</valueSuffix>
                <delimiter> OR </delimiter>
                <choice value="*">ALL Hosts</choice>
                <initialValue>*</initialValue>
                <fieldForLabel>host</fieldForLabel>
                <fieldForValue>host</fieldForValue>
            </input>

            <input type="dropdown" token="refresh" searchWhenChanged="true">
                <label>Auto-refresh:</label>
                <choice value="30s">30 sec</choice>
                <choice value="60s">1 min</choice>
                <choice value="300s">5 min</choice>
                <choice value="0">none</choice>
                <default>0</default>
            </input>

        </panel>
    </row>

    <!-- Search Base for post processing -->

    <search id="CPU_Global" ref="ALERT CENTER - CPU issues">
      <refresh>$refresh$</refresh>
      <refreshType>delay</refreshType>
    </search>

    <search id="RealMem_Global" ref="ALERT CENTER - Real Memory issues">
      <refresh>$refresh$</refresh>
      <refreshType>delay</refreshType>
    </search>

    <search id="VirtualMem_Global" ref="ALERT CENTER - Virtual Memory issues">
      <refresh>$refresh$</refresh>
      <refreshType>delay</refreshType>
    </search>

    <search id="FileSystem_Global" ref="ALERT CENTER - FS issues">
      <refresh>$refresh$</refresh>
      <refreshType>delay</refreshType>
    </search>

    <!-- -->

    <search id="tagcloud_cpu">
        <query>| `alerting_cpu_usage` | search $frameID$ host=$host-prefilter$ $host$ | top limit=10 host</query>
        <earliest>-24h</earliest>
        <latest>now</latest>
    </search>

    <row>
        <panel>
            <html id="cpu">
                <div class="safecenter">
                    <h1>CPU</h1>
                </div>
            </html>
        </panel>
    </row>
    <row>
        <panel id="panela2_setWidth_48">
            <title>Summary:</title>
            <single>
                <search base="CPU_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats dc(host) AS dcount</query>
                </search>
                <option name="underLabel">HOSTS WITH CPU ALERTS (last 24h)</option>
                <option name="field">count</option>
                <option name="drilldown">all</option>
                <option name="colorBy">value</option>
                <option name="colorMode">none</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x65a637","0xf58f39"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_cpu_usage`</link>
                </drilldown>
                <option name="refresh.display">preview</option>
            </single>
            <single>
                <search base="CPU_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats count AS count</query>
                </search>
                <option name="underLabel">NUMBER OF TOTAL CPU ALERTS (last 24h)</option>
                <option name="field">count</option>
                <option name="drilldown">all</option>
                <option name="colorBy">value</option>
                <option name="colorMode">none</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x65a637","0xf58f39"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_cpu_usage`</link>
                </drilldown>
                <option name="refresh.display">preview</option>
            </single>
            <html rejects="$show_null_alert_cpu$" depends="$frameID$ $host$">
                <h2>TagCloud: TOP 10 hosts in Alerts</h2>
                <div id="tagcloud1"
                     class="splunk-view"
                     data-require="app/metricator-for-nmon/components/tagcloud/tagcloud"
                     data-options='{
            "minFontSize": 14,
            "maxFontSize": 55,
            "managerid": "tagcloud_cpu",
            "valueField": "count",
            "labelField": "host"
            }'>
                </div>
            </html>
        </panel>
        <panel id="panela3_setWidth_48">
            <title>Last 24 hours summary</title>
            <input type="link" token="cpu_linkinput">
                <label></label>
                <choice value="cpu_chart1">Chart over time (top 10)</choice>
                <choice value="cpu_chart2">Events</choice>
                <choice value="cpu_chart3">TOP chart count</choice>
                <choice value="cpu_chart4">TOP Stats count</choice>
                <choice value="cpu_chart5">TOP chart value</choice>
                <choice value="cpu_chart6">TOP Stats value</choice>
                <default>cpu_chart1</default>
                <change>
                    <condition value="cpu_chart1">
                        <set token="cpu_chart1">true</set>
                        <unset token="cpu_chart2"></unset>
                        <unset token="cpu_chart3"></unset>
                        <unset token="cpu_chart4"></unset>
                        <unset token="cpu_chart5"></unset>
                        <unset token="cpu_chart6"></unset>
                    </condition>
                    <condition value="cpu_chart2">
                        <set token="cpu_chart2">true</set>
                        <unset token="cpu_chart1"></unset>
                        <unset token="cpu_chart3"></unset>
                        <unset token="cpu_chart4"></unset>
                        <unset token="cpu_chart5"></unset>
                        <unset token="cpu_chart6"></unset>
                    </condition>
                    <condition value="cpu_chart3">
                        <set token="cpu_chart3">true</set>
                        <unset token="cpu_chart1"></unset>
                        <unset token="cpu_chart2"></unset>
                        <unset token="cpu_chart4"></unset>
                        <unset token="cpu_chart5"></unset>
                        <unset token="cpu_chart6"></unset>
                    </condition>
                    <condition value="cpu_chart4">
                        <set token="cpu_chart4">true</set>
                        <unset token="cpu_chart1"></unset>
                        <unset token="cpu_chart2"></unset>
                        <unset token="cpu_chart3"></unset>
                        <unset token="cpu_chart5"></unset>
                        <unset token="cpu_chart6"></unset>
                    </condition>
                    <condition value="cpu_chart5">
                        <set token="cpu_chart5">true</set>
                        <unset token="cpu_chart1"></unset>
                        <unset token="cpu_chart2"></unset>
                        <unset token="cpu_chart3"></unset>
                        <unset token="cpu_chart4"></unset>
                        <unset token="cpu_chart6"></unset>
                    </condition>
                    <condition value="cpu_chart6">
                        <set token="cpu_chart6">true</set>
                        <unset token="cpu_chart1"></unset>
                        <unset token="cpu_chart2"></unset>
                        <unset token="cpu_chart3"></unset>
                        <unset token="cpu_chart4"></unset>
                        <unset token="cpu_chart5"></unset>
                    </condition>
                </change>
            </input>
            <chart depends="$cpu_chart1$" rejects="$show_null_alert_cpu$">
                <title></title>
                <search base="CPU_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | timechart useother=t limit=10 count by host</query>
                    <!-- Progress event has access to job properties only -->
                    <progress>
                        <condition match="'job.resultCount' == 0">
                            <set token="show_null_alert_cpu">True</set>
                        </condition>
                        <condition>
                            <unset token="show_null_alert_cpu"/>
                        </condition>
                    </progress>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">collapsed</option>
                <option name="charting.axisTitleY.text">Alerts count by host</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">column</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">stacked</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">top</option>
                <option name="height">400</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$cpu_chart2$" rejects="$show_null_alert_cpu$">
                <title></title>
                <search base="CPU_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <chart depends="$cpu_chart3$" rejects="$show_null_alert_cpu$">
                <title></title>
                <search base="CPU_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | top host</query>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">visible</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">pie</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">default</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">right</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$cpu_chart4$" rejects="$show_null_alert_cpu$">
                <title></title>
                <search base="CPU_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | top host</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <chart depends="$cpu_chart5$" rejects="$show_null_alert_cpu$">
                <title></title>
                <search base="CPU_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats max(latest_cpu_load_percent) AS latest_cpu_load_percent by host | sort - latest_cpu_load_percent</query>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">visible</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">pie</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">default</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">right</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$cpu_chart6$" rejects="$show_null_alert_cpu$">
                <title></title>
                <search base="CPU_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats max(latest_cpu_load_percent) AS latest_cpu_load_percent by host | sort - latest_cpu_load_percent</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
            </table>
            <html depends="$show_null_alert_cpu$ $frameID$ $host$">
                <br />
                <p style="color:#157EFB;margin-left:30px;font-size:14px;font-style:italic;">No hosts with CPU alerts were reported over last 24 hours</p>
            </html>
        </panel>
    </row>

    <search id="tagcloud_realmem">
        <query>| `alerting_realmemory_usage` | search $frameID$ host=$host-prefilter$ $host$ | top limit=10 host</query>
        <earliest>-24h</earliest>
        <latest>now</latest>
    </search>
    <row>
        <panel>
            <html id="mem">
                <div class="safecenter">
                    <h1>MEM</h1>
                </div>
            </html>
        </panel>
    </row>
    <row>
        <panel id="panelb2_setWidth_48">
            <title>Summary:</title>
            <single>
                <search base="RealMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats dc(host) AS dcount</query>
                </search>
                <option name="underLabel">HOSTS WITH REAL MEMORY ALERTS (last 24h)</option>
                <option name="field">count</option>
                <option name="drilldown">all</option>
                <option name="colorBy">value</option>
                <option name="colorMode">none</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x65a637","0xf58f39"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_realmemory_usage`</link>
                </drilldown>
                <option name="refresh.display">preview</option>
            </single>
            <single>
                <search base="RealMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats count AS count</query>
                </search>
                 <option name="underLabel">NUMBER OF TOTAL REAL MEMORY ALERTS (last 24h)</option>
                <option name="field">count</option>
                <option name="drilldown">all</option>
                <option name="colorBy">value</option>
                <option name="colorMode">none</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x65a637","0xf58f39"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_realmemory_usage`</link>
                </drilldown>
                <option name="refresh.display">preview</option>
            </single>
            <html rejects="$show_null_alert_realmem$" depends="$frameID$ $host$">
                <h2>TagCloud: TOP 10 hosts in Alerts</h2>
                <div id="tagcloud2"
                     class="splunk-view"
                     data-require="app/metricator-for-nmon/components/tagcloud/tagcloud"
                     data-options='{
            "minFontSize": 14,
            "maxFontSize": 55,
            "managerid": "tagcloud_realmem",
            "valueField": "count",
            "labelField": "host"
            }'>
                </div>
            </html>
        </panel>
        <panel id="panelb3_setWidth_48">
            <title>Last 24 hours summary</title>

            <input type="link" token="mem_linkinput">
                <label></label>
                <choice value="mem_chart1">Chart over time (top 10)</choice>
                <choice value="mem_chart2">Events</choice>
                <choice value="mem_chart3">TOP chart count</choice>
                <choice value="mem_chart4">TOP Stats count</choice>
                <choice value="mem_chart5">TOP chart value</choice>
                <choice value="mem_chart6">TOP Stats value</choice>
                <default>mem_chart1</default>
                <change>
                    <condition value="mem_chart1">
                        <set token="mem_chart1">true</set>
                        <unset token="mem_chart2"></unset>
                        <unset token="mem_chart3"></unset>
                        <unset token="mem_chart4"></unset>
                        <unset token="mem_chart5"></unset>
                        <unset token="mem_chart6"></unset>
                    </condition>
                    <condition value="mem_chart2">
                        <set token="mem_chart2">true</set>
                        <unset token="mem_chart1"></unset>
                        <unset token="mem_chart3"></unset>
                        <unset token="mem_chart4"></unset>
                        <unset token="mem_chart5"></unset>
                        <unset token="mem_chart6"></unset>
                    </condition>
                    <condition value="mem_chart3">
                        <set token="mem_chart3">true</set>
                        <unset token="mem_chart1"></unset>
                        <unset token="mem_chart2"></unset>
                        <unset token="mem_chart4"></unset>
                        <unset token="mem_chart5"></unset>
                        <unset token="mem_chart6"></unset>
                    </condition>
                    <condition value="mem_chart4">
                        <set token="mem_chart4">true</set>
                        <unset token="mem_chart1"></unset>
                        <unset token="mem_chart2"></unset>
                        <unset token="mem_chart3"></unset>
                        <unset token="mem_chart5"></unset>
                        <unset token="mem_chart6"></unset>
                    </condition>
                    <condition value="mem_chart5">
                        <set token="mem_chart5">true</set>
                        <unset token="mem_chart1"></unset>
                        <unset token="mem_chart2"></unset>
                        <unset token="mem_chart3"></unset>
                        <unset token="mem_chart4"></unset>
                        <unset token="mem_chart6"></unset>
                    </condition>
                    <condition value="mem_chart6">
                        <set token="mem_chart6">true</set>
                        <unset token="mem_chart1"></unset>
                        <unset token="mem_chart2"></unset>
                        <unset token="mem_chart3"></unset>
                        <unset token="mem_chart4"></unset>
                        <unset token="mem_chart5"></unset>
                    </condition>
                </change>
            </input>

            <chart depends="$mem_chart1$" rejects="$show_null_alert_realmem$">
                <title></title>
                <search base="RealMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | timechart useother=t limit=10 count by host</query>
                    <progress>
                        <condition match="'job.resultCount' == 0">
                            <set token="show_null_alert_realmem">True</set>
                        </condition>
                        <condition>
                            <unset token="show_null_alert_realmem"/>
                        </condition>
                    </progress>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">collapsed</option>
                <option name="charting.axisTitleY.text">Alerts count by host</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">column</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">stacked</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">top</option>
                <option name="height">400</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$mem_chart2$" rejects="$show_null_alert_realmem$">
                <title></title>
                <search base="RealMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <chart depends="$mem_chart3$" rejects="$show_null_alert_realmem$">
                <title></title>
                <search base="RealMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | top host</query>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">visible</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">pie</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">default</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">right</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$mem_chart4$" rejects="$show_null_alert_realmem$">
                <title></title>
                <search base="RealMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | top host</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <chart depends="$mem_chart5$" rejects="$show_null_alert_realmem$">
                <title></title>
                <search base="RealMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats max(latest_mem_used_effective_PCT) AS latest_mem_used_effective_PCT by host | sort - latest_mem_used_effective_PCT</query>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">visible</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">pie</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">default</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">right</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$mem_chart6$" rejects="$show_null_alert_realmem$">
                <title></title>
                <search base="RealMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats max(latest_mem_used_effective_PCT) AS latest_mem_used_effective_PCT by host | sort - latest_mem_used_effective_PCT</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <html depends="$show_null_alert_realmem$ $frameID$ $host$">
                <br />
                <p style="color:#157EFB;margin-left:30px;font-size:14px;font-style:italic;">No hosts with real memory alerts were reported over last 24 hours</p>
            </html>
        </panel>
    </row>

    <search id="tagcloud_virtualmem">
        <query>| `alerting_virtualmemory_usage` | search $frameID$ host=$host-prefilter$ $host$ | top limit=10 host</query>
        <earliest>-24h</earliest>
        <latest>now</latest>
    </search>
    <row>
        <panel>
            <html id="swap">
                <div class="safecenter">
                    <h1>SWAP</h1>
                </div>
            </html>
        </panel>
    </row>
    <row>
        <panel id="panelc2_setWidth_48">
            <title>Summary:</title>
            <single>
                <search base="VirtualMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats dc(host) AS dcount</query>
                </search>
                  <option name="underLabel">HOSTS WITH VIRTUAL MEMORY ALERTS (last 24h)</option>
                <option name="field">count</option>
                <option name="drilldown">all</option>
                <option name="colorBy">value</option>
                <option name="colorMode">none</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x65a637","0xf58f39"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_virtualmemory_usage`</link>
                </drilldown>
                <option name="refresh.display">preview</option>
            </single>
            <single>
                <search base="VirtualMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats count AS count</query>
                </search>
                <option name="underLabel">NUMBER OF TOTAL VIRTUAL MEMORY ALERTS (last 24h)</option>
                <option name="field">count</option>
                <option name="drilldown">all</option>
                <option name="colorBy">value</option>
                <option name="colorMode">none</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x65a637","0xf58f39"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_virtualmemory_usage`</link>
                </drilldown>
                <option name="refresh.display">preview</option>
            </single>
            <html rejects="$show_null_alert_virtualmem$" depends="$frameID$ $host$">
                <h2>TagCloud: TOP 10 hosts in Alerts</h2>
                <div id="tagcloud3"
                     class="splunk-view"
                     data-require="app/metricator-for-nmon/components/tagcloud/tagcloud"
                     data-options='{
            "minFontSize": 14,
            "maxFontSize": 55,
            "managerid": "tagcloud_virtualmem",
            "valueField": "count",
            "labelField": "host"
            }'>
                </div>
            </html>
        </panel>
        <panel id="panelc3_setWidth_48">
            <title>Last 24 hours summary</title>
            <input type="link" token="swap_linkinput">
                <label></label>
                <choice value="swap_chart1">Chart over time (top 10)</choice>
                <choice value="swap_chart2">Events</choice>
                <choice value="swap_chart3">TOP chart count</choice>
                <choice value="swap_chart4">TOP Stats count</choice>
                <choice value="swap_chart5">TOP chart value</choice>
                <choice value="swap_chart6">TOP Stats value</choice>
                <default>swap_chart1</default>
                <change>
                    <condition value="swap_chart1">
                        <set token="swap_chart1">true</set>
                        <unset token="swap_chart2"></unset>
                        <unset token="swap_chart3"></unset>
                        <unset token="swap_chart4"></unset>
                        <unset token="swap_chart5"></unset>
                        <unset token="swap_chart6"></unset>
                    </condition>
                    <condition value="swap_chart2">
                        <set token="swap_chart2">true</set>
                        <unset token="swap_chart1"></unset>
                        <unset token="swap_chart3"></unset>
                        <unset token="swap_chart4"></unset>
                        <unset token="swap_chart5"></unset>
                        <unset token="swap_chart6"></unset>
                    </condition>
                    <condition value="swap_chart3">
                        <set token="swap_chart3">true</set>
                        <unset token="swap_chart1"></unset>
                        <unset token="swap_chart2"></unset>
                        <unset token="swap_chart4"></unset>
                        <unset token="swap_chart5"></unset>
                        <unset token="swap_chart6"></unset>
                    </condition>
                    <condition value="swap_chart4">
                        <set token="swap_chart4">true</set>
                        <unset token="swap_chart1"></unset>
                        <unset token="swap_chart2"></unset>
                        <unset token="swap_chart3"></unset>
                        <unset token="swap_chart5"></unset>
                        <unset token="swap_chart6"></unset>
                    </condition>
                    <condition value="swap_chart5">
                        <set token="swap_chart5">true</set>
                        <unset token="swap_chart1"></unset>
                        <unset token="swap_chart2"></unset>
                        <unset token="swap_chart3"></unset>
                        <unset token="swap_chart4"></unset>
                        <unset token="swap_chart6"></unset>
                    </condition>
                    <condition value="swap_chart6">
                        <set token="swap_chart6">true</set>
                        <unset token="swap_chart1"></unset>
                        <unset token="swap_chart2"></unset>
                        <unset token="swap_chart3"></unset>
                        <unset token="swap_chart4"></unset>
                        <unset token="swap_chart5"></unset>
                    </condition>
                </change>
            </input>
            <chart depends="$swap_chart1$" rejects="$show_null_alert_virtualmem$">
                <title></title>
                <search base="VirtualMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | timechart useother=t limit=10 count by host</query>
                    <progress>
                        <condition match="'job.resultCount' == 0">
                            <set token="show_null_alert_virtualmem">True</set>
                        </condition>
                        <condition>
                            <unset token="show_null_alert_virtualmem"/>
                        </condition>
                    </progress>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">collapsed</option>
                <option name="charting.axisTitleY.text">Alerts count by host</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">column</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">stacked</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">top</option>
                <option name="height">400</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$swap_chart2$" rejects="$show_null_alert_virtualmem$">
                <title></title>
                <search base="VirtualMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <chart depends="$swap_chart3$" rejects="$show_null_alert_virtualmem$">
                <title></title>
                <search base="VirtualMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | top host</query>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">visible</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">pie</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">default</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">right</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$swap_chart4$" rejects="$show_null_alert_virtualmem$">
                <title></title>
                <search base="VirtualMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | top host</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <chart depends="$swap_chart5$" rejects="$show_null_alert_virtualmem$">
                <title></title>
                <search base="VirtualMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats max(latest_swap_used_effective_PCT) AS latest_swap_used_effective_PCT by host | sort - latest_swap_used_effective_PCT</query>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">visible</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">pie</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">default</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">right</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$swap_chart6$" rejects="$show_null_alert_virtualmem$">
                <title></title>
                <search base="VirtualMem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats max(latest_swap_used_effective_PCT) AS latest_swap_used_effective_PCT by host | sort - latest_swap_used_effective_PCT</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <html depends="$show_null_alert_virtualmem$ $frameID$ $host$">
                <br />
                <p style="color:#157EFB;margin-left:30px;font-size:14px;font-style:italic;">No hosts with virtual memory alerts were reported over last 24 hours</p>
            </html>
        </panel>
    </row>

    <search id="tagcloud_filesystem">
        <query>| `alerting_filesystem_usage` | search $frameID$ host=$host-prefilter$ $host$ | top limit=10 host</query>
        <earliest>-24h</earliest>
        <latest>now</latest>
    </search>
    <row>
        <panel>
            <html id="filesystem">
                <div class="safecenter">
                    <h1>FILE-SYSTEMS</h1>
                </div>
            </html>
        </panel>
    </row>
    <row>
        <panel id="paneld2_setWidth_48">
            <title>Summary:</title>
            <single>
                <search base="FileSystem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats dc(host) AS dcount</query>
                </search>
                <option name="underLabel">HOSTS WITH FILESYSTEM SATURATION ALERTS (last 24h)</option>
                <option name="field">count</option>
                <option name="drilldown">all</option>
                <option name="colorBy">value</option>
                <option name="colorMode">none</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x65a637","0xf58f39"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_filesystem_usage`</link>
                </drilldown>
                <option name="refresh.display">preview</option>
            </single>
            <single>
                <search base="FileSystem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats count AS count</query>
                </search>
                <option name="underLabel">NUMBER OF TOTAL FILESYSTEM SATURATION ALERTS (last 24h)</option>
                <option name="field">count</option>
                <option name="drilldown">all</option>
                <option name="colorBy">value</option>
                <option name="colorMode">none</option>
                <option name="numberPrecision">0</option>
                <option name="rangeColors">["0x65a637","0xf58f39"]</option>
                <option name="rangeValues">[0]</option>
                <option name="showSparkline">1</option>
                <option name="showTrendIndicator">1</option>
                <option name="trendColorInterpretation">standard</option>
                <option name="trendDisplayMode">absolute</option>
                <option name="useColors">1</option>
                <option name="useThousandSeparators">1</option>
                <drilldown target="search">
                    <link>search?q=| `alerting_filesystem_usage`</link>
                </drilldown>
                <option name="refresh.display">preview</option>
            </single>
            <html rejects="$show_null_alert_fs$" depends="$frameID$ $host$">
                <h2>TagCloud: TOP 10 hosts in Alerts</h2>
                <div id="tagcloud4"
                     class="splunk-view"
                     data-require="app/metricator-for-nmon/components/tagcloud/tagcloud"
                     data-options='{
            "minFontSize": 14,
            "maxFontSize": 55,
            "managerid": "tagcloud_filesystem",
            "valueField": "count",
            "labelField": "host"
            }'>
                </div>
            </html>
        </panel>
        <panel id="paneld3_setWidth_48">
            <title>Last 24 hours summary</title>
            <input type="link" token="fs_linkinput">
                <label></label>
                <choice value="fs_chart1">Chart over time (top 10)</choice>
                <choice value="fs_chart2">Events</choice>
                <choice value="fs_chart3">TOP chart count</choice>
                <choice value="fs_chart4">TOP Stats count</choice>
                <choice value="fs_chart5">TOP chart value</choice>
                <choice value="fs_chart6">TOP Stats value</choice>
                <default>fs_chart1</default>
                <change>
                    <condition value="fs_chart1">
                        <set token="fs_chart1">true</set>
                        <unset token="fs_chart2"></unset>
                        <unset token="fs_chart3"></unset>
                        <unset token="fs_chart4"></unset>
                        <unset token="fs_chart5"></unset>
                        <unset token="fs_chart6"></unset>
                    </condition>
                    <condition value="fs_chart2">
                        <set token="fs_chart2">true</set>
                        <unset token="fs_chart1"></unset>
                        <unset token="fs_chart3"></unset>
                        <unset token="fs_chart4"></unset>
                        <unset token="fs_chart5"></unset>
                        <unset token="fs_chart6"></unset>
                    </condition>
                    <condition value="fs_chart3">
                        <set token="fs_chart3">true</set>
                        <unset token="fs_chart1"></unset>
                        <unset token="fs_chart2"></unset>
                        <unset token="fs_chart4"></unset>
                        <unset token="fs_chart5"></unset>
                        <unset token="fs_chart6"></unset>
                    </condition>
                    <condition value="fs_chart4">
                        <set token="fs_chart4">true</set>
                        <unset token="fs_chart1"></unset>
                        <unset token="fs_chart2"></unset>
                        <unset token="fs_chart3"></unset>
                        <unset token="fs_chart5"></unset>
                        <unset token="fs_chart6"></unset>
                    </condition>
                    <condition value="fs_chart5">
                        <set token="fs_chart5">true</set>
                        <unset token="fs_chart1"></unset>
                        <unset token="fs_chart2"></unset>
                        <unset token="fs_chart3"></unset>
                        <unset token="fs_chart4"></unset>
                        <unset token="fs_chart6"></unset>
                    </condition>
                    <condition value="fs_chart6">
                        <set token="fs_chart6">true</set>
                        <unset token="fs_chart1"></unset>
                        <unset token="fs_chart2"></unset>
                        <unset token="fs_chart3"></unset>
                        <unset token="fs_chart4"></unset>
                        <unset token="fs_chart5"></unset>
                    </condition>
                </change>
            </input>
            <chart depends="$fs_chart1$" rejects="$show_null_alert_fs$">
                <title></title>
                <search base="FileSystem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | timechart useother=t limit=40 count by host</query>
                    <progress>
                        <condition match="'job.resultCount' == 0">
                            <set token="show_null_alert_fs">True</set>
                        </condition>
                        <condition>
                            <unset token="show_null_alert_fs"/>
                        </condition>
                    </progress>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">collapsed</option>
                <option name="charting.axisTitleY.text">Alerts count by host</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">column</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">stacked</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">top</option>
                <option name="height">400</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$fs_chart2$" rejects="$show_null_alert_fs$">
                <title></title>
                <search base="FileSystem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <chart depends="$fs_chart3$" rejects="$show_null_alert_fs$">
                <title></title>
                <search base="FileSystem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | top host</query>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">visible</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">pie</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">default</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">right</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$fs_chart4$" rejects="$show_null_alert_fs$">
                <title></title>
                <search base="FileSystem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | top host</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <chart depends="$fs_chart5$" rejects="$show_null_alert_fs$">
                <title></title>
                <search base="FileSystem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats max(latest_storage_used_percent) AS latest_storage_used_percent by host | sort - latest_storage_used_percent</query>
                </search>
                <option name="charting.axisLabelsX.majorLabelStyle.overflowMode">ellipsisNone</option>
                <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
                <option name="charting.axisTitleX.visibility">visible</option>
                <option name="charting.axisTitleY.visibility">visible</option>
                <option name="charting.axisTitleY2.visibility">visible</option>
                <option name="charting.axisX.scale">linear</option>
                <option name="charting.axisY.scale">linear</option>
                <option name="charting.axisY2.enabled">0</option>
                <option name="charting.axisY2.scale">inherit</option>
                <option name="charting.chart">pie</option>
                <option name="charting.chart.bubbleMaximumSize">50</option>
                <option name="charting.chart.bubbleMinimumSize">10</option>
                <option name="charting.chart.bubbleSizeBy">area</option>
                <option name="charting.chart.nullValueMode">gaps</option>
                <option name="charting.chart.sliceCollapsingThreshold">0.01</option>
                <option name="charting.chart.stackMode">default</option>
                <option name="charting.chart.style">shiny</option>
                <option name="charting.drilldown">all</option>
                <option name="charting.layout.splitSeries">0</option>
                <option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
                <option name="charting.legend.placement">right</option>
                <option name="refresh.display">none</option>
            </chart>
            <table depends="$fs_chart6$" rejects="$show_null_alert_fs$">
                <title></title>
                <search base="FileSystem_Global">
                    <query>search $frameID$ host=$host-prefilter$ $host$ | stats max(latest_storage_used_percent) AS latest_storage_used_percent by host,mount | sort - latest_storage_used_percent</query>
                </search>
                <option name="wrap">true</option>
                <option name="rowNumbers">false</option>
                <option name="dataOverlayMode">none</option>
                <option name="count">10</option>
                <option name="drilldown">cell</option>
                <option name="refresh.display">none</option>
            </table>
            <html depends="$show_null_alert_fs$ $frameID$ $host$">
                <br />
                <p style="color:#157EFB;margin-left:30px;font-size:14px;font-style:italic;">No hosts with file systems alerts were reported over last 24 hours</p>
            </html>
        </panel>
    </row>

</form>
