[GH-ISSUE #498] Feature: Script parseable status details (JSON maybe?) #753

Closed
opened 2026-08-05 00:39:49 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @timwsuqld on GitHub (Oct 10, 2022).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/498

Originally assigned to: @pascal-fischer on GitHub.

It would be really useful to be able to get netbird client status from other clients (not just netbird-ui).

At the very least, the exit code of 'netbird status' should be useable to see if we are connected, but ideally something like a JSON output mode for the status so we can parse it in scripts. I don't really want to write a grpc client just to get basic things like "connected".

E.g. you can run tailscale status --json to get JSON output from the tailscale client, something like that.

Originally created by @timwsuqld on GitHub (Oct 10, 2022). Original GitHub issue: https://github.com/netbirdio/netbird/issues/498 Originally assigned to: @pascal-fischer on GitHub. It would be really useful to be able to get netbird client status from other clients (not just netbird-ui). At the very least, the exit code of 'netbird status' should be useable to see if we are connected, but ideally something like a JSON output mode for the status so we can parse it in scripts. I don't really want to write a grpc client just to get basic things like "connected". E.g. you can run `tailscale status --json` to get JSON output from the tailscale client, something like that.
saavagebueno added the good first issue label 2026-08-05 00:39:49 -04:00
Author
Owner

@pascal-fischer commented on GitHub (Feb 28, 2023):

Hi @timwsuqld,

Added support for JSON output via netbird status --json as well as YAML output via netbird status --yaml in PR#704.
The feature will be part of the next release (0.14.1)

<!-- gh-comment-id:1447990095 --> @pascal-fischer commented on GitHub (Feb 28, 2023): Hi @timwsuqld, Added support for JSON output via `netbird status --json` as well as YAML output via `netbird status --yaml` in PR#704. The feature will be part of the next release (0.14.1)
Sign in to join this conversation.
No Label good first issue
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#753