Skip to content

add new sar_facts module #61

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

Merged
merged 2 commits into from
Mar 31, 2025
Merged

add new sar_facts module #61

merged 2 commits into from
Mar 31, 2025

Conversation

NomakCooper
Copy link
Contributor

SUMMARY

add new sar_facts module

examples:

- name: Gather CPU SAR facts between 08:00 and 10:00
  a2dev.general.sar_facts:
    date_start: "2025-05-01"
    date_end: "2025-05-01"
    time_start: "08:00:00"
    time_end: "10:00:00"
    type: cpu

# Gather memory usage SAR data for a single day.
- name: Retrieve memory usage data for a day
  a2dev.general.sar_facts:
    date_start: "2025-05-01"
    type: memory

# Retrieve disk statistics with partition details.
- name: Gather disk usage statistics with partition information
  a2dev.general.sar_facts:
    date_start: "2025-05-01"
    type: disk
    partition: true

# Retrieve average load statistics.
- name: Gather average load statistics
  a2dev.general.sar_facts:
    date_start: "2025-05-01"
    type: load
    average: true
ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

sar_facts

ADDITIONAL INFORMATION

@NomakCooper
Copy link
Contributor Author

/approve

Copy link

repo-command bot commented Mar 31, 2025

Pull request approved by @NomakCooper

@NomakCooper NomakCooper added the backport-10 backport to stable-10 label Mar 31, 2025
@NomakCooper NomakCooper merged commit f00aeb0 into 3A2DEV:main Mar 31, 2025
27 checks passed
Copy link
Contributor

patchback bot commented Mar 31, 2025

Backport to stable-10: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-10/f00aeb09ee23a4148178ed5f564701381feab9b8/pr-61

Backported as #62

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@repo-command repo-command bot added merged and removed approved labels Mar 31, 2025
patchback bot pushed a commit that referenced this pull request Mar 31, 2025
* add new sar_facts module

* fix sar_facts module

(cherry picked from commit f00aeb0)
NomakCooper added a commit that referenced this pull request Mar 31, 2025
* add new sar_facts module

* fix sar_facts module

(cherry picked from commit f00aeb0)

Co-authored-by: Nocchia <133043574+NomakCooper@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant