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

Add inventory option to plugin #13

Merged
merged 14 commits into from
Feb 26, 2020
Merged

Add inventory option to plugin #13

merged 14 commits into from
Feb 26, 2020

Conversation

bb-Ricardo
Copy link
Owner

@bb-Ricardo bb-Ricardo commented Feb 26, 2020

This PR will add an "--inventory" option to be able to retrieve all system components in json formatted dictionary

The basic structure looks like this:

{
    "inventory": {
        "chassis": [],
        "fans": [],
        "firmware": [],
        "logical_drives": [],
        "managers": [],
        "memories": [],
        "meta": {
            "WARNING": "THIS is a alpha version of this implementation and possible changes might occur without notice",
            "data_retrieval_issues": [],
            "duration_of_data_colection_in_seconds": 0.018014,
            "host_that_collected_inventory": "hostname",
            "inventory_layout_version": "0.1",
            "script_version": "0.0.11",
            "start_of_data_collection": "2020-02-26T07:59:39+01:00"
        },
        "nics": [],
        "physical_drives": [],
        "power_supplies": [],
        "processors": [],
        "storage_controllers": [],
        "storage_enclosures": [],
        "systems": [],
        "temperatures": []
    }
}

THIS is the first alpha version of this implementation and possible changes might occur without notice

Fixes: #6

@bb-Ricardo bb-Ricardo added this to the 0.1.0 milestone Feb 26, 2020
@bb-Ricardo bb-Ricardo merged commit f858d0f into next-release Feb 26, 2020
@bb-Ricardo bb-Ricardo deleted the feature/inventory branch May 4, 2020 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant