In UCCE 7.0. I need to run a report on license usage that tells me what the max usage was for the day. Does anyone know of anything
I have 100 user license and I need to make sure we are not going over the license limit. I know their is a real time tool, but It relies on you having to check all the time, and how do you know what the peak was
The easiest way, and the preferred way, is to make sure Agent Level reporting is turned on. In the Peripheral Explorer, on the CUCM PIM, in the Agent Distribution tab, ensure "Enable agent reporting" is checked. That's the default, so you are probably good.
Now open SQL query analyzer, point it at your AW or HDS and query the Agent_Half_Hour table making the following calculation (assumes you are only interested in the Cisco_Voice Media Routing Domain).
Set the start date appropriately.
declare @start datetime
declare @end datetime
set @start = '2009/10/19 0:00'
set @end = DATEADD(dd, 1, @start)
SELECT AHHAdjustedCount = MAX(AHHCount.AdjustedLoggedOn)
FROM (SELECT DateTime,
AgentsLoggedOn = Count(*),
AdjustedLoggedOn = Ceiling(SUM(LoggedOnTimeToHalf)/1800.0)
FROM Agent_Half_Hour AS AHH
WHERE DateTime >= @start
AND DateTime < @end
AND AHH.MRDomainID = 1
GROUP BY DateTime) AHHCount