" /> Stat Server definition - Average Number of Agents - Genesys CTI User Forum

Author Topic: Stat Server definition - Average Number of Agents  (Read 3394 times)

Kevin

  • Guest
Stat Server definition - Average Number of Agents
« on: May 30, 2007, 04:21:35 PM »
Advertisement
I'm working on converting some statistics from our PBX reports into Genesys reports. One of the stats is "Average Number of Agents". I have found this definition to be:
"The average number of agents logged into a group for a specified time period."

Though I took Sadistics  - ahem, Statistics - in college, it has never been my strong suit. Is someone able to provide some assistance?

tony

  • Guest
Re: Stat Server definition - Average Number of Agents
« Reply #1 on: May 30, 2007, 04:42:26 PM »
  • Best Answer
  • One way:

    Get a Brio/Hyperion report based on the Agents, compared to Agent Groups, to show the [i]time [/i] logged in for your Agents, then count the results where it is "not = 0" for the time period you require, then average those results over whatever time period you need.

    Another way:

    If you enable the LOGIN Table for your StatServer, it will record every login and logout with an AgentID and a timestamp (allbeit the UNIX epoch).  You should be able to get what you want from that.  Details are located with the install documents for the StatServer.  This would not record the Agent Group so you would need to apply a query to look up Agent Groups through the AgentID.


    Tony
    « Last Edit: May 30, 2007, 04:58:52 PM by Tony Tillyer »

    Offline cavagnaro

    • Administrator
    • Hero Member
    • *****
    • Posts: 7641
    • Karma: 56330
    Re: Stat Server definition - Average Number of Agents
    « Reply #2 on: May 30, 2007, 08:21:42 PM »
  • Best Answer
  • Hi,

    I modified the sql script so it add a readable field with the Time field which is Unix Time Stamp to be human readable. This is for a SQL Server just in case, but for other DB's will be very similar.

    The 18000 means GMT - 5 (18000/5 = 3600 seconds) So you must modify it to adjust to your Time Zone

    I hope this helps on something :)

    CREATE TABLE [dbo].[LOGIN] (
    [SWITCHDBID] [int] NOT NULL ,
    [DNDBID] [int] NOT NULL ,
    [QUEUEDBID] [int] NOT NULL ,
    [AGENTDBID] [int] NOT NULL ,
    [PLACEDBID] [int] NOT NULL ,
    [STATUS] [int] NOT NULL ,
    [TIME] [int] NOT NULL ,
    [LOGINID] [char] (255) NULL ,
    [TIME_HUMAN] AS (dateadd(second,([TIME] - 18000),'19700101'))
    ) ON [PRIMARY]