" /> Stat Server data consumption - Genesys CTI User Forum

Author Topic: Stat Server data consumption  (Read 1675 times)

Offline mvacs

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Stat Server data consumption
« on: October 05, 2017, 04:27:02 PM »
Advertisement
Hey all,

I am new here so if this needs to get moved over to the development page I apologize in advance.

I am developing a service that will consume Stat data from the stat server. The documentation provided by Genesys is fine, but it shows me only being able to directly "query" one object at a time. So I figured I would ask here and see:

Is there a way to pull all defined objects on the Stat Server without having to individually define them on my side?

Thanks!

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Stat Server data consumption
« Reply #1 on: October 05, 2017, 04:41:49 PM »
Short answer: No.
Depending on the data you need, you may group objects (e.g. DN Group, Agent Group) and get the stat data for the group (which may or may not be the same data for the individual objects depending on the stat)

Offline mvacs

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Stat Server data consumption
« Reply #2 on: October 05, 2017, 04:55:30 PM »
That is what I was afraid of.

Question part 2 (I haven't gotten this far in the documentation) Is there a way to query what has been defined in the configuration? i.e. Agents etc...

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Stat Server data consumption
« Reply #3 on: October 05, 2017, 05:37:08 PM »
By configserver PSDK maybe but you always need to know what you will query.

Enviado de meu E6633 usando Tapatalk


Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Stat Server data consumption
« Reply #4 on: October 05, 2017, 06:02:47 PM »
Complementing what cavagnaro already said, you can use PSDK to query for all objects of any type (e.g. CfgPersonQuery) on Config Server. There are plenty of examples around the forum (for example, I recall this one: http://www.sggu.com/smf/index.php/topic,9642.msg43669.html#msg43669 )

Offline mvacs

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Stat Server data consumption
« Reply #5 on: October 05, 2017, 06:12:11 PM »
Perfect! Thank you all!!!