Error When Generating Statistics

Moderator: crythias

Post Reply
roderickal96
OTRS newbie
Posts: 17
Joined: 25 Jun 2020, 17:59
OTRS Version?: 6.0.28
Real Name: Alexis

Error When Generating Statistics

Post by roderickal96 »

Hi, I'm breaking this into it's own post. I recently figured out how to access my Stats tab in OTRS thanks to some users here. I'm a newbie, forgive me.
Now, the issue is when I try to run any of the pre-made stats in OTRS, I get this error

"Backend ERROR: OTRS-CGI-10 Perl: 5.26.1 OS: linux Time: Wed Jul 1 15:26:21 2020

Message: Could not load stat.

RemoteAddress: MY IP Address
RequestURI: /otrs/index.pl?Action=AgentStatistics;Subaction=View;StatID=1

Traceback (40823):
Module: Kernel::Output::HTML::Layout::Error Line: 1030
Module: Kernel::Output::HTML::Layout::ErrorScreen Line: 1011
Module: Kernel::Modules::AgentStatistics::ViewScreen Line: 731
Module: Kernel::Modules::AgentStatistics::Run Line: 77
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1135
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32"

How can i fix this? Really need this to work.

roderickal96
OTRS newbie
Posts: 17
Joined: 25 Jun 2020, 17:59
OTRS Version?: 6.0.28
Real Name: Alexis

Re: Error When Generating Statistics

Post by roderickal96 »

Nevermind, I figured it out

root
Administrator
Posts: 2567
Joined: 18 Dec 2007, 12:23
OTRS Version?: Znuny LTS and 4/5/6
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Error When Generating Statistics

Post by root »

roderickal96 wrote:
02 Jul 2020, 16:53
Nevermind, I figured it out
How did you solvedd it?

- Roy
Znuny LTS and ((OTRS) Community Edition CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know why ?

roderickal96
OTRS newbie
Posts: 17
Joined: 25 Jun 2020, 17:59
OTRS Version?: 6.0.28
Real Name: Alexis

Re: Error When Generating Statistics

Post by roderickal96 »

root wrote:
02 Jul 2020, 18:59
roderickal96 wrote:
02 Jul 2020, 16:53
Nevermind, I figured it out
How did you solvedd it?

- Roy
I'd like to preface this by saying I am new when it comes to actually configuring OTRS and linux in general...

I didn't have the stats configured properly. I was using the pre-set ones and didn't notice they weren't configured to actually query for anything

EduardoBido
OTRS newbie
Posts: 9
Joined: 21 Dec 2020, 13:06
OTRS Version?: Six
Real Name: Eduardo Bido

Re: Error When Generating Statistics

Post by EduardoBido »

Hey man, another newbie here. Can you explain to me how you activate your Stats? I can't figure out :(.

root
Administrator
Posts: 2567
Joined: 18 Dec 2007, 12:23
OTRS Version?: Znuny LTS and 4/5/6
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Error When Generating Statistics

Post by root »

EduardoBido wrote:
05 Jan 2021, 21:33
Hey man, another newbie here. Can you explain to me how you activate your Stats? I can't figure out :(.
Hi,

Go to your server with this URL: FQDN/otrs/index.pl?Action=AgentStatistics;Subaction=Overview
Replace FQDN with your hostname. Permission denied tells you that you are not a member of the group stats (default name).

- Roy
Znuny LTS and ((OTRS) Community Edition CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know why ?

Post Reply