how to install a new statistic report?

Hello, can anybody guide me how to install a new statistic? I have a working SQL statement but fail to install configuration and modules. Due to item 7.9 from the developers manual I added this to Config.pm: $Self->{SystemStatsMap}->{"Ticket::XStat"} = { Name => 'XStat', Module => 'Kernel::System::Stats::Static::XStat', Desc => 'Axels Test.', SumCol => 1, SumRow => 1, UseResultCache => 0, Output => ['Print', 'CSV', 'Graph'], OutputDefault => 'Print', }; This seems to be active because deliberate syntax errors will result in a error messages from httpd. I wondered whether there is any convention for the key naming "Ticket:XStat". Some posts in the mailing list used something like "OTRS:MyTicket". Then I used the sample statistics module from the developer manual with a modified package name, installed that file under Kernel/System/Stats/Static/XStat.pm package Kernel::System::Stats::Static::XStat sub new { ... } sub Param { ... } sub Run { ... } perl -cw XStat.pm OK I cannot see any effect in the Web app. The log files apache2/log/error.log or otrs/var/log/otrs.log also don't show any indication of problems. What could have gone wrong? Thanks for your time, Axel.

Problem solved. I was kind of misled by the documentation ... Regards, Axel.
participants (1)
-
Axel Rose