public interface ThresholdingService
Modifier and Type | Method and Description |
---|---|
ThresholdingSession |
createSession(int nodeId,
String hostAddress,
String serviceName,
RrdRepository rrdRepository,
ServiceParameters serviceParameters)
Creates a session to perform Thresholding against.
|
ThresholdingSetPersister |
getThresholdingSetPersister() |
ThresholdingSession createSession(int nodeId, String hostAddress, String serviceName, RrdRepository rrdRepository, ServiceParameters serviceParameters) throws ThresholdInitializationException
nodeId
- The Node Id.hostAddress
- The Host IP Address.serviceName
- The Service name.rrdRepository
- Must not be null. Will be used to resolve Resource Filters and for genertaing Event labels.serviceParameters
- Must not be null. Required by some existing CollectionResource
objects to evaluate whether to apply thresholds when accepting a CollectionSet
.
If your CollectionResource
does not require this, pass an empty ServiceParameters
object.ThresholdingSession
ThresholdInitializationException
- if there is an error creating the ThresholdingSession
because of invalid Thresholding Configuration.ThresholdingSetPersister getThresholdingSetPersister()
Copyright © 2021. All rights reserved.