Skip to content

Fred

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

Overview

The Fred plugin is a developer tool that provides various debugging and analysis functions directly within the OTOBO interface. It aids in troubleshooting and code quality checks by integrating modules such as:

  • 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: Dumps the content of the server session.
  • EnvDump: Shows environment information of the layout object.

Installation

  1. Admin Interface

    • Log in as an administrator and navigate to Administration → Package Manager.
    • Search for Fred and click Install.
  2. Command Line

    • Download the OPM package (e.g., Fred-11.0.1.opm).
    • Execute:
bash
bin/opm.pl -a install -p /path/to/Fred-11.0.1.opm

Configuration (SysConfig)

Fred currently offers a central option for sorting the Config Log:

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

Other modules are directly accessible via the Fred menu in the Agent and Customer interfaces and do not require additional SysConfig settings.

Usage Example

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

Support & Further Information