Possibility to know how long an agent has been logged in

Moderator: crythias

Post Reply
IXLabs
Znuny newbie
Posts: 43
Joined: 26 Mar 2013, 16:32
Znuny Version: 3.2.2
Real Name: Nicolas Unterberger
Company: IXLabs

Possibility to know how long an agent has been logged in

Post by IXLabs »

Hi.

I was wondering myself if it is possible to extract the data from somewhere where i could build a report with the times per day / month an agent has been logged in.
With that using the tickets closed per month, we can launch situations about how "effective" is our team.
Maybe using the "who's online" function from OTRS, but i don't now see how.

Using otrs 2.4.10 on linux.

Thanks!
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Possibility to know how long an agent has been logged in

Post by reneeb »

That's no possible. The sessions are deleted when they are expired. And the times are meaningless. I think very often the agents do not log out, but let the session expire... Then you would get a wrong number...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
IXLabs
Znuny newbie
Posts: 43
Joined: 26 Mar 2013, 16:32
Znuny Version: 3.2.2
Real Name: Nicolas Unterberger
Company: IXLabs

Re: Possibility to know how long an agent has been logged in

Post by IXLabs »

Hi reneeb.

Hi i know this statistics are not going to be very reliable but it better than nothing or command the agents to introduce every time the time they spend fixing a ticket. With almost 2000 daily tickets its quite a bit so much.
I was thinking in the sessionid value, it seems it has a data called: UserLogin:bnVudGVyYmVyZ2Vy:
So if i could decrypt this, i could get the name, extract the data and do my magic.

Do you know which kind of salting is housing otrs ?
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Possibility to know how long an agent has been logged in

Post by jojo »

you should update to 3.3.x as the sessions will give you there an UNIX timestamp
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
IXLabs
Znuny newbie
Posts: 43
Joined: 26 Mar 2013, 16:32
Znuny Version: 3.2.2
Real Name: Nicolas Unterberger
Company: IXLabs

Re: Possibility to know how long an agent has been logged in

Post by IXLabs »

jojo wrote:you should update to 3.3.x as the sessions will give you there an UNIX timestamp
mmm, that's interesting. Maybe we can move to the new version, but at the moment is not possible.
But thanks for the info, maybe i can use it as an advantage for upgrade.
Post Reply