org.opennms.netmgt.collectd
Class OnmsSnmpCollection
java.lang.Object
org.opennms.netmgt.collectd.OnmsSnmpCollection
public class OnmsSnmpCollection
- extends java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OnmsSnmpCollection
public OnmsSnmpCollection(CollectionAgent agent,
ServiceParameters params)
OnmsSnmpCollection
public OnmsSnmpCollection(CollectionAgent agent,
ServiceParameters params,
org.opennms.netmgt.config.DataCollectionConfig config)
getName
public java.lang.String getName()
getSnmpPort
public int getSnmpPort()
log
public org.apache.log4j.Category log()
getDataCollectionConfig
public org.opennms.netmgt.config.DataCollectionConfig getDataCollectionConfig()
setDataCollectionConfig
public void setDataCollectionConfig(org.opennms.netmgt.config.DataCollectionConfig config)
getStorageFlag
public java.lang.String getStorageFlag()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
createCollectionSet
public CollectionSet createCollectionSet(CollectionAgent agent)
getAttributeTypes
public java.util.Collection<AttributeType> getAttributeTypes(CollectionAgent agent,
int ifType)
getResourceType
public ResourceType getResourceType(CollectionAgent agent,
java.lang.String instanceName)
getNodeResourceType
public NodeResourceType getNodeResourceType(CollectionAgent agent)
getIfResourceType
public IfResourceType getIfResourceType(CollectionAgent agent)
getIfAliasResourceType
public IfAliasResourceType getIfAliasResourceType(CollectionAgent agent)
getAttributeTypes
public java.util.Collection<AttributeType> getAttributeTypes(CollectionAgent agent)
getResources
public java.util.Collection<? extends CollectionResource> getResources(CollectionAgent agent)
Copyright © 2007. All Rights Reserved.