|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.collectd.OnmsSnmpCollection
public class OnmsSnmpCollection
Represents SNMP collection data for a single collection period.
It is particularly used to create a CollectionSet for a specific
remote agent with createCollectionSet(org.opennms.netmgt.collectd.CollectionAgent) and to provide
data to CollectionSet and other classes that are created during
collection.
| Constructor Summary | |
|---|---|
OnmsSnmpCollection(CollectionAgent agent,
ServiceParameters params)
Constructor for OnmsSnmpCollection. |
|
OnmsSnmpCollection(CollectionAgent agent,
ServiceParameters params,
DataCollectionConfig config)
Constructor for OnmsSnmpCollection. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OnmsSnmpCollection(CollectionAgent agent,
ServiceParameters params)
Constructor for OnmsSnmpCollection.
agent - a CollectionAgent object.params - a ServiceParameters object.
public OnmsSnmpCollection(CollectionAgent agent,
ServiceParameters params,
DataCollectionConfig config)
Constructor for OnmsSnmpCollection.
agent - a CollectionAgent object.params - a ServiceParameters object.config - a DataCollectionConfig object.| Method Detail |
|---|
public ServiceParameters getServiceParameters()
getServiceParameters
ServiceParameters object.public String getName()
getName
String object.public int getSnmpPort(int current)
getSnmpPort
current - a int.
public int getSnmpRetries(int current)
getSnmpRetries
current - a int.
public int getSnmpTimeout(int current)
getSnmpTimeout
current - a int.
public String getSnmpReadCommunity(String current)
getSnmpReadCommunity
current - a String object.
String object.public String getSnmpWriteCommunity(String current)
getSnmpWriteCommunity
current - a String object.
String object.public InetAddress getSnmpProxyFor(InetAddress current)
getSnmpProxyFor
current - a InetAddress object.
InetAddress object.public int getSnmpVersion(int current)
getSnmpVersion
current - a int.
public int getSnmpMaxVarsPerPdu(int current)
getSnmpMaxVarsPerPdu
current - a int.
public int getSnmpMaxRepetitions(int current)
getSnmpMaxRepetitions
current - a int.
public int getSnmpMaxRequestSize(int current)
getSnmpMaxRequestSize
current - a int.
public String getSnmpSecurityName(String current)
getSnmpSecurityName
current - a String object.
String object.public String getSnmpAuthPassPhrase(String current)
getSnmpAuthPassPhrase
current - a String object.
String object.public String getSnmpAuthProtocol(String current)
getSnmpAuthProtocol
current - a String object.
String object.public String getSnmpPrivPassPhrase(String current)
getSnmpPrivPassPhrase
current - a String object.
String object.public String getSnmpPrivProtocol(String current)
getSnmpPrivProtocol
current - a String object.
String object.public ThreadCategory log()
log
ThreadCategory object.public void setDataCollectionConfig(DataCollectionConfig config)
setDataCollectionConfig
config - a DataCollectionConfig object.public String getStorageFlag()
getStorageFlag
String object.public String toString()
toString
toString in class ObjectString object.public SnmpCollectionSet createCollectionSet(CollectionAgent agent)
createCollectionSet
agent - a CollectionAgent object.
SnmpCollectionSet object.
public List<SnmpAttributeType> getIndexedAttributeTypesForResourceType(CollectionAgent agent,
ResourceType resourceType)
getIndexedAttributeTypesForResourceType
agent - a CollectionAgent object.resourceType - a ResourceType object.
List object.public List<SnmpAttributeType> getNodeAttributeTypes(CollectionAgent agent)
getNodeAttributeTypes
agent - a CollectionAgent object.
List object.
public List<SnmpAttributeType> loadAttributeTypes(CollectionAgent agent,
int ifType)
loadAttributeTypes
agent - a CollectionAgent object.ifType - a int.
List object.
public ResourceType getResourceType(CollectionAgent agent,
String instanceName)
getResourceType
agent - a CollectionAgent object.instanceName - a String object.
ResourceType object.public NodeResourceType getNodeResourceType(CollectionAgent agent)
getNodeResourceType
agent - a CollectionAgent object.
NodeResourceType object.public IfResourceType getIfResourceType(CollectionAgent agent)
getIfResourceType
agent - a CollectionAgent object.
IfResourceType object.public IfAliasResourceType getIfAliasResourceType(CollectionAgent agent)
getIfAliasResourceType
agent - a CollectionAgent object.
IfAliasResourceType object.public Collection<ResourceType> getGenericIndexResourceTypes(CollectionAgent agent)
getGenericIndexResourceTypes
agent - a CollectionAgent object.
Collection object.public Collection<SnmpAttributeType> getAttributeTypes(CollectionAgent agent)
getAttributeTypes
agent - a CollectionAgent object.
Collection object.public Collection<? extends CollectionResource> getResources(CollectionAgent agent)
getResources
agent - a CollectionAgent object.
Collection object.public List<SnmpAttributeType> loadAliasAttributeTypes(CollectionAgent agent)
loadAliasAttributeTypes
agent - a CollectionAgent object.
List object.public List<SnmpAttributeType> getAliasAttributeTypes(CollectionAgent agent)
getAliasAttributeTypes
agent - a CollectionAgent object.
List object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||