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

Enhancement: JSON output #306

Open
sebneus opened this issue Jul 5, 2024 · 0 comments
Open

Enhancement: JSON output #306

sebneus opened this issue Jul 5, 2024 · 0 comments
Labels

Comments

@sebneus
Copy link

sebneus commented Jul 5, 2024

Hi

I would highly appreciate it, if there would be json output with the parameter -j. I know there is also the batch output but for some scripts (pyhton) and some monitoring solutions (zabbix) it would be great to have json output.

From your bash output example I created an example:

{
    "version": "2.1",
    "kernel": {
        "current": "3.19.3-tl1",
        "expected": "3.19.3-tl1",
        "status": "1",
        "status_description": "no pending upgrade"
    },
    "services": [
        "systemd-journald.service",
        "systemd-machined.service"
    ],
    "container": [
        "LXC web1"
    ],
    "sessions": [
        "metabase @ user manager service",
        "root @ session #28017"
    ],
    "microcode": "obsolete"
}

Thanks for the great tool!
Sebastian

@liske liske added the wishlist label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants