Aaron Johnson
45e3223591
feat: Add comprehensive JSON diagnostic output with schema validation
...
Implements structured JSON diagnostic output for node state export with full
schema documentation. This feature provides machine-readable diagnostics for
automated analysis, monitoring, and AI/MCP integration.
Key changes:
- Add `zerotier-cli diagnostic` command for JSON node state export
- Add `zerotier-cli dump -j` as alias for JSON output
- Add `zerotier-cli diagnostic --schema` to print JSON schema
- Implement platform-specific interface collection (Linux, BSD, macOS, Windows)
- Create modular diagnostic/ directory with isolated try/catch error handling
- Add comprehensive JSON schema (diagnostic_schema.json) for validation
- Include build-time schema embedding for offline access
- Add Python and Rust scripts for schema embedding during build
- Update build systems to compile new diagnostic modules
The diagnostic output includes:
- Node configuration and identity
- Network memberships and settings
- Interface states and IP addresses
- Peer connections and statistics
- Moon orbits
- Controller networks (if applicable)
All diagnostic collection is wrapped in try/catch blocks to ensure partial
failures don't prevent overall output generation.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 12:40:06 -07:00
Tim Smith
448df73a35
Fix minor spelling errors in docs
...
Nothing too fancy here. Just some spellchecking.
Signed-off-by: Tim Smith <tsmith84@gmail.com>
2024-03-22 20:43:46 -07:00
Brenton Bostick
1e2ff042b4
fix typos in docs, comments, and strings
2022-12-07 10:17:53 -05:00
Adam Ierymenko
d7b4f24a7a
.
2017-06-01 17:21:57 -07:00
Adam Ierymenko
d09d193715
release notes, and delete MANUAL from this repo for now since it isn't quite done and will take shape on the web site
2017-03-13 09:37:24 -07:00
Adam Ierymenko
dd92f1d03d
.
2017-02-23 17:56:36 -08:00
Adam Ierymenko
43182f8f57
Docs, code cleanup, and protect the extra new fields of HELLO with encryption as a precaution.
2017-02-05 16:19:03 -08:00
Adam Ierymenko
5eab6c2e5d
More docs.
2017-02-04 19:19:30 -08:00
Adam Ierymenko
31db768e4d
A bit of code cleanup.
2017-02-04 00:23:31 -08:00
Adam Ierymenko
8a2ff0b31e
Actual documentation.
2017-02-03 19:47:00 -08:00
Adam Ierymenko
be2881ae8d
.
2017-02-02 16:53:27 -08:00
Adam Ierymenko
5bff70194b
Ship pre-build man pages. We stopped doing this for a bit due to nit-picky Debian craziness but since we are not targeting core Debian at the moment bring it back.
2016-12-23 14:30:27 -08:00
Joseph Henry
af53e63ae2
Kube tut update
2016-08-22 11:33:10 -07:00
Joseph Henry
727fb197d8
kube tutorial update
2016-08-18 15:32:26 -07:00
Joseph Henry
c2f10a52de
zt-kubernetes tutorial update
2016-08-18 15:16:24 -07:00
Joseph Henry
cf2ec0797e
zt-kubernetes tutorial update
2016-08-18 15:15:38 -07:00
Joseph Henry
44bee4e3ff
zt-kubernetes tutorial update
2016-08-18 15:13:43 -07:00
Joseph Henry
3e261fb999
updated entrypoint
2016-08-17 18:33:49 -07:00
Joseph Henry
0fd3afe2c8
examples files for kube int
2016-08-17 18:03:34 -07:00
Joseph Henry
9dc507c9ae
examples files for kube int
2016-08-17 17:52:19 -07:00
Joseph Henry
169664ffc2
examples files for kube int
2016-08-17 17:43:34 -07:00
Joseph Henry
183434d30e
examples files for kube int
2016-08-17 17:29:14 -07:00
Joseph Henry
c84ce76c59
examples files for kube int
2016-08-17 17:22:05 -07:00
Joseph Henry
1833c61556
kubernetes tutorial update
2016-08-17 15:35:00 -07:00
Joseph Henry
ba78676ace
kubernetes tutorial update
2016-08-17 15:28:48 -07:00
Joseph Henry
0d37b7b665
zt-kubernetes tutorial outline
2016-08-17 15:12:48 -07:00
Adam Ierymenko
928c625e2c
docs
2016-06-29 09:45:02 -07:00
Adam Ierymenko
809457599a
CentOS7 fixes.
2016-06-27 15:21:24 -07:00
Adam Ierymenko
f41ea24e97
Build fixes.
2016-06-16 00:11:46 +00:00
Adam Ierymenko
196d96cfa7
Fix ronn convert problem in man page.
2016-06-08 14:08:56 -07:00
Adam Ierymenko
4e6f95e152
Build man pages with ruby-ronn on Debian.
2016-06-08 14:06:19 -07:00
Adam Ierymenko
ae87fbf8e3
make install installs man pages
2016-06-08 10:19:46 -07:00
Adam Ierymenko
2e890580fc
Stop shipping pre-build man pages since it violates Debian arcane rule #134931e+26 and add manpages build target.
2016-06-08 10:13:31 -07:00
Adam Ierymenko
4d13ddd48c
GPG public key for signing GitHub releases, etc.
2016-06-02 15:04:56 -07:00
Adam Ierymenko
cc89290eb6
last man page!
2016-06-02 14:50:38 -07:00
Adam Ierymenko
6671d5553b
More man pages.
2016-06-02 13:56:24 -07:00
Adam Ierymenko
41b3b54bf8
man stuff
2016-06-02 13:04:46 -07:00
Adam Ierymenko
096db53822
Switch manual pages to "ronn," a program that converts MarkDown to roff man pages, and pre-build them. Also have the zerotier-cli(1) man page ready to go!
2016-06-02 12:33:28 -07:00
Ben Finney
92702615a7
Add an overall “doc” build target.
2016-03-04 17:01:14 +11:00
Ben Finney
cafc46a8e9
Add Makefile module for building documentation.
2016-03-04 16:06:17 +11:00
Ben Finney
24e286b5ec
Add a stub for an encoding declaration on a man page.
2016-03-04 16:04:57 +11:00
Ben Finney
c63de27633
Add references to other tools for ‘zerotier-one’.
2016-03-04 15:41:06 +11:00
Ben Finney
a84a256df4
Add incomplete man pages for ‘zerotier-idtool’ and ‘zerotier-cli’.
2016-03-04 15:40:08 +11:00
Ben Finney
88dfa860f4
Document how the home directory is used, and its default value.
2016-03-04 15:08:17 +11:00
Ben Finney
83bc5d95aa
Document remaining options explicitly.
2016-03-04 14:57:10 +11:00
Ben Finney
09c61d5cb1
More explicit specification of how to use ‘-i’ and ‘-q’.
2016-03-04 14:53:50 +11:00
Ben Finney
71c84aee60
Add “see also” section referring to ZeroTier documentation online.
2016-03-04 11:36:19 +11:00
Ben Finney
cee09b0d2e
Refine description of ZeroTier One.
2016-03-04 11:36:04 +11:00
Ben Finney
fdb8ea93ef
Add a reStructuredText document for a ‘zerotier-one(8)’ man page.
2016-03-04 11:35:16 +11:00