org.opennms.netmgt.collectd
Class DefaultCollectionAgentService
java.lang.Object
org.opennms.netmgt.collectd.DefaultCollectionAgentService
- All Implemented Interfaces:
- CollectionAgentService
public class DefaultCollectionAgentService
- extends Object
- implements CollectionAgentService
Represents a remote SNMP agent on a specific IPv4 interface.
create
public static CollectionAgentService create(Integer ifaceId,
IpInterfaceDao ifaceDao,
org.springframework.transaction.PlatformTransactionManager transMgr)
getHostAddress
public String getHostAddress()
- Specified by:
getHostAddress in interface CollectionAgentService
getNodeId
public int getNodeId()
- Specified by:
getNodeId in interface CollectionAgentService
getIfIndex
public int getIfIndex()
- Specified by:
getIfIndex in interface CollectionAgentService
getSysObjectId
public String getSysObjectId()
- Specified by:
getSysObjectId in interface CollectionAgentService
getCollectionType
public OnmsIpInterface.CollectionType getCollectionType()
- Specified by:
getCollectionType in interface CollectionAgentService
toString
public String toString()
- Overrides:
toString in class Object
getAgentConfig
public SnmpAgentConfig getAgentConfig()
- Specified by:
getAgentConfig in interface CollectionAgentService
getSnmpInterfaceData
public Set<SnmpIfData> getSnmpInterfaceData()
- Specified by:
getSnmpInterfaceData in interface CollectionAgentService
getInetAddress
public InetAddress getInetAddress()
- Specified by:
getInetAddress in interface CollectionAgentService
Copyright © 2009. All Rights Reserved.