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
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 |
---|---|---|---|
AgentStatus | Agent Tenant |
Indicates Stat Server should consider only the status occurring at agent data sources. | ✓ |
CampaignAction | CampaignGroup CallingList |
Indicates Stat Server should consider only the actions occurring at campaign data sources. | |
DNAction (alias Action) | RegDN Agent |
Indicates Stat Server should consider only the actions occurring at regular directory number data sources. | ✓ |
DNStatus | RegDN Agent |
Indicates Stat Server should consider only the status occurring at regular directory number data sources. | ✓ |
GroupStatus | GroupAgents GroupPlaces |
Indicates Stat Server should consider only the status occurring at place group or agent group data sources. | ✓ |
PlaceStatus | Place Tenant |
Indicates Stat Server should consider only the status occurring at place data sources. |