diff --git a/docs/docs/meshcentral/debugging.md b/docs/docs/meshcentral/debugging.md index 0c93a338..745da169 100644 --- a/docs/docs/meshcentral/debugging.md +++ b/docs/docs/meshcentral/debugging.md @@ -1,4 +1,10 @@ -Youtube video about websockets: https://youtu.be/3vI4URd3VzU +## Websockets Video + +
+ +
+ +## Enabling trace in your browser Dev Tools `Trace=1` as a parameter in chrome dev tools for debugging @@ -26,7 +32,7 @@ If you want to change node to meshcentral in journalctl, add this to /etc/system SyslogIdentifier=meshcentral ``` -## Logging it all +## Server: Logging it all To log everything that's possible, prepare the log directory. @@ -89,6 +95,8 @@ obj.fs.writeSync(obj.xxLogFile, new Date().toLocaleTimeString() + ' - ' + source `log.txt` will now log everything in the Trace tab, but not formatted as nice. +## Restricting server to specific IP(s) + When doing debugging on my development server, I use this line in the settings section to block all agent connections except the agent I want: ``` @@ -97,9 +105,10 @@ When doing debugging on my development server, I use this line in the settings s Of course, this is just for debugging. - ## Finding system ID types - + aka trying figure out what this is + +![ID](images/determine-id.png) ## General server statistics related \ No newline at end of file diff --git a/docs/docs/meshcentral/images/determine-id.png b/docs/docs/meshcentral/images/determine-id.png new file mode 100644 index 00000000..4e1bf8b7 Binary files /dev/null and b/docs/docs/meshcentral/images/determine-id.png differ diff --git a/docs/docs/meshcentral/images/user_tokens1.png b/docs/docs/meshcentral/images/user_tokens1.png new file mode 100644 index 00000000..a81985f4 Binary files /dev/null and b/docs/docs/meshcentral/images/user_tokens1.png differ diff --git a/docs/docs/meshcentral/images/user_tokens2.png b/docs/docs/meshcentral/images/user_tokens2.png new file mode 100644 index 00000000..bcafaa1c Binary files /dev/null and b/docs/docs/meshcentral/images/user_tokens2.png differ diff --git a/docs/docs/meshcentral/tokens.md b/docs/docs/meshcentral/tokens.md new file mode 100644 index 00000000..c190d674 --- /dev/null +++ b/docs/docs/meshcentral/tokens.md @@ -0,0 +1,15 @@ +# 14.1 Tokens + +## User Tokens + +![User Tokens 1](images/user_tokens1.png) + +![User Tokens 2](images/user_tokens2.png) + +## Software Integration Tokens + +Currently, the login tokens in the user manual section 14.1 can't be tracked, deleted or revoked. They are generated with: + +```bash +node meshcentral --loginTokenKey +``` diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 71457e85..a915431f 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -6,7 +6,10 @@ nav: - install/index.md - MeshCentral: - - meshcentral/index.md + - 'Index': 'meshcentral/index.md' + - 'Tokens': 'meshcentral/tokens.md' + - 'Assistant': 'meshcentral/assistant.md' + - 'Debugging': 'meshcentral/debugging.md' - Design and Architecture: - design/index.md @@ -27,7 +30,7 @@ site_description: "A remote monitoring and management tool" site_author: "Ylianst" site_url: "https://git.meshcentral.com/" -dev_addr: "0.0.0.0:8006" +dev_addr: "0.0.0.0:8010" # Repository repo_name: "Ylianst/MeshCentral" @@ -46,6 +49,7 @@ theme: - navigation.tabs - navigation.expand - navigation.top + - navigation.instant - toc.integrate extra_css: - stylesheets/extra.css