Class RrdMetaDataUtils


  • public abstract class RrdMetaDataUtils
    extends Object
    Provides static methods for interacting with .meta files.
    • Constructor Detail

      • RrdMetaDataUtils

        public RrdMetaDataUtils()
    • Method Detail

      • createMetaDataFile

        public static void createMetaDataFile​(String directory,
                                              String rrdName,
                                              Map<String,​String> attributeMappings)
        Writes a file with the attribute to rrd track mapping next to the rrd file. attributMappings = Key(attributeId, for example SNMP OID or JMX bean) = value(Name of data source, for example ifInOctets)
        Parameters:
        directory -
        rrdName -
        attributeMappings - a Map that represents the mapping of attributeId to rrd track names