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)
getServiceParameters
public ServiceParameters getServiceParameters()
getName
public java.lang.String getName()
getSnmpPort
public int getSnmpPort()
log
public org.apache.log4j.Category log()
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)
getIndexedAttributeTypesForResourceType
public java.util.List<AttributeType> getIndexedAttributeTypesForResourceType(CollectionAgent agent,
ResourceType resourceType)
getNodeAttributeTypes
public java.util.List<AttributeType> getNodeAttributeTypes(CollectionAgent agent)
loadAttributeTypes
public java.util.List<AttributeType> loadAttributeTypes(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)
getGenericIndexResourceTypes
public java.util.Collection<ResourceType> getGenericIndexResourceTypes(CollectionAgent agent)
getAttributeTypes
public java.util.Collection<AttributeType> getAttributeTypes(CollectionAgent agent)
getResources
public java.util.Collection<? extends CollectionResource> getResources(CollectionAgent agent)
loadAliasAttributeTypes
public java.util.List<AttributeType> loadAliasAttributeTypes(CollectionAgent agent)
getAliasAttributeTypes
public java.util.List<AttributeType> getAliasAttributeTypes(CollectionAgent agent)
Copyright © 2007. All Rights Reserved.