diagnostics.adoc 1018 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. = Diagnostics
  2. OliveTin provides a built-in diagnostics page that can be used to help check how OliveTin is running and help to troubleshoot issues. It's mainly designed for checking SSH configuration at the moment.
  3. This is a screenshot of the diagnostics page, which can be accessed by clicking the "Diagnostics" link in the navigation bar:
  4. image::diagnostics.png[]
  5. == Disabling Diagnostics
  6. The diagnostics page is enabled by default, but you can disable it by using the OliveTin xref::security/acl.adoc#_acls_and_policies_global[security policy configuration], using the defaults, or via an ACL. Examples are shown below for each of these methods.
  7. === Disable Diagnostics for all users;
  8. [source, yaml]
  9. ----
  10. logLevel: info
  11. defaultPolicy:
  12. showDiagnostics: false
  13. ----
  14. === Disable Diagnostics expect for admin users
  15. [source, yaml]
  16. ----
  17. logLevel: info
  18. defaultPolicy:
  19. showDiagnostics: false
  20. accessControlLists:
  21. - name: admin
  22. matchUsernames:
  23. - alice
  24. - bob
  25. policy:
  26. showDiagnostics: true
  27. ----