Create a new SLA for a container, device or test.
sla.create slaName=name, slaType=<container|device|tests>,
calculationPeriod=<day|week|month>,
containerName=<container> | deviceName=<device> | testIDs=<tid1;tid2;tid3>,
threshhold=<percent>
[, startTime=YYYYMMDD[hhmm] ]
[, minGranularity=<minute|hour|day|week> ]
[, comment=<string> ]
[, scheduleName=<schedule name> ]
[, permitPast=<true|false> ]
The minGranularity
parameter is used to limit the drill down into statistics from the front end to the specified level. If you want Traverse to calculate the SLA for historical data, you can specify a startTime
in the past, and set the permitPast=true
.
For example, assume a container called Email Container has already been created using the web interface. To create an SLA calculated monthly for a schedule from 9 to 5, Monday through Friday:
sla.create "slaName=email Service SLA", "slaType=container",
"calculationPeriod=month", "containerName=Email Container",
"startTime=201105150000", "threshold=98.99", "comment=SLA for Exchange
Service", "scheduleName=Business Hours"