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 in the OTOBO interface. It helps 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 from the layout object.

Installation

  1. Admin Interface
  • Log in as an admin and open System Administration → Package Management.
  • Search for Fred and click Install.
  1. 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 provides one 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 any further SysConfig settings.

Usage Example

  1. Open any ticket or page module 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