Skip to content

Commit 2650668

Browse files
committed
extended reporting tutorial
1 parent d2feeb1 commit 2650668

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

StorageGRID-Webscale-Tutorial.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,18 @@ Get-SGWReport -Attribute 'S3 Ingest - Rate (XSIR) [MB/s]'
114114
Get-SGWReport -Attribute 'S3 Retrieval - Rate (XSRR) [MB/s]' -StartTime (Get-Date).AddDays(-1)
115115
Get-SGWReport -Attribute 'Used Storage Capacity (XUSC) [Bytes]' -StartTime (Get-Date).AddDays(-10) -EndTime (Get-Date).AddDays(-1)
116116
```
117+
118+
By default the report is created for all nodes in the grid. To select a specific site or node, you need the OID of the site or node. The OIDs can be retrieved using the following Cmdlet
119+
```powershell
120+
$Topology = Get-SGWTopologyHealth
121+
$Sites = $Topology.children
122+
$Nodes = $Topology.children.children
123+
```
124+
125+
To report only on the first site, use the following
126+
```powershell
127+
$Topology = Get-SGWTopologyHealth
128+
$Sites = $Topology.children
129+
$Site = $Sites[0]
130+
Get-SGWReport -Attribute 'S3 Ingest - Rate (XSIR) [MB/s]' -OID $Site.oid
131+
```

0 commit comments

Comments
 (0)