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:
		
							parent
							
								
									0dab6de02d
								
							
						
					
					
						commit
						50bbfafcb9
					
				
					 6 changed files with 34 additions and 6 deletions
				
			
		|  | @ -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 | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| ## General server statistics related | ||||
							
								
								
									
										
											BIN
										
									
								
								docs/docs/meshcentral/images/determine-id.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/docs/meshcentral/images/determine-id.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 19 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/docs/meshcentral/images/user_tokens1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/docs/meshcentral/images/user_tokens1.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 203 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/docs/meshcentral/images/user_tokens2.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/docs/meshcentral/images/user_tokens2.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 166 KiB | 
							
								
								
									
										15
									
								
								docs/docs/meshcentral/tokens.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								docs/docs/meshcentral/tokens.md
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| # 14.1 Tokens | ||||
| 
 | ||||
| ## User Tokens | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| ## 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 | ||||
| ``` | ||||
|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue