Product Documentation

GetConnectionFailureTrend

Jul 03, 2014

Gets the connection failure trend for the specified time period. Each data point in the trend represents the total number of connection failures in the last interval (intervalLength parameter).

Parameter Name Type Comments
startDate DateTime Start of the time window to be queried for the connection failure trend. Must be UTC.
endDate DateTime End of the time window to be queried for the connection failure trend. Must be UTC.
intervalLength int Interval between data points in minutes for the trend.
desktopGroupsFilter string Comma-separated list of Delivery Group uids to limit the trend result to.
connectionFailureTypeFilter string Comma-separated list of connection failure type ints to limit the trend result to. This integer corresponds to ConnectionFailureType enum.
sessionSupportFilter string Comma- separated list of machine type ints (Single=1, Multiple=2, Unknown=0) to limit the trend result to. No value returns both types.

Returns

An IQueryable of TrendItem objects

Property Name Type Comments
FailureTrend List<TrendItem> TrendItem contains a UTC Date (DateTime) and a Count(int) of failures to indicate the trend of connection failures over the specified time period for the filters specified.

Examples

Gets a 24-hour trend (data point every 15 minutes) for all types of connection failures for the two Delivery Groups specified with Desktop OS Machine types.

 
http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetConnectionFailureTrend?startdate=datetime'2011-09-30T00:00:00'&enddate=datetime'2011-10-

Gets a week-long trend (data point every 4 hours) for 3 types of connection failures (aggregated) for all Delivery Groups the user has access to.

http://{dc-host}/Citrix/Monitor/OData/v1/Methods/GetConnectionFailureTrend?startdate=datetime'2011-09-23T00:00:00'&enddate=datetime'2011-10-01T00:00:00'intervalLength=240&connectionFailureTypeFilter='2,3,4'