Skip to content

Fred

Compatibility OTOBO ≥ 11.0.x, Znuny ≥ 7.0.x

The Fred plugin is a developer tool that provides various debug and analysis functions directly within the OTOBO interface. It assists with troubleshooting and code quality checks by integrating the following modules, among others:

  • HTMLCheck: Checks generated HTML code for best practices and potential errors.
  • JSLint: Analyzes JavaScript code for errors and style issues.
  • STDERRLog: Displays output from STDERR in the web interface.
  • TranslationDebug: Logs failed translation attempts.
  • SQLLog: Lists all SQL statements executed during the request.
  • ConfigLog: Counts and displays ConfigGet queries.
  • SessionDump: Outputs the content of the server session.
  • EnvDump: Displays environment information of the Layout object.
  1. Admin Interface
  • Log in as an admin and open System Administration → Package Manager.
  • Search for Fred and click Install.
  1. Command Line
  • Download the OPM package (e.g., Fred-11.0.1.opm).
  • Execute:
Terminal window
bin/opm.pl -a install -p /path/to/Fred-11.0.1.opm

Fred currently provides a central option for sorting the ConfigLog:

  • Fred::ConfigLog###OrderBy Defines the sort order in the ConfigLog module. Possible values: Time, Key, Count.

Other modules are accessible directly via the Fred menu in the Agent and Customer interface and do not require any further SysConfig settings.

  1. Open any ticket or page module in the Agent interface.
  2. Click on the Fred icon in the header.
  3. Select the desired module (e.g., SQLLog) to view the corresponding data.