File tree Expand file tree Collapse file tree 5 files changed +13
-4
lines changed
Expand file tree Collapse file tree 5 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrOntapEfficiencyVolSisStatus {
55 . DESCRIPTION
66
77 . NOTES
8- Version: 0.5.0
8+ Version: 0.6.2
99 Author: Jonathan Colon
1010 Twitter: @jcolonfzenpr
1111 Github: rebelinux
@@ -45,6 +45,9 @@ function Get-AbrOntapEfficiencyVolSisStatus {
4545 }
4646 $OutObj += [pscustomobject ]$inobj
4747 }
48+ if ($Healthcheck.Storage.Efficiency ) {
49+ $OutObj | Where-Object { $_ .' State' -like ' Disabled' } | Set-Style - Style Warning - Property ' State'
50+ }
4851
4952 $TableParams = @ {
5053 Name = " Volume Deduplication Information - $ ( $Vserver ) "
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ function Get-AbrOntapVserverLunIgroup {
4848 }
4949 $VserverObj += [pscustomobject ]$inobj
5050 }
51+ if ($Healthcheck.Vserver.Status ) {
52+ $VserverObj | Where-Object { ($_ .' Reporting Nodes' ).count -gt 2 } | Set-Style - Style Warning - Property ' Reporting Nodes'
53+ }
5154
5255 $TableParams = @ {
5356 Name = " Vserver Igroup Information - $ ( $ClusterInfo.ClusterName ) "
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrOntapVserverLunStorage {
55 . DESCRIPTION
66
77 . NOTES
8- Version: 0.5.0
8+ Version: 0.6.2
99 Author: Jonathan Colon
1010 Twitter: @jcolonfzenpr
1111 Github: rebelinux
@@ -70,6 +70,7 @@ function Get-AbrOntapVserverLunStorage {
7070 if ($Healthcheck.Vserver.Status ) {
7171 $VserverObj | Where-Object { $_ .' Status' -like ' Down' } | Set-Style - Style Warning - Property ' Status'
7272 $VserverObj | Where-Object { $_ .' Used' -ge 90 } | Set-Style - Style Critical - Property ' Used'
73+ $VserverObj | Where-Object { $_ .' Is Mapped' -eq ' No' } | Set-Style - Style Warning - Property ' Is Mapped'
7374 }
7475
7576 $TableParams = @ {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrOntapVserverSummary {
55 . DESCRIPTION
66
77 . NOTES
8- Version: 0.5.0
8+ Version: 0.6.2
99 Author: Jonathan Colon
1010 Twitter: @jcolonfzenpr
1111 Github: rebelinux
@@ -73,6 +73,7 @@ function Get-AbrOntapVserverSummary {
7373 $VserverObj += [pscustomobject ]$inobj
7474 }
7575 if ($Healthcheck.Vserver.Status ) {
76+ $VserverObj | Where-Object { $_ .' Used' -ge 75 } | Set-Style - Style Warning - Property ' Used'
7677 $VserverObj | Where-Object { $_ .' Status' -like ' offline' } | Set-Style - Style Warning - Property ' Status'
7778 }
7879
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function Get-AbrOntapVserverVolume {
55 . DESCRIPTION
66
77 . NOTES
8- Version: 0.5.0
8+ Version: 0.6.2
99 Author: Jonathan Colon
1010 Twitter: @jcolonfzenpr
1111 Github: rebelinux
@@ -43,6 +43,7 @@ function Get-AbrOntapVserverVolume {
4343 }
4444 if ($Healthcheck.Vserver.Status ) {
4545 $VserverObj | Where-Object { $_ .' Status' -like ' offline' } | Set-Style - Style Warning - Property ' Status'
46+ $VserverObj | Where-Object { $_ .' Used' -ge 75 } | Set-Style - Style Warning - Property ' Used'
4647 }
4748
4849 $TableParams = @ {
You can’t perform that action at this time.
0 commit comments