How to get the filter in the url for member

https://grid-master/wapi/v2.12/member:dns/ZG5zLm1lbWJlcl9kbnNfcHJvcGVydGllcyQw:inf
oblox.localdomain?_return_fields%2B=_service_status

 

How to filter the above url where service=DHCP 

Tagged:

Answers

  • In detail I need to get where "service": "DISK_USAGE"  using URL filter?

    "https://grid-master/wapi/v2.12/member?_return_fields%2B=node_info&_return_as_object=1"

    {"result":
    [{"_ref": "member/b25lLnZpcnR1YWxfbm9kZSQw:infoblox.localdomain",
    "config_addr_type": "IPV4",
    "host_name": "infoblox.localdomain",
    "node_info":
    [{"ha_status": "NOT_CONFIGURED",
    "hwid": "42017879A14D4EE9E59F6ABEC0E8F729",
    "hwmodel": "",
    "hwplatform": "VMWARE",
    "hwtype": "IB-V815",
    "lan2_physical_setting": {"auto_port_setting_enabled": true},
    "lan_ha_port_setting":
    {"ha_port_setting":
    {"auto_port_setting_enabled": true,
    "speed": "10"},
    "lan_port_setting": {"auto_port_setting_enabled": true}
    },
    "mgmt_physical_setting": {"auto_port_setting_enabled": true},
    "paid_nios": false,
    "physical_oid": "0",
    "service_status":
    [{"description": "Running",
    "service": "NODE_STATUS",
    "status": "WORKING"
    Infoblox Deployment Guide - Infoblox REST API - February 2022
    84
    },
    {"description": "2% - Primary drive usage is OK.",
    "service": "DISK_USAGE",
    "status": "WORKING"
    },
    {"description": "172.26.1.2",
    "service": "ENET_LAN",
    "status": "WORKING"
    },
    {"description": "7% - Database capacity usage is OK.",
    "service": "DB_OBJECT",
    "status": "WORKING"
    },
    {"service": "NTP_SYNC",
    "status": "INACTIVE"
    },
    …..
    {"service": "VPN_CERT",
    "status": "WORKING"
    }],
    "v6_mgmt_network_setting":
    {"auto_router_config_enabled": false,
    "enabled": false
    }}],
    ......}