OTRS-hacking: log all sql queries for use in external reports
OTRS is a great ticket-tracking/helpdesk software. It even has cool statistics built in, but sometimes the PHB goes crazy and asks for impossibily detailed statistics.
For those situations when the stats module cannot help us there a couple of (Open Source) tricks up our sleeve:
For those situations when the stats module cannot help us there a couple of (Open Source) tricks up our sleeve:
- install the Eclipse Birt web reporting application (we will need java and tomcat for that)
- create a custom report using the report designer
- deploy the report on the server and send the link to the boss
# 0=off; 1=updates; 2=+selects; 3=+Connects; # $Self->{Debug} = $Param{Debug} || 0; # leave the original around for later $Self->{Debug} = 2;