User Tools

Site Tools


infoblox_nios:capacity_report

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
infoblox_nios:capacity_report [2025/09/10 12:59] bstaffordinfoblox_nios:capacity_report [2025/09/10 13:08] (current) bstafford
Line 5: Line 5:
  
    
-If the Grid Backup is uploaded to an Infoblox Support ticketInfoblox can see what objects are taking up "Other" and report backObjects starting with "oneand "reportingthat are related to grid configuration parameter and reporting objects which are considered under Other objects in general capacity report+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) 
 + 
 +<code>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")</code> 
 +     
 +===== Example ===== 
 +This show the mapping of DB objects to Capacity Report label 
 +<code>atp.atp_rule >> Threat Protection Rule 
 +atp.atp_rule_category >> Threat Protection Rule Category 
 +atp.atp_rule_param_def >> Threat Protection Rule Parameter Definitions 
 +atp.atp_rule_param_value >> Threat Protection Rule Parameters 
 +atp.atp_rule_template >> Threat Protection Rule Template 
 +atp.atp_ruleset >> Threat Protection Ruleset 
 +discovery.seed_router >> Router 
 +dns.alias_record >> Alias Record 
 +dns.bind_a >> A Record/Substitute (A Record) Rule/Substitute (IPv4 Address) Rule 
 +dns.bind_ns >> NS Record 
 +dns.bind_ptr >> PTR Record/Substitute (PTR Record) Rule 
 +dns.bind_soa >> Zone SOA 
 +dns.dhcp_fingerprint >> DHCP Fingerprints 
 +dns.dhcp_option_fingerprint >> DHCP Option Fingerprint 
 +dns.dhcp_range >> DHCP Range 
 +dns.dhcp_vendor_id_fingerprint >> DHCP Vendor Id Fingerprint 
 +dns.fixed_address >> Fixed Address 
 +dns.host >> Host 
 +dns.host_address >> Host Address 
 +dns.idns_lbdn >> DNS Traffic Control Load Balanced Domain Name 
 +dns.idns_lbdn_pattern >> DNS Traffic Control LBDN Pattern 
 +dns.idns_monitor_http >> DNS Traffic Control HTTP Monitor 
 +dns.idns_monitor_icmp >> DNS Traffic Control ICMP Monitor 
 +dns.idns_monitor_pdp >> DNS Traffic Control PDP Monitor 
 +dns.idns_monitor_sip >> DNS Traffic Control SIP Monitor 
 +dns.idns_monitor_snmp >> DNS Traffic Control SNMP Monitor 
 +dns.idns_pool >> DNS Traffic Control Pool 
 +dns.idns_pool_server >> DNS Traffic Control Server 
 +dns.member_dhcp_properties >> Member DHCP Properties 
 +dns.member_dns_properties >> Member DNS Properties 
 +dns.member_view_nat_item >> Member View NAT Record 
 +dns.member_views_item >> Member View 
 +dns.network >> Network 
 +dns.network_container >> Network Container 
 +dns.network_view >> Network View 
 +dns.ns_group >> Grid NS Group 
 +dns.ns_group_ext_primary >> NS Group External Primary 
 +dns.ns_group_ext_secondary_server >> NS Group External Secondary Server 
 +dns.ns_group_forward_stub_server >> NS Group Forward/Stub Server 
 +dns.ns_group_forwarding_server >> NS Group Forwarding Member 
 +dns.ns_group_grid_primary >> NS Group Grid Primary Server 
 +dns.ns_group_secondary_server >> NS Group Secondary Server 
 +dns.srg >> Shared Record Group 
 +dns.view >> View 
 +dns.vlan_view >> VLAN View 
 +dns.zone >> Zone 
 +dns.zone_forwarder >> Zone Forwarder 
 +dns.zone_forwarding_server >> Zone Forwarding Server 
 +one.ac_item >> Access Control Item 
 +one.admin >> Admin 
 +one.admin_group >> Admin Group 
 +one.cluster_dhcp_restart_properties >> Grid DHCP Properties 
 +one.cluster_dns_restart_properties >> Grid DNS Properties 
 +one.cluster_email >> Grid Email Address 
 +one.cluster_resolver >> Grid DNS Resolvers 
 +one.cluster_syslog_server >> Grid Syslog Server 
 +one.cluster_time >> Grid Time Properties 
 +one.ftp_user >> Ftp User 
 +one.member_bgp_anycast_as_info >> Member Anycast BGP Autonomous System Neighbor Address 
 +one.member_bgp_anycast_neighbor_info >> Member Anycast BGP Autonomous System Number 
 +one.member_tftp_properties >> Member TFTP Properties 
 +one.ntp_server >> Grid NTP Server 
 +one.role >> Role 
 +one.scheduled_backups >> Grid Scheduled Backups 
 +one.tftp_storage >> Grid TFTP Storage Properties 
 +one.upgrade_group >> Upgrade Group 
 +one.virtual_node >> Grid Member 
 +one.vnode_email >> Member Admin Email 
 +one.vnode_monitor >> Member Monitoring Properties 
 +one.vnode_resolver >> Member DNS Resolvers 
 +one.vnode_syslog_server >> Member Syslog Server 
 +one.vnode_time >> Member Time Properties</code>
infoblox_nios/capacity_report.1757509199.txt.gz · Last modified: by bstafford