<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Expedition Dashboard chart for disk usage in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-dashboard-chart-for-disk-usage/m-p/560072#M4743</link>
    <description>&lt;P&gt;I have a new install of Expedition and moved the /data to a bigger partition. On the dashboard page the under ML Health, the DISK usage shows to correct size. However on the chart, the disk is showing the / root directory which is on a different partition. Does anyone know where I can update the chart to use /data instead of / root directory? I included a screen shot of the Dashboard area.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2023 16:27:15 GMT</pubDate>
    <dc:creator>GregAdolphson</dc:creator>
    <dc:date>2023-09-29T16:27:15Z</dc:date>
    <item>
      <title>Expedition Dashboard chart for disk usage</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-dashboard-chart-for-disk-usage/m-p/560072#M4743</link>
      <description>&lt;P&gt;I have a new install of Expedition and moved the /data to a bigger partition. On the dashboard page the under ML Health, the DISK usage shows to correct size. However on the chart, the disk is showing the / root directory which is on a different partition. Does anyone know where I can update the chart to use /data instead of / root directory? I included a screen shot of the Dashboard area.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 16:27:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-dashboard-chart-for-disk-usage/m-p/560072#M4743</guid>
      <dc:creator>GregAdolphson</dc:creator>
      <dc:date>2023-09-29T16:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Expedition Dashboard chart for disk usage</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-dashboard-chart-for-disk-usage/m-p/560079#M4746</link>
      <description>&lt;P&gt;I found the $path / to update the chart in file /var/www/html/libs/cpu_status_functions.php&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;    try {
        $path = '/data';
        $diskStatus = new DiskStatus($path);
        $totalSpace = $diskStatus-&amp;gt;totalSpace();
        $barWidth = ($diskStatus-&amp;gt;usedSpace() / 100);
        $out[] = [
            "item" =&amp;gt; "DISK usage",
            "pct" =&amp;gt; $barWidth,
            "used" =&amp;gt; round($diskStatus-&amp;gt;usedSpace()/100*$totalSpace, 2). " out of ".$totalSpace ." at $path"
        ];


    }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 29 Sep 2023 17:12:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/expedition-dashboard-chart-for-disk-usage/m-p/560079#M4746</guid>
      <dc:creator>GregAdolphson</dc:creator>
      <dc:date>2023-09-29T17:12:54Z</dc:date>
    </item>
  </channel>
</rss>

