Class MibObj

    • Method Detail

      • getOid

        public String getOid()
        object identifier
      • setOid

        public void setOid​(String oid)
      • getInstance

        public String getInstance()
        instance identifier. Only valid instance identifier values are a positive integer value or the keyword "ifIndex" which indicates that the ifIndex of the interface is to be substituted for the instance value for each interface the oid is retrieved for.
      • setInstance

        public void setInstance​(String instance)
      • getAlias

        public String getAlias()
        a human readable name for the object (such as "ifOctetsIn"). NOTE: This value is used as the RRD file name and data source name. RRD only supports data source names up to 19 chars in length. If the SNMP data collector encounters an alias which exceeds 19 characters it will be truncated.
      • setAlias

        public void setAlias​(String alias)
      • getType

        public String getType()
        SNMP data type SNMP supported types: counter, gauge, timeticks, integer, octetstring, string. The SNMP type is mapped to one of two RRD supported data types COUNTER or GAUGE, or the string.properties file. The mapping is as follows: SNMP counter -> RRD COUNTER; SNMP gauge, timeticks, integer, octetstring -> RRD GAUGE; SNMP string -> String properties file
      • setType

        public void setType​(String type)
      • getMaxval

        public String getMaxval()
        Maximum Value. In order to correctly manage counter wraps, it is possible to add a maximum value for a collection. For example, a 32-bit counter would have a max value of 4294967295.
      • setMaxval

        public void setMaxval​(String maxval)
      • getMinval

        public String getMinval()
        Minimum Value. For completeness, adding the ability to use a minimum value.
      • setMinval

        public void setMinval​(String minval)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object