Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: exclude /dev/mapper/archive_vg-archive output #167

Merged
merged 1 commit into from
Aug 22, 2023

Conversation

tenthirtyam
Copy link
Contributor

Summary

  • Updated Request-VcenterStorageHealth to exclude /dev/mapper/archive_vg-archive from the output per KB 76563.
  • Corrected Example 1 for Request-VcenterStorageHealth.
  • Updated "Out-NULL" to "Out-Null", where applicable.
  • Updated CHANGELOG.md
  • Updated module version and build to 2.4.0.1000.

Type

  • Bugfix
  • Enhancement or Feature
  • Code Style or Formatting
  • Documentation
  • Refactoring
  • Chore
  • Other
    Please describe:

Breaking Changes?

  • Yes, there are breaking changes.
  • No, there are no breaking changes.

Test and Documentation

  • Tests have been completed.
  • Documentation has been added or updated.
PS F:\VMware.CloudFoundation.Reporting> Request-VcenterStorageHealth -server sfo-vcf01.sfo.rainpole.io -user admin@local -pass VMw@re1!VMw@re1! -domain sfo-w01


FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/autodeploy_vg-autodeploy
Size       : 25G
Available  : 40K
Used %     : 1%
Mounted on : /storage/autodeploy
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/imagebuilder_vg-imagebuilder
Size       : 25G
Available  : 36K
Used %     : 1%
Mounted on : /storage/imagebuilder
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/seat_vg-seat
Size       : 49G
Available  : 464M
Used %     : 1%
Mounted on : /storage/seat
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/netdump_vg-netdump
Size       : 9.8G
Available  : 24K
Used %     : 1%
Mounted on : /storage/netdump
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/vtsdblog_vg-vtsdblog
Size       : 25G
Available  : 33M
Used %     : 1%
Mounted on : /storage/vtsdblog
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/lifecycle_vg-lifecycle
Size       : 98G
Available  : 4.1G
Used %     : 5%
Mounted on : /storage/lifecycle
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/updatemgr_vg-updatemgr
Size       : 98G
Available  : 583M
Used %     : 1%
Mounted on : /storage/updatemgr
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/vtsdb_vg-vtsdb
Size       : 49G
Available  : 32M
Used %     : 1%
Mounted on : /storage/vtsdb
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/sda2
Size       : 10M
Available  : 2.0M
Used %     : 20%
Mounted on : /boot/efi
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/vg_lvm_snapshot-lv_lvm_snapshot
Size       : 196G
Available  : 28K
Used %     : 1%
Mounted on : /storage/lvm_snapshot
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/vg_root_0-lv_root_0
Size       : 47G
Available  : 12G
Used %     : 26%
Mounted on : /
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/sda3
Size       : 488M
Available  : 30M
Used %     : 7%
Mounted on : /boot
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/db_vg-db
Size       : 25G
Available  : 631M
Used %     : 3%
Mounted on : /storage/db
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/dblog_vg-dblog
Size       : 25G
Available  : 257M
Used %     : 2%
Mounted on : /storage/dblog
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/core_vg-core
Size       : 49G
Available  : 6.8G
Used %     : 15%
Mounted on : /storage/core
Alert      : GREEN
Message    : Used space is less than 70%.

FQDN       : sfo-w01-vc01.sfo.rainpole.io
Filesystem : /dev/mapper/log_vg-log
Size       : 25G
Available  : 8.5G
Used %     : 37%
Mounted on : /storage/log
Alert      : GREEN
Message    : Used space is less than 70%.

Issue References

Closes #165

Additional Information

- Updated `Request-VcenterStorageHealth` to exclude `/dev/mapper/archive_vg-archive` from the output per KB 76563.
- Corrected Example 1 for `Request-VcenterStorageHealth`.
- Updated "Out-NULL" to "Out-Null", where applicable.
- Updated `CHANGELOG.md`
- Updated module version and build to 2.4.0.1000.

Ref: #165

Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>
Copy link
Contributor

@bhumitra bhumitra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good. LGTM

@tenthirtyam tenthirtyam merged commit e49943d into develop Aug 22, 2023
3 checks passed
@tenthirtyam tenthirtyam deleted the fix/exclude-vc-vg-archive branch August 22, 2023 15:14
@tenthirtyam tenthirtyam removed the needs-review Needs Review label Aug 22, 2023
@bhumitra bhumitra mentioned this pull request Aug 25, 2023
11 tasks
tenthirtyam added a commit that referenced this pull request Aug 29, 2023
- Updated `Request-VcenterStorageHealth` to exclude `/dev/mapper/archive_vg-archive` from the output per KB 76563.
- Corrected Example 1 for `Request-VcenterStorageHealth`.
- Updated "Out-NULL" to "Out-Null", where applicable.
- Updated `CHANGELOG.md`
- Updated module version and build to 2.4.0.1000.

Ref: #165

Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance Format-DfStorageHealth cmdlet to ignore /dev/mapper/archive_vg-archive full error
2 participants