1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Docs - fixing debugging, adding token notes

This commit is contained in:
silversword411 2022-05-12 02:05:52 -04:00
parent 0dab6de02d
commit 50bbfafcb9
No known key found for this signature in database
GPG key ID: 6F4BD176F56B50CA
6 changed files with 34 additions and 6 deletions

View file

@ -1,4 +1,10 @@
Youtube video about websockets: https://youtu.be/3vI4URd3VzU
## Websockets Video
<div class="video-wrapper">
<iframe width="320" height="180" src="https://www.youtube.com/embed/3vI4URd3VzU" frameborder="0" allowfullscreen></iframe>
</div>
## 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
<https://serverurl/meshagents>
<https://serverurl/meshagents> aka trying figure out what this is
![ID](images/determine-id.png)
## General server statistics related

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

View file

@ -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
```