public interface SnmpAgentConfigFactory
| Modifier and Type | Method and Description |
|---|---|
SnmpAgentConfig |
getAgentConfig(InetAddress address,
String location)
getAgentConfig
|
SnmpAgentConfig |
getAgentConfigFromProfile(SnmpProfile snmpProfile,
InetAddress address)
getAgentConfig for a given profile
|
List<SnmpProfile> |
getProfiles()
Get all the SNMP profiles from SNMP Config.
|
boolean |
removeFromDefinition(InetAddress ipAddress,
String location,
String module)
Remove an address from the definitions.
|
void |
saveAgentConfigAsDefinition(SnmpAgentConfig snmpAgentConfig,
String location,
String module)
Create definition and merge this definition into Current SNMP Config.
|
void |
saveDefinition(Definition definition)
Merge this definition into current config.
|
SnmpAgentConfig getAgentConfig(InetAddress address, String location)
getAgentConfig
address - a InetAddress object.location - a String object.SnmpAgentConfig object.SnmpAgentConfig getAgentConfigFromProfile(SnmpProfile snmpProfile, InetAddress address)
getAgentConfig for a given profile
snmpProfile - a @Definition object.address - a InetAddress object.SnmpAgentConfig object.void saveDefinition(Definition definition)
definition - Definition that has SNMP parameters associated with a specific IP address or Range.boolean removeFromDefinition(InetAddress ipAddress, String location, String module)
ipAddress - IP address that needs to be removed from definition.location - location at which this ipaddress belongs.module - module from which the definition is getting removed.void saveAgentConfigAsDefinition(SnmpAgentConfig snmpAgentConfig, String location, String module)
snmpAgentConfig - agentConfig that might have succeeded in SNMP walk/get.location - the location that this agent config belongs.module - module from which the definition is getting saved.List<SnmpProfile> getProfiles()
Copyright © 2022. All rights reserved.