Skip to content

Add ExitCode in container information into Netbox plugin #201

@Xan4x

Description

@Xan4x

Actual Behavior

Actually, on the container, only state (status from docker inspect) is available.

Image
    "State": {
        "Status": "exited",
        "Running": false,
        "Paused": false,
        "Restarting": false,
        "OOMKilled": false,
        "Dead": false,
        "Pid": 0,
        "ExitCode": 1,

Desired Behavior

I need to have ExitCode on the container information please.
Could you please add this information ? 

"ExitCode": 1

And add in the journal if possible a warning for example if it's ExitCode 1

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions