Interface SnmpAgentConfigFactory

    • Method Detail

      • saveDefinition

        void saveDefinition​(Definition definition)
        Merge this definition into current config.
        Parameters:
        definition - Definition that has SNMP parameters associated with a specific IP address or Range.
      • removeFromDefinition

        boolean removeFromDefinition​(InetAddress ipAddress,
                                     String location,
                                     String module)
        Remove an address from the definitions.
        Parameters:
        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.
      • saveAgentConfigAsDefinition

        void saveAgentConfigAsDefinition​(SnmpAgentConfig snmpAgentConfig,
                                         String location,
                                         String module)
        Create definition and merge this definition into Current SNMP Config.
        Parameters:
        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.
      • getProfiles

        List<SnmpProfile> getProfiles()
        Get all the SNMP profiles from SNMP Config.
        Returns:
        a List of snmp profiles.