public class DefaultSnmpCollectionAgent extends DefaultCollectionAgent implements SnmpCollectionAgent
m_agentService| Modifier | Constructor and Description |
|---|---|
protected |
DefaultSnmpCollectionAgent(SnmpCollectionAgentService agentService,
String location) |
| Modifier and Type | Method and Description |
|---|---|
static SnmpCollectionAgent |
create(Integer ifaceId,
IpInterfaceDao ifaceDao,
org.springframework.transaction.PlatformTransactionManager transMgr)
create
|
static SnmpCollectionAgent |
create(Integer ifaceId,
IpInterfaceDao ifaceDao,
org.springframework.transaction.PlatformTransactionManager transMgr,
String location) |
SnmpAgentConfig |
getAgentConfig()
getAgentConfig
|
int |
getSavedIfCount()
getSavedIfCount
|
Set<IfInfo> |
getSnmpInterfaceInfo(IfResourceType type)
getSnmpInterfaceInfo
|
String |
getSnmpInterfaceLabel(int ifIndex)
This method is used on StorageStrategy implementation when the resource index is associated to a
physical interface like frame relay resources.
|
String |
getSysObjectId()
getSysObjectId
|
protected void |
logCollectionParms() |
protected void |
logCompletion() |
void |
setSavedIfCount(int ifCount)
setSavedIfCount
|
void |
validateAgent()
validateAgent
|
getAddress, getAttribute, getAttributeNames, getForeignId, getForeignSource, getHostAddress, getLocationName, getNodeId, getNodeLabel, getSavedSysUpTime, getStorageResourcePath, isStoreByForeignSource, setAttribute, setSavedSysUpTime, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAddress, getAttribute, getAttributeNames, getForeignId, getForeignSource, getHostAddress, getLocationName, getNodeId, getNodeLabel, getSavedSysUpTime, getStorageResourcePath, isStoreByForeignSource, setAttribute, setSavedSysUpTimeprotected DefaultSnmpCollectionAgent(SnmpCollectionAgentService agentService, String location)
public static SnmpCollectionAgent create(Integer ifaceId, IpInterfaceDao ifaceDao, org.springframework.transaction.PlatformTransactionManager transMgr)
create
ifaceId - a Integer object.ifaceDao - a IpInterfaceDao object.transMgr - a PlatformTransactionManager object.CollectionAgent object.public static SnmpCollectionAgent create(Integer ifaceId, IpInterfaceDao ifaceDao, org.springframework.transaction.PlatformTransactionManager transMgr, String location)
public void setSavedIfCount(int ifCount)
setSavedIfCount
setSavedIfCount in interface SnmpCollectionAgentifCount - a int.public int getSavedIfCount()
getSavedIfCount
getSavedIfCount in interface SnmpCollectionAgentpublic String getSysObjectId()
getSysObjectId
getSysObjectId in interface SnmpCollectionAgentString object.protected void logCompletion()
logCompletion in class DefaultCollectionAgentprotected void logCollectionParms()
logCollectionParms in class DefaultCollectionAgentpublic void validateAgent()
throws CollectionInitializationException
validateAgent
validateAgent in interface SnmpCollectionAgentCollectionInitializationExceptionpublic SnmpAgentConfig getAgentConfig()
StorageStrategyServicegetAgentConfig
getAgentConfig in interface StorageStrategyServiceSnmpAgentConfig object.public Set<IfInfo> getSnmpInterfaceInfo(IfResourceType type)
getSnmpInterfaceInfo
getSnmpInterfaceInfo in interface SnmpCollectionAgenttype - a IfResourceType object.Set object.public String getSnmpInterfaceLabel(int ifIndex)
getSnmpInterfaceLabel in interface StorageStrategyServiceifIndex - a int.String object.Copyright © 2022. All rights reserved.