User Tools

Site Tools


infoblox_nios:capacity_report

This is an old revision of the document!


NIOS Capacity Report

If you see that “Other” has a very high value in capacity report, it is likely to be extensible attributes.

For objects that are only used for internal system operations, the report groups etc. Capacity Report on NIOS shows these under “Other” objects. That is to say, the total count of all these other objects are summed together to show the “Other” value.

You can get details with the following python script if you extract the onedb.xml file from teh Grid Backup (which says it is a .bak file but is actually a .tar.gz file)

import xml.etree.ElementTree as ET
from collections import Counter

def count_types(xml_file):
    # Parse XML file
    tree = ET.parse(xml_file)
    root = tree.getroot()

    # Collect all __type values
    types = []
    for obj in root.findall("OBJECT"):
        for prop in obj.findall("PROPERTY"):
            if prop.get("NAME") == "__type":
                value = prop.get("VALUE")
                # Remove the prefix ".com.infoblox." if it exists
                if value.startswith(".com.infoblox."):
                    value = value.replace(".com.infoblox.", "", 1)
                types.append(value)

    # Count occurrences
    counts = Counter(types)

    # Print results
    print("Unique __type values and their counts:\n")
    for t, c in counts.items():
        print(f"{t},{c}")

if __name__ == "__main__":
    # Replace 'data.xml' with the path to your file
    count_types("onedb.xml")
infoblox_nios/capacity_report.1757509267.txt.gz · Last modified: by bstafford