public class NrtController extends Object
| Modifier and Type | Class and Description | 
|---|---|
protected static class  | 
NrtController.MetricTuple  | 
| Constructor and Description | 
|---|
NrtController()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getMeasurementSetsForDestination(String nrtCollectionTaskId)
Will be called by the JS-Graphing-Frontend as http/GET Get Measurements from NrtBroker, transform them into Json and return
 them to the JS-Graphing-Frontend 
 | 
protected Map<String,List<NrtController.MetricTuple>> | 
getMetricIdsByProtocol(Map<String,String> rrdGraphAttributesMetaData)
Provides a Map that provides Lists of MetricIds by protocols. 
 | 
NrtBroker | 
getNrtBroker()  | 
Map<String,String> | 
getRequiredExternalPropertyAttributes(OnmsResource reportResource,
                                     PrefabGraph prefabGraph)  | 
Set<RrdGraphAttribute> | 
getRequiredRrdGraphAttributes(OnmsResource reportResource,
                             PrefabGraph prefabGraph)  | 
Map<String,String> | 
getRequiredStringPropertyAttributes(OnmsResource reportResource,
                                   PrefabGraph prefabGraph)  | 
void | 
nrtCollectionJobTrigger(String nrtCollectionTaskId,
                       javax.servlet.http.HttpSession httpSession)
Will be called by the JS-Graphing-Frontend as http/GET Publishes the CollectionJob corresponding to the
 nrtCollectionTaskId. 
 | 
ModelAndView | 
nrtStart(String resourceId,
        String report,
        javax.servlet.http.HttpSession httpSession)  | 
void | 
setGraphDao(GraphDao graphDao)  | 
void | 
setNodeDao(NodeDao nodeDao)  | 
void | 
setNrtBroker(NrtBroker nrtBroker)  | 
void | 
setResourceDao(ResourceDao resourceDao)  | 
void | 
setSnmpAgentConfigFactory(SnmpAgentConfigFactory snmpAgentConfigFactory)  | 
public ModelAndView nrtStart(String resourceId, String report, javax.servlet.http.HttpSession httpSession)
public void nrtCollectionJobTrigger(String nrtCollectionTaskId, javax.servlet.http.HttpSession httpSession)
nrtCollectionTaskId - httpSession - public String getMeasurementSetsForDestination(String nrtCollectionTaskId)
nrtCollectionTaskId - public Set<RrdGraphAttribute> getRequiredRrdGraphAttributes(OnmsResource reportResource, PrefabGraph prefabGraph)
public Map<String,String> getRequiredExternalPropertyAttributes(OnmsResource reportResource, PrefabGraph prefabGraph)
public Map<String,String> getRequiredStringPropertyAttributes(OnmsResource reportResource, PrefabGraph prefabGraph)
protected Map<String,List<NrtController.MetricTuple>> getMetricIdsByProtocol(Map<String,String> rrdGraphAttributesMetaData)
rrdGraphAttributesMetaData - String-key is the RrdGraphArrtibute the String-value is the MetaDataLinepublic void setNodeDao(NodeDao nodeDao)
public void setGraphDao(GraphDao graphDao)
public void setResourceDao(ResourceDao resourceDao)
public void setSnmpAgentConfigFactory(SnmpAgentConfigFactory snmpAgentConfigFactory)
public NrtBroker getNrtBroker()
public void setNrtBroker(NrtBroker nrtBroker)
Copyright © 2015. All rights reserved.