Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API Examples

Reply

API for extracting the last discovered column for all IP Addresses

[ Edited ]
Member
Posts: 1
2211     1

Hi,

I want to retireve the last discovered column that appears under the UI

Data Management > IPAM >IPAM Home > List

 

Which API can be used to bring the IP address along with their respective last discovered dates.

 

 

Thanks,

Abhi

Re: API for extracting the last discovered column for all IP Addresses

Authority
Posts: 20
2211     1

i need the same where we put in alot of switches / routers for discovery. but then, we are not able to extract all list of ip addresses discovered under those switch/routers. 

 

anyone can advise? 

Re: API for extracting the last discovered column for all IP Addresses

Adviser
Posts: 179
2211     1

Hi,

 

You can try the following command:

 curl -k -u admin:infoblox -X GET "https://grid-master/wapi/v2.10/ipv4address?network=172.26.1.0/24&_return_fields%2B=discovered_data.last_discovered

This lists all the IP addresses in the 172.26.1.0/24 subnet along with the Last Discovered infomartion.

 

Hope this is helpful,

Krishna Vasudevan

Re: API for extracting the last discovered column for all IP Addresses

Member
Posts: 1
2211     1

Hi everyone,

 

  I exported all ipv4address to json format show the Last discovered ="1593748629"  What does it mean about "1593748629"

 

BR,

Kittitara.

 

Re: API for extracting the last discovered column for all IP Addresses

Posts: 1
2211     1

That call returns a date in unix epoch form ( seconds passed since 1/1/1970 ) : the number you reported is 

GMT: Friday 3 July 2020 03:57:09

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You