Jump to: navigation, search

The Subject Algorithm

Stat Server can tally statistics with varying levels of granularity for a given object. To narrow the subject of interest, you use only one of the following to define the Subject statistic option within a stat type definition:

  • AgentStatus
  • PlaceStatus
  • GroupStatus
  • DNAction
  • DNStatus
  • Action
  • CampaignAction

The first part of each compound value indicates the data source where Stat Server tracks information: DN, agent, place, group, or campaign. The second part of the compound value indicates whether Stat Server should consider the actions occurring at the data source or the statuses. For example, a DNAction subject assignment within a stat type definition informs Stat Server that the actions generated for a regular directory number are the source of statistics for all applicable objects. The AgentStatus subject informs Stat Server that the status of agents are the source of statistics for all applicable objects.

If you specify an invalid or unsupported subject given Stat Server’s mode of operation, Stat Server will both:

  • Refuse to open the affected statistic
  • Log an error
Tip
Starting with release 8.1.2, Stat Server automatically changes subject of the {Place, AgentStatus} and {Agent, PlaceStatus} admissible combinations and validates statistics.

Table below maps the objects to which each statistical subject applies. This mapping also indirectly reveals the groups of objects which are compatible. The checkbox at the end of each subject description indicates whether that subject applies to Stat Server applications running in restricted cluster mode.

Statistical Subjects and the Objects to Which They Apply

Subject Applicable to the

Following Objects

Description Applicable to Stat Server

Applications Running
in Restricted Cluster Mode

AgentStatus Agent

Tenant
GroupAgents

Indicates Stat Server should consider only the status occurring at agent data sources.
CampaignAction CampaignGroup

CallingList
CampaignCallingList

Indicates Stat Server should consider only the actions occurring at campaign data sources.
DNAction (alias Action) RegDN

Agent
Place
Queue
Tenant
RoutePoint
GroupAgents
GroupPlaces
GroupQueues

Indicates Stat Server should consider only the actions occurring at regular directory number data sources.
DNStatus RegDN

Agent
Place
Tenant
GroupAgents
GroupPlaces

Indicates Stat Server should consider only the status occurring at regular directory number data sources.
GroupStatus GroupAgents

GroupPlaces
Tenant

Indicates Stat Server should consider only the status occurring at place group or agent group data sources.
PlaceStatus Place

Tenant
GroupPlaces

Indicates Stat Server should consider only the status occurring at place data sources.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on December 10, 2015, at 21:42.